Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 105.4 kB / 18.4 MB, free: 4.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000984/0.000984, allocations: 192 kB / 19.34 MB, free: 3.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 222.9 MB / 243 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2102/0.2102, allocations: 44.18 MB / 337.4 MB, free: 2.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 60.31 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1197, allocations: 60.83 MB / 470.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.009349/0.1291, allocations: 8.66 MB / 479.4 MB, free: 4.969 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006838/0.136, allocations: 3.452 MB / 482.8 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001103/0.1371, allocations: 51.88 kB / 482.9 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00245/0.1396, allocations: 1.374 MB / 484.2 MB, free: 80 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002143/0.1418, allocations: 0.9261 MB / 485.2 MB, free: 15.15 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.1429, allocations: 0.5108 MB / 485.7 MB, free: 14.64 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001904/0.1448, allocations: 1.687 MB / 487.4 MB, free: 12.95 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001633/0.1464, allocations: 1.655 MB / 489 MB, free: 11.25 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007648/0.1472, allocations: 0.6697 MB / 489.7 MB, free: 10.58 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009451/0.1482, allocations: 0.888 MB / 490.6 MB, free: 9.688 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001737/0.1483, allocations: 140 kB / 490.7 MB, free: 9.551 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009407/0.1493, allocations: 0.589 MB / 491.3 MB, free: 8.961 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005898/0.1499, allocations: 0.7287 MB / 492 MB, free: 8.23 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007152/0.1506, allocations: 0.8276 MB / 492.9 MB, free: 7.398 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002123/0.1527, allocations: 2.492 MB / 495.4 MB, free: 4.898 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1528, allocations: 0 / 495.4 MB, free: 4.898 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.1528, allocations: 0 / 495.4 MB, free: 4.898 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.275e-05/0.1528, allocations: 0 / 495.4 MB, free: 4.898 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.003288/0.1561, allocations: 2.009 MB / 497.4 MB, free: 2.832 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.1561, allocations: 11.97 kB / 497.4 MB, free: 2.82 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009666/0.1571, allocations: 262.6 kB / 497.6 MB, free: 2.562 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002034/0.1592, allocations: 1.094 MB / 498.7 MB, free: 1.426 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.189e-05/0.1593, allocations: 94.58 kB / 498.8 MB, free: 1.332 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00019/0.1594, allocations: 120 kB / 498.9 MB, free: 1.215 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004926/0.1644, allocations: 2.992 MB / 0.4902 GB, free: 14.03 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.42e-05/0.1644, allocations: 11.84 kB / 0.4902 GB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001286/0.1646, allocations: 63.95 kB / 0.4902 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005809/0.1652, allocations: 434 kB / 0.4907 GB, free: 13.53 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004175/0.1694, allocations: 2.167 MB / 0.4928 GB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01216/0.1815, allocations: 10.68 MB / 0.5032 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2632/0.4447, allocations: 1.225 MB / 0.5044 GB, free: 49.78 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006247/0.4454, allocations: 406.9 kB / 0.5048 GB, free: 49.76 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003955/0.4493, allocations: 2.998 MB / 0.5077 GB, free: 48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.4494, allocations: 41.12 kB / 0.5077 GB, free: 47.95 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 2.295e-06/0.4494, allocations: 3.828 kB / 0.5077 GB, free: 47.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.01056/0.46, allocations: 3.745 MB / 0.5114 GB, free: 46.61 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.46, allocations: 87.22 kB / 0.5115 GB, free: 46.51 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001484/0.4615, allocations: 1.189 MB / 0.5126 GB, free: 46.04 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.405e-05/0.4616, allocations: 35.48 kB / 0.5127 GB, free: 46 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005293/0.4621, allocations: 0.9365 MB / 0.5136 GB, free: 45.29 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/0.4622, allocations: 220.5 kB / 0.5138 GB, free: 45.12 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003322/0.4626, allocations: 319.1 kB / 0.5141 GB, free: 44.96 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.884e-05/0.4626, allocations: 306.3 kB / 0.5144 GB, free: 44.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006436/0.4633, allocations: 422.3 kB / 0.5148 GB, free: 44.54 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001261/0.4646, allocations: 1.256 MB / 0.516 GB, free: 43.28 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001686/0.4663, allocations: 1.809 MB / 0.5178 GB, free: 41.72 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.832e-05/0.4663, allocations: 9.156 kB / 0.5178 GB, free: 41.72 MB / 382.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002775/0.4691, allocations: 1.722 MB / 0.5195 GB, free: 41.03 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.314e-05/0.4691, allocations: 17.88 kB / 0.5195 GB, free: 41.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.652e-05/0.4692, allocations: 30.25 kB / 0.5195 GB, free: 41.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002265/0.4694, allocations: 91.92 kB / 0.5196 GB, free: 41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/0.4705, allocations: 359.2 kB / 0.52 GB, free: 40.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001231/0.4717, allocations: 1.875 MB / 0.5218 GB, free: 39.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000934/0.4726, allocations: 69.75 kB / 0.5219 GB, free: 39.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.487e-05/0.4728, allocations: 88.59 kB / 0.5219 GB, free: 39.23 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 134 * Number of states: 0 () * Number of discrete variables: 27 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[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 (194): * Single equations (assignments): 193 * Array equations: 0 * 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.0008079/0.4736, allocations: 0.642 MB / 0.5226 GB, free: 38.88 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/0.4737, allocations: 110.5 kB / 0.5227 GB, free: 38.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00108/0.4748, allocations: 0.7117 MB / 0.5234 GB, free: 38.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.4748, allocations: 9.438 kB / 0.5234 GB, free: 38.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.4748, allocations: 1.438 kB / 0.5234 GB, free: 38.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/0.4748, allocations: 3.891 kB / 0.5234 GB, free: 38.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002991/0.4778, allocations: 2.239 MB / 0.5256 GB, free: 37.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.4779, allocations: 8.031 kB / 0.5256 GB, free: 37.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003502/0.4782, allocations: 97.98 kB / 0.5257 GB, free: 37.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001559/0.4784, allocations: 63.3 kB / 0.5257 GB, free: 37.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.701e-05/0.4784, allocations: 11.97 kB / 0.5258 GB, free: 37.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001125/0.4795, allocations: 1.942 MB / 0.5276 GB, free: 35.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.4796, allocations: 7.875 kB / 0.5277 GB, free: 35.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001193/0.4808, allocations: 1.097 MB / 0.5287 GB, free: 35.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002083/0.481, allocations: 180.3 kB / 0.5289 GB, free: 34.9 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.912e-05/0.4811, allocations: 15.72 kB / 0.5289 GB, free: 34.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003415/0.4814, allocations: 25.53 kB / 0.5289 GB, free: 34.88 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.693e-05/0.4815, allocations: 47.7 kB / 0.529 GB, free: 34.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.088e-05/0.4815, allocations: 23.44 kB / 0.529 GB, free: 34.86 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008138/0.4824, allocations: 0.7586 MB / 0.5297 GB, free: 34.46 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.4824, allocations: 0 / 0.5297 GB, free: 34.46 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001373/0.4837, allocations: 306.5 kB / 0.53 GB, free: 34.42 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001939/0.4839, allocations: 127.6 kB / 0.5302 GB, free: 34.31 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001384/0.4853, allocations: 1.103 MB / 0.5312 GB, free: 33.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.4854, allocations: 3.688 kB / 0.5312 GB, free: 33.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004106/0.4858, allocations: 409.8 kB / 0.5316 GB, free: 33.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008775/0.4867, allocations: 185.2 kB / 0.5318 GB, free: 33.29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003328/0.49, allocations: 2.812 MB / 0.5346 GB, free: 30.42 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008909/0.4909, allocations: 1.456 MB / 0.536 GB, free: 28.94 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007377/0.4917, allocations: 407.7 kB / 0.5364 GB, free: 28.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001284/0.4918, allocations: 79.42 kB / 0.5364 GB, free: 28.46 MB / 382.1 MB Notification: Performance of SimCode: time 1.183e-06/0.4918, allocations: 0 / 0.5364 GB, free: 28.46 MB / 382.1 MB Notification: Performance of Templates: time 0.01791/0.5097, allocations: 10.44 MB / 0.5466 GB, free: 18.12 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches