Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.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.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001217/0.001217, allocations: 115.9 kB / 18.41 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001454/0.001454, allocations: 203.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 227.4 MB / 247.5 MB, free: 10.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.215/0.215, allocations: 46.1 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 77 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1283, allocations: 62.45 MB / 481.5 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.009448/0.1377, allocations: 8.641 MB / 490.1 MB, free: 11.84 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008232/0.146, allocations: 3.467 MB / 493.6 MB, free: 8.367 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001433/0.1475, allocations: 47.88 kB / 493.6 MB, free: 8.32 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002648/0.1502, allocations: 1.363 MB / 495 MB, free: 6.953 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002361/0.1526, allocations: 0.9065 MB / 495.9 MB, free: 6.043 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001121/0.1537, allocations: 0.5186 MB / 496.4 MB, free: 5.523 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002254/0.156, allocations: 1.722 MB / 498.1 MB, free: 3.797 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001783/0.1578, allocations: 1.659 MB / 499.8 MB, free: 2.094 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009472/0.1587, allocations: 0.6581 MB / 0.4887 GB, free: 1.434 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001085/0.1598, allocations: 0.8957 MB / 0.4896 GB, free: 0.5352 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001916/0.16, allocations: 136 kB / 0.4897 GB, free: 412 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009921/0.1611, allocations: 0.5656 MB / 0.4903 GB, free: 15.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006511/0.1617, allocations: 0.7209 MB / 0.491 GB, free: 15.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008112/0.1625, allocations: 0.8237 MB / 0.4918 GB, free: 14.29 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002523/0.1651, allocations: 2.469 MB / 0.4942 GB, free: 11.81 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1651, allocations: 0 / 0.4942 GB, free: 11.81 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1651, allocations: 0 / 0.4942 GB, free: 11.81 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.515e-05/0.1651, allocations: 4 kB / 0.4942 GB, free: 11.8 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: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.003813/0.1689, allocations: 1.986 MB / 0.4961 GB, free: 9.762 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.169, allocations: 12.03 kB / 0.4961 GB, free: 9.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001054/0.1701, allocations: 266.4 kB / 0.4964 GB, free: 9.488 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00208/0.1722, allocations: 1.055 MB / 0.4974 GB, free: 8.391 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.454e-05/0.1722, allocations: 110.5 kB / 0.4975 GB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001775/0.1724, allocations: 120 kB / 0.4977 GB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004858/0.1773, allocations: 2.996 MB / 0.5006 GB, free: 4.977 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.678e-05/0.1773, allocations: 19.78 kB / 0.5006 GB, free: 4.957 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001163/0.1775, allocations: 51.98 kB / 0.5006 GB, free: 4.906 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005848/0.1781, allocations: 442 kB / 0.5011 GB, free: 4.473 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004282/0.1824, allocations: 2.171 MB / 0.5032 GB, free: 2.293 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2238/0.4061, allocations: 10.67 MB / 0.5136 GB, free: 34.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003726/0.4099, allocations: 1.252 MB / 0.5148 GB, free: 34.44 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005948/0.4105, allocations: 412.8 kB / 0.5152 GB, free: 34.29 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003994/0.4145, allocations: 3.079 MB / 0.5182 GB, free: 32.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.4146, allocations: 38.36 kB / 0.5183 GB, free: 32.1 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 2.575e-06/0.4146, allocations: 3.469 kB / 0.5183 GB, free: 32.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.01139/0.426, allocations: 3.789 MB / 0.522 GB, free: 30.62 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.4261, allocations: 84.05 kB / 0.5221 GB, free: 30.53 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001709/0.4278, allocations: 1.188 MB / 0.5232 GB, free: 30.06 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.772e-05/0.4279, allocations: 37.27 kB / 0.5233 GB, free: 30.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005088/0.4284, allocations: 0.9396 MB / 0.5242 GB, free: 29.3 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001346/0.4285, allocations: 210.2 kB / 0.5244 GB, free: 29.14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003522/0.4289, allocations: 323.1 kB / 0.5247 GB, free: 28.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.575e-05/0.4289, allocations: 303.4 kB / 0.525 GB, free: 28.69 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006395/0.4296, allocations: 418.9 kB / 0.5254 GB, free: 28.56 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009478/0.4305, allocations: 1.259 MB / 0.5266 GB, free: 27.3 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001676/0.4322, allocations: 1.812 MB / 0.5284 GB, free: 25.71 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.622e-05/0.4322, allocations: 8.469 kB / 0.5284 GB, free: 25.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002606/0.4349, allocations: 1.742 MB / 0.5301 GB, free: 25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/0.4349, allocations: 19.47 kB / 0.5301 GB, free: 25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.648e-05/0.4349, allocations: 27.53 kB / 0.5301 GB, free: 25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002018/0.4351, allocations: 83.86 kB / 0.5302 GB, free: 24.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/0.4362, allocations: 363.5 kB / 0.5305 GB, free: 24.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001246/0.4374, allocations: 1.882 MB / 0.5324 GB, free: 23.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009968/0.4384, allocations: 70.58 kB / 0.5325 GB, free: 23.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.983e-05/0.4385, allocations: 85.03 kB / 0.5325 GB, free: 23.07 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.0008396/0.4394, allocations: 0.638 MB / 0.5332 GB, free: 22.65 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/0.4395, allocations: 114.6 kB / 0.5333 GB, free: 22.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002086/0.4398, allocations: 137.5 kB / 0.5334 GB, free: 22.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.4398, allocations: 6.094 kB / 0.5334 GB, free: 22.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.696e-05/0.4398, allocations: 7.078 kB / 0.5334 GB, free: 22.49 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.4398, allocations: 0 / 0.5334 GB, free: 22.49 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003124/0.4429, allocations: 2.232 MB / 0.5356 GB, free: 21.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.443, allocations: 3.781 kB / 0.5356 GB, free: 21.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003498/0.4433, allocations: 104 kB / 0.5357 GB, free: 21.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001668/0.4435, allocations: 67.91 kB / 0.5358 GB, free: 21 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.971e-05/0.4435, allocations: 23.11 kB / 0.5358 GB, free: 20.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001195/0.4447, allocations: 1.945 MB / 0.5377 GB, free: 19.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.4448, allocations: 3.969 kB / 0.5377 GB, free: 19.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001204/0.446, allocations: 1.117 MB / 0.5388 GB, free: 18.42 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002475/0.4462, allocations: 173.5 kB / 0.5389 GB, free: 18.26 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.639e-05/0.4463, allocations: 15.41 kB / 0.539 GB, free: 18.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003403/0.4467, allocations: 27.11 kB / 0.539 GB, free: 18.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.763e-05/0.4467, allocations: 54.06 kB / 0.539 GB, free: 18.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.543e-05/0.4468, allocations: 19.12 kB / 0.539 GB, free: 18.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008111/0.4476, allocations: 0.7524 MB / 0.5398 GB, free: 17.79 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4476, allocations: 0 / 0.5398 GB, free: 17.79 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001397/0.449, allocations: 298.8 kB / 0.5401 GB, free: 17.69 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.0002061/0.4492, allocations: 127 kB / 0.5402 GB, free: 17.56 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001453/0.4507, allocations: 1.121 MB / 0.5413 GB, free: 16.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.4507, allocations: 3.844 kB / 0.5413 GB, free: 16.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004388/0.4511, allocations: 407.8 kB / 0.5417 GB, free: 16.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008439/0.452, allocations: 185.1 kB / 0.5419 GB, free: 15.85 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003457/0.4555, allocations: 2.82 MB / 0.5446 GB, free: 12.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008159/0.4563, allocations: 1.448 MB / 0.546 GB, free: 11.49 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007775/0.4571, allocations: 409.6 kB / 0.5464 GB, free: 11.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000133/0.4572, allocations: 83.42 kB / 0.5465 GB, free: 11 MB / 382.1 MB Notification: Performance of SimCode: time 1.223e-06/0.4572, allocations: 0 / 0.5465 GB, free: 11 MB / 382.1 MB Notification: Performance of Templates: time 0.01769/0.4749, allocations: 10.35 MB / 0.5566 GB, free: 0.7539 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches