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.001451/0.001451, allocations: 109.9 kB / 18.3 MB, free: 4.883 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.001647/0.001647, allocations: 195.5 kB / 19.23 MB, free: 3.961 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.409/1.409, allocations: 222.9 MB / 242.9 MB, free: 15.2 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.2023/0.2023, allocations: 44.17 MB / 337.3 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 69.17 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1189, allocations: 60.83 MB / 469.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.009698/0.1286, allocations: 8.649 MB / 478.6 MB, free: 5.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007374/0.1361, allocations: 3.448 MB / 482 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001534/0.1376, allocations: 43.88 kB / 482.1 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002575/0.1402, allocations: 1.374 MB / 483.4 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002419/0.1427, allocations: 0.9339 MB / 484.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001072/0.1438, allocations: 0.5147 MB / 484.9 MB, free: 15.33 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002195/0.146, allocations: 1.679 MB / 486.6 MB, free: 13.64 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001955/0.148, allocations: 1.667 MB / 488.2 MB, free: 11.94 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008984/0.1489, allocations: 0.662 MB / 488.9 MB, free: 11.27 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001077/0.15, allocations: 0.8879 MB / 489.8 MB, free: 10.38 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000214/0.1502, allocations: 140 kB / 489.9 MB, free: 10.25 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001069/0.1513, allocations: 0.6007 MB / 490.5 MB, free: 9.645 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005989/0.1519, allocations: 0.717 MB / 491.2 MB, free: 8.926 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007858/0.1527, allocations: 0.8392 MB / 492.1 MB, free: 8.082 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002348/0.155, allocations: 2.43 MB / 494.5 MB, free: 5.645 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.1551, allocations: 4 kB / 494.5 MB, free: 5.641 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1551, allocations: 7.938 kB / 494.5 MB, free: 5.633 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.897e-05/0.1551, allocations: 0 / 494.5 MB, free: 5.633 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.00336/0.1585, allocations: 2.004 MB / 496.5 MB, free: 3.574 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.1585, allocations: 16.02 kB / 496.5 MB, free: 3.559 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/0.1596, allocations: 262.6 kB / 496.8 MB, free: 3.301 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001714/0.1613, allocations: 1.063 MB / 497.9 MB, free: 2.195 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.952e-05/0.1614, allocations: 94.58 kB / 498 MB, free: 2.102 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001906/0.1616, allocations: 128 kB / 498.1 MB, free: 1.977 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00495/0.1666, allocations: 2.988 MB / 0.4893 GB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.241e-05/0.1666, allocations: 15.84 kB / 0.4893 GB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001227/0.1667, allocations: 55.97 kB / 0.4894 GB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005737/0.1673, allocations: 430 kB / 0.4898 GB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004457/0.1718, allocations: 2.163 MB / 0.4919 GB, free: 12.13 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01308/0.1849, allocations: 10.73 MB / 0.5024 GB, free: 1.129 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2582/0.4431, allocations: 1.229 MB / 0.5036 GB, free: 49.56 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008952/0.4441, allocations: 405.2 kB / 0.504 GB, free: 49.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004023/0.4481, allocations: 2.997 MB / 0.5069 GB, free: 47.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.4481, allocations: 37.91 kB / 0.5069 GB, free: 47.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 3.066e-06/0.4482, allocations: 4.875 kB / 0.5069 GB, free: 47.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.01205/0.4602, allocations: 3.752 MB / 0.5106 GB, free: 46.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.138e-05/0.4603, allocations: 84.03 kB / 0.5107 GB, free: 46.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001677/0.462, allocations: 1.193 MB / 0.5119 GB, free: 46.03 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.768e-05/0.462, allocations: 39.73 kB / 0.5119 GB, free: 45.99 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005972/0.4626, allocations: 0.9398 MB / 0.5128 GB, free: 45.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001592/0.4628, allocations: 216.4 kB / 0.513 GB, free: 45.11 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003922/0.4632, allocations: 315.7 kB / 0.5133 GB, free: 44.95 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.004e-05/0.4633, allocations: 303.4 kB / 0.5136 GB, free: 44.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006859/0.464, allocations: 418.8 kB / 0.514 GB, free: 44.53 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/0.465, allocations: 1.257 MB / 0.5152 GB, free: 43.28 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002042/0.4671, allocations: 1.811 MB / 0.517 GB, free: 41.7 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.845e-05/0.4671, allocations: 11.97 kB / 0.517 GB, free: 41.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.003011/0.4701, allocations: 1.719 MB / 0.5187 GB, free: 41.01 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.969e-05/0.4702, allocations: 18.28 kB / 0.5187 GB, free: 41.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.417e-05/0.4702, allocations: 30.06 kB / 0.5187 GB, free: 41.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002477/0.4705, allocations: 95.23 kB / 0.5188 GB, free: 40.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/0.4716, allocations: 357 kB / 0.5192 GB, free: 40.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001427/0.4731, allocations: 1.874 MB / 0.521 GB, free: 39.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/0.4742, allocations: 69.08 kB / 0.5211 GB, free: 39.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001152/0.4743, allocations: 89.86 kB / 0.5212 GB, free: 39.21 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.00101/0.4753, allocations: 0.6437 MB / 0.5218 GB, free: 38.86 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001728/0.4755, allocations: 113 kB / 0.5219 GB, free: 38.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001202/0.4767, allocations: 0.7174 MB / 0.5226 GB, free: 38.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.4767, allocations: 5.875 kB / 0.5226 GB, free: 38.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.4768, allocations: 1.656 kB / 0.5226 GB, free: 38.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.4768, allocations: 0 / 0.5226 GB, free: 38.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003228/0.48, allocations: 2.234 MB / 0.5248 GB, free: 37.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/0.48, allocations: 2.781 kB / 0.5248 GB, free: 37.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003973/0.4804, allocations: 93.41 kB / 0.5249 GB, free: 37.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001942/0.4806, allocations: 71.05 kB / 0.5249 GB, free: 37.38 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.15e-05/0.4807, allocations: 15.69 kB / 0.525 GB, free: 37.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001236/0.4819, allocations: 1.945 MB / 0.5269 GB, free: 35.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.4819, allocations: 7.844 kB / 0.5269 GB, free: 35.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/0.4832, allocations: 1.1 MB / 0.5279 GB, free: 35.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002375/0.4834, allocations: 183.5 kB / 0.5281 GB, free: 34.86 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/0.4836, allocations: 15.16 kB / 0.5281 GB, free: 34.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003531/0.4839, allocations: 22.25 kB / 0.5281 GB, free: 34.85 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.102e-05/0.484, allocations: 53.78 kB / 0.5282 GB, free: 34.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-05/0.484, allocations: 18.06 kB / 0.5282 GB, free: 34.83 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009127/0.4849, allocations: 0.7581 MB / 0.529 GB, free: 34.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.485, allocations: 7.5 kB / 0.529 GB, free: 34.53 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001549/0.4865, allocations: 301.5 kB / 0.5292 GB, free: 34.5 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.0002302/0.4867, allocations: 138.8 kB / 0.5294 GB, free: 34.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001805/0.4886, allocations: 1.199 MB / 0.5305 GB, free: 33.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.4886, allocations: 0 / 0.5305 GB, free: 33.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004338/0.489, allocations: 417.3 kB / 0.5309 GB, free: 33.56 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009583/0.49, allocations: 183.5 kB / 0.5311 GB, free: 33.46 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004054/0.494, allocations: 2.98 MB / 0.534 GB, free: 30.76 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008148/0.4949, allocations: 1.447 MB / 0.5354 GB, free: 29.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001742/0.4951, allocations: 87.44 kB / 0.5355 GB, free: 29.2 MB / 382.1 MB Notification: Performance of SimCode: time 1.623e-06/0.4951, allocations: 0 / 0.5355 GB, free: 29.2 MB / 382.1 MB Notification: Performance of Templates: time 0.02602/0.5211, allocations: 22.36 MB / 0.5574 GB, free: 6.867 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 -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