Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001198/0.001198, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001222/0.001222, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2212/0.2212, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 79.86 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1286, allocations: 62.44 MB / 481.5 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01291/0.1416, allocations: 12.26 MB / 493.7 MB, free: 8.207 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008168/0.1498, allocations: 3.866 MB / 497.6 MB, free: 4.328 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001234/0.151, allocations: 59.88 kB / 497.6 MB, free: 4.27 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002454/0.1535, allocations: 1.315 MB / 499 MB, free: 2.949 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003577/0.1571, allocations: 1.724 MB / 0.4889 GB, free: 1.223 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009793/0.1581, allocations: 415.2 kB / 0.4893 GB, free: 0.8164 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004408/0.1625, allocations: 3.59 MB / 0.4928 GB, free: 13.22 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00268/0.1652, allocations: 2.021 MB / 0.4948 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001882/0.1671, allocations: 1.191 MB / 0.496 GB, free: 9.965 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002227/0.1694, allocations: 1.74 MB / 0.4977 GB, free: 8.219 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004761/0.1698, allocations: 236 kB / 0.4979 GB, free: 7.988 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001535/0.1714, allocations: 0.8074 MB / 0.4987 GB, free: 7.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001482/0.1729, allocations: 1.57 MB / 0.5002 GB, free: 5.605 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001749/0.1746, allocations: 1.863 MB / 0.5021 GB, free: 3.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2557/0.4304, allocations: 6.057 MB / 0.508 GB, free: 19.79 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.4304, allocations: 0 / 0.508 GB, free: 19.79 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4304, allocations: 2.656 kB / 0.508 GB, free: 19.79 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002938/0.4307, allocations: 0 / 0.508 GB, free: 19.79 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1514 * Number of variables: 1514 Notification: Performance of Generate backend data structure: time 0.01282/0.4436, allocations: 4.02 MB / 0.5119 GB, free: 18.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.4436, allocations: 11.09 kB / 0.5119 GB, free: 18.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0112/0.4548, allocations: 3.077 MB / 0.5149 GB, free: 17.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006472/0.4613, allocations: 1.902 MB / 0.5168 GB, free: 17.33 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000353/0.4617, allocations: 189.4 kB / 0.5169 GB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001857/0.4636, allocations: 250.1 kB / 0.5172 GB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02156/0.4852, allocations: 10.18 MB / 0.5271 GB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001853/0.4854, allocations: 21.97 kB / 0.5272 GB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001144/0.4866, allocations: 119 kB / 0.5273 GB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003862/0.4904, allocations: 2.466 MB / 0.5297 GB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01557/0.506, allocations: 9.352 MB / 0.5388 GB, free: 9.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04426/0.5503, allocations: 31.44 MB / 0.5695 GB, free: 9.32 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005719/0.5561, allocations: 3.356 MB / 0.5728 GB, free: 5.742 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001573/0.5577, allocations: 1.073 MB / 0.5738 GB, free: 4.668 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001254/0.559, allocations: 1.311 MB / 0.5751 GB, free: 3.145 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.588e-05/0.559, allocations: 43.88 kB / 0.5752 GB, free: 3.094 MB / 414.1 MB Notification: Performance of pre-optimization done (n=185): time 4.889e-06/0.559, allocations: 0 / 0.5752 GB, free: 3.094 MB / 414.1 MB Notification: Performance of matching and sorting (n=191): time 0.02011/0.5792, allocations: 9.099 MB / 0.584 GB, free: 9.93 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.629e-05/0.5793, allocations: 76.08 kB / 0.5841 GB, free: 9.844 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004951/0.5842, allocations: 2.598 MB / 0.5866 GB, free: 7.227 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001843/0.5844, allocations: 49.7 kB / 0.5867 GB, free: 7.172 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002112/0.5865, allocations: 2.664 MB / 0.5893 GB, free: 4.516 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008334/0.5874, allocations: 0.702 MB / 0.59 GB, free: 3.82 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001612/0.589, allocations: 0.9668 MB / 0.5909 GB, free: 2.844 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.5891, allocations: 305.1 kB / 0.5912 GB, free: 2.543 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002503/0.5917, allocations: 1.552 MB / 0.5927 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004649/0.5963, allocations: 4.383 MB / 0.597 GB, free: 11.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008326/0.6047, allocations: 6.568 MB / 0.6034 GB, free: 3.695 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.731e-05/0.6048, allocations: 36 kB / 0.6035 GB, free: 3.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01141/0.6162, allocations: 5.85 MB / 0.6092 GB, free: 14.19 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.343e-05/0.6164, allocations: 52.16 kB / 0.6092 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002015/0.6166, allocations: 104 kB / 0.6093 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004333/0.617, allocations: 172.8 kB / 0.6095 GB, free: 13.86 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003391/0.6204, allocations: 1.068 MB / 0.6105 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001665/0.6221, allocations: 1.799 MB / 0.6123 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002929/0.625, allocations: 204 kB / 0.6125 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000419/0.6255, allocations: 298.6 kB / 0.6128 GB, free: 10.37 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 453 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (596): * Single equations (assignments): 589 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003276/0.6288, allocations: 1.992 MB / 0.6147 GB, free: 8.367 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000419/0.6292, allocations: 244.8 kB / 0.6149 GB, free: 8.125 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003458/0.6326, allocations: 2.526 MB / 0.6174 GB, free: 5.57 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.077e-05/0.6327, allocations: 24 kB / 0.6174 GB, free: 5.547 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.6327, allocations: 0 / 0.6174 GB, free: 5.547 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.346e-05/0.6327, allocations: 7.969 kB / 0.6174 GB, free: 5.539 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01391/0.6466, allocations: 7.938 MB / 0.6252 GB, free: 13.44 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-05/0.6467, allocations: 15.19 kB / 0.6252 GB, free: 13.43 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/0.6477, allocations: 247.6 kB / 0.6254 GB, free: 13.19 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002113/0.648, allocations: 56.83 kB / 0.6255 GB, free: 13.13 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001378/0.6481, allocations: 38.42 kB / 0.6255 GB, free: 13.09 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001515/0.6496, allocations: 1.638 MB / 0.6271 GB, free: 11.32 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.154e-05/0.6497, allocations: 16 kB / 0.6272 GB, free: 11.3 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005364/0.655, allocations: 4.018 MB / 0.6311 GB, free: 7.137 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006899/0.6557, allocations: 297.9 kB / 0.6314 GB, free: 6.824 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004716/0.6562, allocations: 35.98 kB / 0.6314 GB, free: 6.789 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008491/0.6571, allocations: 55.95 kB / 0.6314 GB, free: 6.734 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002053/0.6573, allocations: 123.1 kB / 0.6316 GB, free: 6.617 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001155/0.6574, allocations: 59.98 kB / 0.6316 GB, free: 6.559 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002242/0.6597, allocations: 1.603 MB / 0.6332 GB, free: 4.945 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6597, allocations: 1.312 kB / 0.6332 GB, free: 4.945 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003767/0.6634, allocations: 0.7761 MB / 0.6339 GB, free: 4.172 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 2 (prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (139): * Single equations (assignments): 132 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003833/0.6638, allocations: 181.2 kB / 0.6341 GB, free: 3.988 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005589/0.6694, allocations: 3.886 MB / 0.6379 GB, free: 124 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.181e-05/0.6695, allocations: 4 kB / 0.6379 GB, free: 120 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001618/0.6711, allocations: 1.234 MB / 0.6391 GB, free: 14.87 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00168/0.6728, allocations: 344.4 kB / 0.6395 GB, free: 14.55 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01364/0.6864, allocations: 8.411 MB / 0.6477 GB, free: 5.992 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003503/0.69, allocations: 3.133 MB / 0.6507 GB, free: 2.832 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003586/0.6936, allocations: 1.71 MB / 0.6524 GB, free: 1.117 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004464/0.694, allocations: 187.4 kB / 0.6526 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of SimCode: time 2.064e-06/0.694, allocations: 4 kB / 0.6526 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of Templates: time 0.04125/0.7353, allocations: 19.21 MB / 0.6713 GB, free: 13.93 MB / 0.5137 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches