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.0009915/0.0009916, allocations: 96.09 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001353/0.001353, allocations: 206.6 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.504/1.504, allocations: 227.7 MB / 246.8 MB, free: 11.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2172/0.2172, allocations: 46.19 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000354/0.0003536, allocations: 8 kB / 419.5 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1388, allocations: 63.56 MB / 483.1 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.02491/0.1637, allocations: 25.16 MB / 0.4963 GB, free: 10.9 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01562/0.1794, allocations: 6.261 MB / 0.5024 GB, free: 4.617 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005038/0.1845, allocations: 111.7 kB / 0.5025 GB, free: 4.508 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006528/0.1851, allocations: 163.1 kB / 0.5027 GB, free: 4.348 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002285/0.1874, allocations: 0.841 MB / 0.5035 GB, free: 3.504 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009606/0.1884, allocations: 483.3 kB / 0.504 GB, free: 3.031 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002515/0.1909, allocations: 2.331 MB / 0.5063 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2622/0.4531, allocations: 2.282 MB / 0.5085 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001097/0.4542, allocations: 497.8 kB / 0.509 GB, free: 10.81 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001419/0.4557, allocations: 0.7922 MB / 0.5097 GB, free: 10.81 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001985/0.4559, allocations: 53.81 kB / 0.5098 GB, free: 10.81 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001241/0.4571, allocations: 0.5305 MB / 0.5103 GB, free: 10.81 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008015/0.458, allocations: 0.6277 MB / 0.5109 GB, free: 10.81 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007327/0.4587, allocations: 0.7331 MB / 0.5116 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003175/0.4619, allocations: 2.314 MB / 0.5139 GB, free: 10.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.4619, allocations: 1.406 kB / 0.5139 GB, free: 10.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.4619, allocations: 0 / 0.5139 GB, free: 10.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.21e-05/0.462, allocations: 0 / 0.5139 GB, free: 10.25 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.004248/0.4662, allocations: 1.683 MB / 0.5155 GB, free: 9.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.4663, allocations: 13.41 kB / 0.5156 GB, free: 9.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001267/0.4676, allocations: 269.7 kB / 0.5158 GB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002104/0.4697, allocations: 1.041 MB / 0.5168 GB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.119e-05/0.4698, allocations: 94.06 kB / 0.5169 GB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002312/0.47, allocations: 128.3 kB / 0.517 GB, free: 8.867 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006865/0.4769, allocations: 3.011 MB / 0.52 GB, free: 8.312 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.287e-05/0.477, allocations: 17 kB / 0.52 GB, free: 8.305 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001687/0.4772, allocations: 62.86 kB / 0.5201 GB, free: 8.305 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007187/0.4779, allocations: 432.4 kB / 0.5205 GB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006552/0.4845, allocations: 2.192 MB / 0.5226 GB, free: 8.273 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01385/0.4984, allocations: 10.73 MB / 0.5331 GB, free: 1.992 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004076/0.5025, allocations: 1.258 MB / 0.5343 GB, free: 1.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005345/0.5031, allocations: 404.8 kB / 0.5347 GB, free: 1.211 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004555/0.5076, allocations: 3.093 MB / 0.5377 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.997e-05/0.5077, allocations: 44.8 kB / 0.5378 GB, free: 14.63 MB / 398.1 MB Notification: Performance of pre-optimization done (n=51): time 3.447e-06/0.5077, allocations: 0 / 0.5378 GB, free: 14.63 MB / 398.1 MB Notification: Performance of matching and sorting (n=57): time 0.01306/0.5208, allocations: 3.809 MB / 0.5415 GB, free: 12.54 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.941e-05/0.5209, allocations: 82.8 kB / 0.5416 GB, free: 12.45 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00187/0.5228, allocations: 1.184 MB / 0.5427 GB, free: 11.79 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.313e-05/0.5229, allocations: 37.2 kB / 0.5428 GB, free: 11.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006945/0.5236, allocations: 0.9365 MB / 0.5437 GB, free: 10.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002172/0.5238, allocations: 221 kB / 0.5439 GB, free: 10.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002043/0.524, allocations: 147.2 kB / 0.544 GB, free: 10.66 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.5242, allocations: 301.1 kB / 0.5443 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007236/0.5249, allocations: 424.4 kB / 0.5447 GB, free: 10.17 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001423/0.5263, allocations: 1.261 MB / 0.5459 GB, free: 8.805 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002178/0.5285, allocations: 1.82 MB / 0.5477 GB, free: 7.223 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-05/0.5285, allocations: 14.22 kB / 0.5477 GB, free: 7.219 MB / 398.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002842/0.5314, allocations: 1.738 MB / 0.5494 GB, free: 6.254 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.888e-05/0.5314, allocations: 16 kB / 0.5494 GB, free: 6.238 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.197e-05/0.5315, allocations: 28.91 kB / 0.5495 GB, free: 6.211 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002401/0.5317, allocations: 96.81 kB / 0.5496 GB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/0.5328, allocations: 360.8 kB / 0.5499 GB, free: 5.793 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001571/0.5344, allocations: 1.687 MB / 0.5516 GB, free: 3.988 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/0.5354, allocations: 75.92 kB / 0.5516 GB, free: 3.914 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/0.5355, allocations: 89.8 kB / 0.5517 GB, free: 3.828 MB / 398.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.001226/0.5368, allocations: 0.6408 MB / 0.5523 GB, free: 3.207 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001879/0.537, allocations: 121.4 kB / 0.5525 GB, free: 3.09 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002646/0.5372, allocations: 139.2 kB / 0.5526 GB, free: 2.949 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.5373, allocations: 4 kB / 0.5526 GB, free: 2.945 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.765e-05/0.5373, allocations: 8 kB / 0.5526 GB, free: 2.938 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.5373, allocations: 3.984 kB / 0.5526 GB, free: 2.934 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003761/0.5411, allocations: 2.25 MB / 0.5548 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.5411, allocations: 4 kB / 0.5548 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003816/0.5415, allocations: 97.86 kB / 0.5549 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001854/0.5417, allocations: 64.75 kB / 0.555 GB, free: 472 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.268e-05/0.5417, allocations: 16.44 kB / 0.555 GB, free: 456 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001739/0.5435, allocations: 1.752 MB / 0.5567 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/0.5435, allocations: 10.7 kB / 0.5567 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001665/0.5452, allocations: 1.11 MB / 0.5578 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003361/0.5455, allocations: 183.6 kB / 0.558 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.5456, allocations: 19.98 kB / 0.558 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003786/0.546, allocations: 32.05 kB / 0.558 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.235e-05/0.5461, allocations: 43.08 kB / 0.558 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-05/0.5461, allocations: 23.98 kB / 0.5581 GB, free: 13.08 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001091/0.5472, allocations: 0.7579 MB / 0.5588 GB, free: 12.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.5472, allocations: 4 kB / 0.5588 GB, free: 12.31 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001488/0.5487, allocations: 296 kB / 0.5591 GB, free: 12.02 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.0002455/0.549, allocations: 124.5 kB / 0.5592 GB, free: 11.9 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001877/0.5509, allocations: 1.114 MB / 0.5603 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.266e-06/0.5509, allocations: 4 kB / 0.5603 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005663/0.5514, allocations: 420.7 kB / 0.5607 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001536/0.553, allocations: 165.9 kB / 0.5609 GB, free: 10.3 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00515/0.5582, allocations: 3.564 MB / 0.5643 GB, free: 6.668 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001176/0.5594, allocations: 1.451 MB / 0.5658 GB, free: 5.188 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001043/0.5604, allocations: 413.5 kB / 0.5662 GB, free: 4.781 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.5606, allocations: 75.44 kB / 0.5662 GB, free: 4.707 MB / 414.1 MB Notification: Performance of SimCode: time 6.52e-07/0.5606, allocations: 0 / 0.5662 GB, free: 4.707 MB / 414.1 MB Notification: Performance of Templates: time 0.02073/0.5813, allocations: 9.863 MB / 0.5759 GB, free: 10.96 MB / 430.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches