Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001438/0.001438, allocations: 176.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.424/1.424, allocations: 205.4 MB / 222.5 MB, free: 9.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006878/0.0006878, allocations: 94.33 kB / 270.9 MB, free: 8.348 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5586/0.5586, allocations: 43.56 MB / 362.7 MB, free: 51.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000391/0.0003912, allocations: 16 kB / 431.4 MB, free: 5.934 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1187, allocations: 58.85 MB / 490.2 MB, free: 11 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.2487/0.3674, allocations: 27.12 MB / 0.5052 GB, free: 31.25 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01575/0.3832, allocations: 6.363 MB / 0.5114 GB, free: 27 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006492/0.3897, allocations: 121.3 kB / 0.5116 GB, free: 26.98 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004164/0.3939, allocations: 1.293 MB / 0.5128 GB, free: 26.53 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01291/0.4069, allocations: 4.009 MB / 0.5167 GB, free: 24.9 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001747/0.4087, allocations: 367 kB / 0.5171 GB, free: 24.78 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004766/0.4134, allocations: 3.935 MB / 0.5209 GB, free: 23.44 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003278/0.4168, allocations: 2.275 MB / 0.5231 GB, free: 22.55 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001831/0.4186, allocations: 1.05 MB / 0.5242 GB, free: 22.21 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001943/0.4206, allocations: 1.732 MB / 0.5259 GB, free: 21.7 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004403/0.421, allocations: 134.9 kB / 0.526 GB, free: 21.7 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001526/0.4226, allocations: 0.647 MB / 0.5266 GB, free: 21.56 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001137/0.4237, allocations: 1.494 MB / 0.5281 GB, free: 21.11 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006996/0.4244, allocations: 0.7597 MB / 0.5288 GB, free: 20.55 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005526/0.4299, allocations: 4.726 MB / 0.5334 GB, free: 19.58 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/0.43, allocations: 2.969 kB / 0.5334 GB, free: 19.58 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.108e-06/0.43, allocations: 4 kB / 0.5334 GB, free: 19.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000217/0.4302, allocations: 3.938 kB / 0.5335 GB, free: 19.57 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1557 * Number of variables: 1557 Notification: Performance of Generate backend data structure: time 0.006383/0.4366, allocations: 3.44 MB / 0.5368 GB, free: 17.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.4367, allocations: 9.219 kB / 0.5368 GB, free: 17.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009922/0.4466, allocations: 3.16 MB / 0.5399 GB, free: 16.2 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004641/0.4513, allocations: 1.951 MB / 0.5418 GB, free: 14.96 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001615/0.4514, allocations: 198.9 kB / 0.542 GB, free: 14.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005642/0.452, allocations: 251.7 kB / 0.5422 GB, free: 14.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01706/0.4691, allocations: 10.39 MB / 0.5524 GB, free: 9.039 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.539e-05/0.4692, allocations: 25.84 kB / 0.5524 GB, free: 9.023 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003694/0.4696, allocations: 127.5 kB / 0.5525 GB, free: 8.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003771/0.4734, allocations: 2.557 MB / 0.555 GB, free: 7.695 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01674/0.4901, allocations: 9.416 MB / 0.5642 GB, free: 14.27 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05801/0.5482, allocations: 32.48 MB / 0.5959 GB, free: 12.94 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007198/0.5555, allocations: 3.367 MB / 0.5992 GB, free: 9.344 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00197/0.5575, allocations: 1.079 MB / 0.6003 GB, free: 8.266 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001361/0.5589, allocations: 1.308 MB / 0.6016 GB, free: 6.738 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.801e-05/0.559, allocations: 47.88 kB / 0.6016 GB, free: 6.684 MB / 426.7 MB Notification: Performance of pre-optimization done (n=187): time 1.062e-05/0.559, allocations: 0 / 0.6016 GB, free: 6.684 MB / 426.7 MB Notification: Performance of matching and sorting (n=193): time 0.02473/0.5837, allocations: 9.756 MB / 0.6111 GB, free: 12.81 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.246e-05/0.5839, allocations: 98.42 kB / 0.6112 GB, free: 12.69 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005104/0.589, allocations: 2.637 MB / 0.6138 GB, free: 10.04 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001504/0.5892, allocations: 49.7 kB / 0.6138 GB, free: 9.98 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002508/0.5917, allocations: 2.743 MB / 0.6165 GB, free: 7.199 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008958/0.5926, allocations: 0.7054 MB / 0.6172 GB, free: 6.484 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003367/0.593, allocations: 96 kB / 0.6173 GB, free: 6.391 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004905/0.5935, allocations: 0.5247 MB / 0.6178 GB, free: 5.859 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003117/0.5966, allocations: 1.548 MB / 0.6193 GB, free: 4.305 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006497/0.6031, allocations: 4.458 MB / 0.6237 GB, free: 14.4 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005046/0.6082, allocations: 2.644 MB / 0.6263 GB, free: 11.75 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001167/0.6083, allocations: 35.95 kB / 0.6263 GB, free: 11.71 MB / 458.7 MB Notification: Performance of matching and sorting (n=661) (initialization): time 0.01273/0.6211, allocations: 5.917 MB / 0.6321 GB, free: 5.789 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001719/0.6213, allocations: 49.56 kB / 0.6321 GB, free: 5.742 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002393/0.6216, allocations: 104 kB / 0.6322 GB, free: 5.641 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005704/0.6221, allocations: 188.8 kB / 0.6324 GB, free: 5.453 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003942/0.6261, allocations: 1.1 MB / 0.6335 GB, free: 4.352 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001895/0.628, allocations: 1.686 MB / 0.6351 GB, free: 2.535 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003964/0.632, allocations: 220.2 kB / 0.6353 GB, free: 2.32 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000922/0.6329, allocations: 300 kB / 0.6356 GB, free: 2.027 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 27 (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 (609): * Single equations (assignments): 602 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006369/0.6393, allocations: 2.028 MB / 0.6376 GB, free: 15.98 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008364/0.6402, allocations: 248.7 kB / 0.6378 GB, free: 15.73 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004696/0.6449, allocations: 2.538 MB / 0.6403 GB, free: 13.17 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.692e-05/0.645, allocations: 27.91 kB / 0.6403 GB, free: 13.15 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.645, allocations: 3.938 kB / 0.6403 GB, free: 13.14 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.547e-05/0.645, allocations: 3.984 kB / 0.6404 GB, free: 13.14 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01724/0.6622, allocations: 8.145 MB / 0.6483 GB, free: 4.797 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.152e-05/0.6623, allocations: 8 kB / 0.6483 GB, free: 4.789 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001042/0.6634, allocations: 251.6 kB / 0.6486 GB, free: 4.543 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001915/0.6636, allocations: 64.86 kB / 0.6486 GB, free: 4.477 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001355/0.6637, allocations: 39.98 kB / 0.6487 GB, free: 4.438 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001565/0.6653, allocations: 1.507 MB / 0.6501 GB, free: 2.797 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.466e-05/0.6653, allocations: 15.94 kB / 0.6501 GB, free: 2.781 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005854/0.6712, allocations: 4.033 MB / 0.6541 GB, free: 14.59 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001528/0.6727, allocations: 0.5056 MB / 0.6546 GB, free: 14.06 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006362/0.6734, allocations: 35.98 kB / 0.6546 GB, free: 14.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/0.6745, allocations: 59.91 kB / 0.6547 GB, free: 13.96 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000205/0.6748, allocations: 128.6 kB / 0.6548 GB, free: 13.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001332/0.6749, allocations: 68 kB / 0.6549 GB, free: 13.77 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003561/0.6785, allocations: 1.608 MB / 0.6564 GB, free: 12.16 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6785, allocations: 0 / 0.6564 GB, free: 12.16 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00456/0.683, allocations: 0.8164 MB / 0.6572 GB, free: 11.34 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * 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 (141): * Single equations (assignments): 134 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004773/0.6835, allocations: 178.8 kB / 0.6574 GB, free: 11.15 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006757/0.6903, allocations: 3.869 MB / 0.6612 GB, free: 7.301 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/0.6903, allocations: 4 kB / 0.6612 GB, free: 7.297 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001821/0.6922, allocations: 1.241 MB / 0.6624 GB, free: 6.047 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002565/0.6947, allocations: 330.6 kB / 0.6627 GB, free: 5.727 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02063/0.7154, allocations: 10.88 MB / 0.6733 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005115/0.7206, allocations: 3.202 MB / 0.6765 GB, free: 7.438 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008587/0.7215, allocations: 235.3 kB / 0.6767 GB, free: 7.207 MB / 0.4948 GB Notification: Performance of SimCode: time 1.002e-06/0.7215, allocations: 4 kB / 0.6767 GB, free: 7.203 MB / 0.4948 GB Notification: Performance of Templates: time 0.3427/1.064, allocations: 65.63 MB / 0.7408 GB, free: 127.2 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches