Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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 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 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_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_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.00112/0.00112, allocations: 111.1 kB / 17.08 MB, free: 5.82 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.001093/0.001093, allocations: 197.3 kB / 18.01 MB, free: 4.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.416/1.416, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2152/0.2152, allocations: 43.53 MB / 314.8 MB, free: 468 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 63.89 kB / 442.5 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1151, allocations: 57.8 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.009767/0.1249, allocations: 8.688 MB / 0.497 GB, free: 3.066 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006705/0.1316, allocations: 3.449 MB / 0.5004 GB, free: 15.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001458/0.1331, allocations: 43.88 kB / 0.5004 GB, free: 15.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002642/0.1358, allocations: 1.371 MB / 0.5018 GB, free: 14.19 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002566/0.1384, allocations: 0.9456 MB / 0.5027 GB, free: 13.24 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.1395, allocations: 0.5108 MB / 0.5032 GB, free: 12.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002198/0.1418, allocations: 1.71 MB / 0.5049 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001732/0.1435, allocations: 1.659 MB / 0.5065 GB, free: 9.316 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008773/0.1444, allocations: 0.6776 MB / 0.5072 GB, free: 8.637 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001001/0.1454, allocations: 0.8879 MB / 0.508 GB, free: 7.746 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002048/0.1456, allocations: 144 kB / 0.5082 GB, free: 7.605 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001011/0.1466, allocations: 0.6007 MB / 0.5087 GB, free: 7.004 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006108/0.1473, allocations: 0.7404 MB / 0.5095 GB, free: 6.262 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007318/0.148, allocations: 0.8276 MB / 0.5103 GB, free: 5.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002372/0.1504, allocations: 2.511 MB / 0.5127 GB, free: 2.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1504, allocations: 0 / 0.5127 GB, free: 2.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1504, allocations: 0 / 0.5127 GB, free: 2.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.172e-05/0.1505, allocations: 0 / 0.5127 GB, free: 2.91 MB / 398.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.003437/0.1539, allocations: 2.009 MB / 0.5147 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.1539, allocations: 11.89 kB / 0.5147 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001088/0.155, allocations: 266.5 kB / 0.515 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002145/0.1572, allocations: 1.141 MB / 0.5161 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.744e-05/0.1573, allocations: 98.58 kB / 0.5162 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001871/0.1575, allocations: 124 kB / 0.5163 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005267/0.1628, allocations: 2.992 MB / 0.5192 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.39e-05/0.1628, allocations: 11.92 kB / 0.5192 GB, free: 11.97 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001272/0.163, allocations: 51.98 kB / 0.5193 GB, free: 11.92 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005971/0.1636, allocations: 438 kB / 0.5197 GB, free: 11.49 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004586/0.1682, allocations: 2.163 MB / 0.5218 GB, free: 9.316 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2542/0.4224, allocations: 10.69 MB / 0.5322 GB, free: 33.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004224/0.4267, allocations: 1.227 MB / 0.5334 GB, free: 33.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006211/0.4273, allocations: 411.3 kB / 0.5338 GB, free: 33.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004003/0.4314, allocations: 2.995 MB / 0.5368 GB, free: 32.2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.4314, allocations: 36.28 kB / 0.5368 GB, free: 32.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=51): time 3.788e-06/0.4314, allocations: 1.25 kB / 0.5368 GB, free: 32.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.01205/0.4435, allocations: 3.771 MB / 0.5405 GB, free: 31.31 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/0.4436, allocations: 88.56 kB / 0.5406 GB, free: 31.22 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001666/0.4452, allocations: 1.203 MB / 0.5417 GB, free: 31.03 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.239e-05/0.4453, allocations: 34.83 kB / 0.5418 GB, free: 31 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005448/0.4459, allocations: 0.94 MB / 0.5427 GB, free: 30.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001346/0.446, allocations: 219.8 kB / 0.5429 GB, free: 30.12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004342/0.4464, allocations: 315.5 kB / 0.5432 GB, free: 29.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.697e-05/0.4465, allocations: 301.8 kB / 0.5435 GB, free: 29.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008451/0.4473, allocations: 415.5 kB / 0.5439 GB, free: 29.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001027/0.4484, allocations: 1.258 MB / 0.5451 GB, free: 28.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00184/0.4502, allocations: 1.803 MB / 0.5469 GB, free: 26.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-05/0.4503, allocations: 8.812 kB / 0.5469 GB, free: 26.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.003069/0.4533, allocations: 1.734 MB / 0.5486 GB, free: 26.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.533e-05/0.4534, allocations: 18.17 kB / 0.5486 GB, free: 26.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.122e-05/0.4535, allocations: 29.31 kB / 0.5486 GB, free: 26.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002513/0.4537, allocations: 87.22 kB / 0.5487 GB, free: 26.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/0.4549, allocations: 360.5 kB / 0.549 GB, free: 26.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001452/0.4563, allocations: 1.88 MB / 0.5509 GB, free: 24.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/0.4575, allocations: 74.39 kB / 0.5509 GB, free: 24.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000126/0.4576, allocations: 86.02 kB / 0.551 GB, free: 24.29 MB / 414.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.0009672/0.4586, allocations: 0.6485 MB / 0.5517 GB, free: 23.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000174/0.4588, allocations: 112.4 kB / 0.5518 GB, free: 23.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001248/0.4601, allocations: 0.7139 MB / 0.5525 GB, free: 23.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.4601, allocations: 6.031 kB / 0.5525 GB, free: 23.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.4601, allocations: 1.25 kB / 0.5525 GB, free: 23.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.4601, allocations: 4.312 kB / 0.5525 GB, free: 23.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003766/0.4639, allocations: 2.234 MB / 0.5547 GB, free: 22.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.4639, allocations: 3.438 kB / 0.5547 GB, free: 22.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003912/0.4643, allocations: 98.28 kB / 0.5548 GB, free: 22.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001907/0.4645, allocations: 63.7 kB / 0.5548 GB, free: 22.47 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.253e-05/0.4645, allocations: 23.03 kB / 0.5548 GB, free: 22.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001359/0.4659, allocations: 1.941 MB / 0.5567 GB, free: 20.74 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.4659, allocations: 8.062 kB / 0.5567 GB, free: 20.74 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001522/0.4675, allocations: 1.099 MB / 0.5578 GB, free: 20.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004279/0.4679, allocations: 215.2 kB / 0.558 GB, free: 19.94 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001198/0.468, allocations: 19.36 kB / 0.558 GB, free: 19.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003786/0.4684, allocations: 26.44 kB / 0.5581 GB, free: 19.92 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.053e-05/0.4685, allocations: 48.52 kB / 0.5581 GB, free: 19.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-05/0.4685, allocations: 26.59 kB / 0.5581 GB, free: 19.9 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001138/0.4697, allocations: 0.7679 MB / 0.5589 GB, free: 19.6 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4697, allocations: 0 / 0.5589 GB, free: 19.6 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00168/0.4714, allocations: 303.2 kB / 0.5592 GB, free: 19.57 MB / 414.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.0002365/0.4716, allocations: 131.7 kB / 0.5593 GB, free: 19.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001771/0.4734, allocations: 1.101 MB / 0.5604 GB, free: 19.02 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.4734, allocations: 0 / 0.5604 GB, free: 19.02 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004542/0.4739, allocations: 415.2 kB / 0.5608 GB, free: 18.8 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/0.4749, allocations: 203.3 kB / 0.561 GB, free: 18.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00427/0.4792, allocations: 2.959 MB / 0.5639 GB, free: 17.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009116/0.4802, allocations: 1.446 MB / 0.5653 GB, free: 16.36 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002121/0.4804, allocations: 92.36 kB / 0.5654 GB, free: 16.35 MB / 414.1 MB Notification: Performance of SimCode: time 7.31e-07/0.4804, allocations: 0 / 0.5654 GB, free: 16.35 MB / 414.1 MB Notification: Performance of Templates: time 0.02683/0.5072, allocations: 22.82 MB / 0.5876 GB, free: 10.6 MB / 430.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches