Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.r_0.1.|bodyOfConstraint.r_0.2.|bodyOfConstraint.r_0.3.|bodyOfConstraint.v_0.1.|bodyOfConstraint.v_0.2.|bodyOfConstraint.v_0.3.|jointPrismatic_x.s|jointPrismatic_x.v|jointPrismatic_y.s|jointPrismatic_y.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.r_0.1.|bodyOfConstraint.r_0.2.|bodyOfConstraint.r_0.3.|bodyOfConstraint.v_0.1.|bodyOfConstraint.v_0.2.|bodyOfConstraint.v_0.3.|jointPrismatic_x.s|jointPrismatic_x.v|jointPrismatic_y.s|jointPrismatic_y.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001276/0.001276, allocations: 111.1 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001338/0.001338, allocations: 210.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 63.89 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1974/0.1986, allocations: 50.54 MB / 409.9 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint): time 0.0192/0.2179, allocations: 19.28 MB / 429.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01113/0.229, allocations: 6.255 MB / 435.5 MB, free: 7.953 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002338/0.2314, allocations: 143.6 kB / 435.6 MB, free: 7.812 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01015/0.2415, allocations: 6.172 MB / 441.8 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00489/0.2464, allocations: 2.595 MB / 444.4 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004296/0.2508, allocations: 2.533 MB / 446.9 MB, free: 12.48 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006806/0.2576, allocations: 6.87 MB / 453.8 MB, free: 5.598 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007566/0.2652, allocations: 8.245 MB / 462 MB, free: 13.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00272/0.2679, allocations: 2.847 MB / 464.9 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003769/0.2717, allocations: 3.68 MB / 468.5 MB, free: 6.703 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009538/0.2726, allocations: 0.6602 MB / 469.2 MB, free: 6.043 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002966/0.2756, allocations: 1.951 MB / 471.2 MB, free: 4.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002694/0.2783, allocations: 3.429 MB / 474.6 MB, free: 0.6523 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003176/0.2815, allocations: 3.877 MB / 478.5 MB, free: 12.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01029/0.2918, allocations: 12.37 MB / 490.8 MB, free: 356 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2918, allocations: 7.938 kB / 490.8 MB, free: 348 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2918, allocations: 0 / 490.8 MB, free: 348 kB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001228/0.292, allocations: 0 / 490.8 MB, free: 348 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2429 * Number of variables: 2429 Notification: Performance of Generate backend data structure: time 0.01266/0.3046, allocations: 8.12 MB / 499 MB, free: 8.137 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.3047, allocations: 8.031 kB / 499 MB, free: 8.129 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008263/0.3129, allocations: 2.616 MB / 0.4898 GB, free: 5.5 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007719/0.3207, allocations: 4.141 MB / 0.4939 GB, free: 1.277 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002853/0.321, allocations: 443.4 kB / 0.4943 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001208/0.3222, allocations: 0.6792 MB / 0.495 GB, free: 168 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02652/0.3487, allocations: 17.3 MB / 0.5119 GB, free: 13.95 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001612/0.3489, allocations: 71.36 kB / 0.5119 GB, free: 13.88 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006508/0.3496, allocations: 267.8 kB / 0.5122 GB, free: 13.62 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003696/0.3533, allocations: 2.78 MB / 0.5149 GB, free: 10.83 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02574/0.379, allocations: 14.38 MB / 0.5289 GB, free: 12.43 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3618/0.7408, allocations: 63.85 MB / 0.5913 GB, free: 73.06 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01994/0.7607, allocations: 7.719 MB / 0.5988 GB, free: 65.21 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003062/0.7638, allocations: 3.45 MB / 0.6022 GB, free: 61.76 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01443/0.7783, allocations: 14.72 MB / 0.6166 GB, free: 46.62 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.7783, allocations: 56.5 kB / 0.6166 GB, free: 46.56 MB / 462.1 MB Notification: Performance of pre-optimization done (n=247): time 5.009e-06/0.7783, allocations: 0 / 0.6166 GB, free: 46.56 MB / 462.1 MB Notification: Performance of matching and sorting (n=293): time 0.1783/0.9566, allocations: 54.1 MB / 0.6695 GB, free: 8.223 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.486e-05/0.9567, allocations: 154.5 kB / 0.6696 GB, free: 8.039 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006657/0.9634, allocations: 5.651 MB / 0.6751 GB, free: 2.41 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003078/0.9637, allocations: 65.7 kB / 0.6752 GB, free: 2.34 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00287/0.9666, allocations: 4.781 MB / 0.6798 GB, free: 13.56 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001006/0.9676, allocations: 1.116 MB / 0.6809 GB, free: 12.44 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002313/0.9699, allocations: 1.753 MB / 0.6827 GB, free: 10.67 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.899e-05/0.97, allocations: 309.1 kB / 0.6829 GB, free: 10.37 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005495/0.9755, allocations: 3.995 MB / 0.6868 GB, free: 6.363 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008566/0.9841, allocations: 9.091 MB / 0.6957 GB, free: 10.75 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01538/0.9995, allocations: 14.04 MB / 0.7094 GB, free: 10.2 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.002e-05/0.9996, allocations: 52 kB / 0.7095 GB, free: 10.15 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1137) (initialization): time 0.07109/1.071, allocations: 24.04 MB / 0.733 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.313e-05/1.071, allocations: 80 kB / 0.733 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001545/1.071, allocations: 180 kB / 0.7332 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01603/1.087, allocations: 5.373 MB / 0.7385 GB, free: 12.37 MB / 0.5451 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006074/1.093, allocations: 1.985 MB / 0.7404 GB, free: 10.38 MB / 0.5451 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2192/1.312, allocations: 36.04 MB / 0.7756 GB, free: 177.1 MB / 0.5451 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006543/1.319, allocations: 0.5914 MB / 0.7762 GB, free: 177 MB / 0.5451 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009774/1.32, allocations: 0.5027 MB / 0.7767 GB, free: 176.9 MB / 0.5451 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 817 * Number of states: 0 () * Number of discrete variables: 67 (freeMotionScalarInit.arrow.arrow.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,sensorConstraintRelative.arrow.twoHeadedArrow,sensorConstraintRelative.arrow.headAtOrigin,freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],springOfConstraint.color[3],springOfConstraint.color[2],springOfConstraint.color[1],springOfConstraint.massColor[3],springOfConstraint.massColor[2],springOfConstraint.massColor[1],springOfJoint.color[3],springOfJoint.color[2],springOfJoint.color[1],springOfJoint.massColor[3],springOfJoint.massColor[2],springOfJoint.massColor[1],bodyOfConstraint.color[3],bodyOfConstraint.color[2],bodyOfConstraint.color[1],bodyOfConstraint.body.sphereColor[3],bodyOfConstraint.body.sphereColor[2],bodyOfConstraint.body.sphereColor[1],bodyOfConstraint.frameTranslation.color[3],bodyOfConstraint.frameTranslation.color[2],bodyOfConstraint.frameTranslation.color[1],bodyOfJoint.color[3],bodyOfJoint.color[2],bodyOfJoint.color[1],bodyOfJoint.body.sphereColor[3],bodyOfJoint.body.sphereColor[2],bodyOfJoint.body.sphereColor[1],bodyOfJoint.frameTranslation.color[3],bodyOfJoint.frameTranslation.color[2],bodyOfJoint.frameTranslation.color[1],sensorConstraintRelative.arrowColor[3],sensorConstraintRelative.arrowColor[2],sensorConstraintRelative.arrowColor[1],constraint.sphereColor[3],constraint.sphereColor[2],constraint.sphereColor[1],jointPrismatic_y.boxColor[3],jointPrismatic_y.boxColor[2],jointPrismatic_y.boxColor[1],jointPrismatic_x.boxColor[3],jointPrismatic_x.boxColor[2],jointPrismatic_x.boxColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1044): * Single equations (assignments): 1031 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,4,60.0%), (1,3,100.0%), (1,3,100.0%), (4,9,100.0%), (4,9,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,9)} Notification: Performance of prepare postOptimizeDAE: time 0.004066/1.324, allocations: 3.24 MB / 0.7798 GB, free: 175.7 MB / 0.5451 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007652/1.325, allocations: 0.5053 MB / 0.7803 GB, free: 175.7 MB / 0.5451 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0559/1.381, allocations: 17.41 MB / 0.7973 GB, free: 167.6 MB / 0.5451 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.379e-05/1.381, allocations: 15.95 kB / 0.7973 GB, free: 167.6 MB / 0.5451 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.573e-06/1.381, allocations: 0 / 0.7973 GB, free: 167.6 MB / 0.5451 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008487/1.382, allocations: 0.5363 MB / 0.7979 GB, free: 167.3 MB / 0.5451 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006492/1.382, allocations: 59.09 kB / 0.7979 GB, free: 167.2 MB / 0.5451 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002875/1.385, allocations: 299.2 kB / 0.7982 GB, free: 167 MB / 0.5451 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009509/1.386, allocations: 221.6 kB / 0.7984 GB, free: 166.7 MB / 0.5451 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01498/1.401, allocations: 9.549 MB / 0.8077 GB, free: 157.3 MB / 0.5451 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009875/1.411, allocations: 9.724 MB / 0.8172 GB, free: 147.8 MB / 0.5451 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002998/1.414, allocations: 3.168 MB / 0.8203 GB, free: 144.6 MB / 0.5451 GB Notification: Performance of sorting global known variables: time 0.003626/1.418, allocations: 3.503 MB / 0.8237 GB, free: 141.1 MB / 0.5451 GB Notification: Performance of Backend: time 3.31e-07/1.418, allocations: 3.656 kB / 0.8237 GB, free: 141.1 MB / 0.5451 GB Notification: Performance of simCode: created initialization part: time 0.01544/1.433, allocations: 8.731 MB / 0.8323 GB, free: 132.5 MB / 0.5451 GB Notification: Performance of SimCode: time 0.01652/1.45, allocations: 14.96 MB / 0.8469 GB, free: 117.7 MB / 0.5451 GB Notification: Performance of Templates: time 0.1154/1.565, allocations: 97.68 MB / 0.9423 GB, free: 20.18 MB / 0.5451 GB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Constraints/PrismaticConstraint/PrismaticConstraint.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches