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.0009987/0.0009993, allocations: 100.2 kB / 17.01 MB, free: 6.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001371/0.001371, allocations: 194.3 kB / 17.9 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.604/1.604, allocations: 227.7 MB / 246.4 MB, free: 9.824 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2505/0.2505, allocations: 46.2 MB / 344.8 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004446/0.0004449, allocations: 8.219 kB / 418.8 MB, free: 20.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1711, allocations: 63.57 MB / 482.4 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.02642/0.1976, allocations: 23.42 MB / 0.494 GB, free: 13.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01732/0.215, allocations: 5.912 MB / 0.4998 GB, free: 7.113 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005418/0.2205, allocations: 111.7 kB / 0.4999 GB, free: 7.004 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003534/0.224, allocations: 1.034 MB / 0.5009 GB, free: 5.965 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009904/0.234, allocations: 3.257 MB / 0.5041 GB, free: 2.695 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00193/0.2359, allocations: 443.3 kB / 0.5045 GB, free: 2.262 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00307/0.239, allocations: 1.921 MB / 0.5063 GB, free: 344 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3282/0.5673, allocations: 1.953 MB / 0.5083 GB, free: 11.37 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001288/0.5686, allocations: 0.5086 MB / 0.5088 GB, free: 11.37 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001674/0.5703, allocations: 0.7838 MB / 0.5095 GB, free: 11.37 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001731/0.5705, allocations: 55.12 kB / 0.5096 GB, free: 11.37 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00125/0.5717, allocations: 428.7 kB / 0.51 GB, free: 11.37 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001031/0.5728, allocations: 0.6211 MB / 0.5106 GB, free: 11.37 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004458/0.5732, allocations: 311.9 kB / 0.5109 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002987/0.5762, allocations: 1.876 MB / 0.5127 GB, free: 11.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.5762, allocations: 0 / 0.5127 GB, free: 11.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.5762, allocations: 1.125 kB / 0.5127 GB, free: 11.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.752e-05/0.5763, allocations: 0 / 0.5127 GB, free: 11.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.003514/0.5798, allocations: 1.708 MB / 0.5144 GB, free: 10.35 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.087e-05/0.5799, allocations: 9.969 kB / 0.5144 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001163/0.5811, allocations: 266 kB / 0.5146 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002036/0.5831, allocations: 1.016 MB / 0.5156 GB, free: 9.922 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.96e-05/0.5832, allocations: 100.9 kB / 0.5157 GB, free: 9.914 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002335/0.5835, allocations: 127.8 kB / 0.5159 GB, free: 9.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00666/0.5901, allocations: 2.999 MB / 0.5188 GB, free: 9.359 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.542e-05/0.5902, allocations: 14.09 kB / 0.5188 GB, free: 9.359 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001563/0.5904, allocations: 57.09 kB / 0.5189 GB, free: 9.359 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007529/0.5911, allocations: 440.6 kB / 0.5193 GB, free: 9.348 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005336/0.5965, allocations: 2.178 MB / 0.5214 GB, free: 9.324 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.014/0.6105, allocations: 10.72 MB / 0.5319 GB, free: 4.027 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003993/0.6145, allocations: 1.243 MB / 0.5331 GB, free: 3.941 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007198/0.6153, allocations: 405.2 kB / 0.5335 GB, free: 3.871 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003942/0.6192, allocations: 3.099 MB / 0.5365 GB, free: 1.793 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.6193, allocations: 38.59 kB / 0.5365 GB, free: 1.754 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 2.665e-06/0.6193, allocations: 4 kB / 0.5365 GB, free: 1.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.0104/0.6297, allocations: 3.807 MB / 0.5403 GB, free: 256 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.98e-05/0.6298, allocations: 80.77 kB / 0.5403 GB, free: 160 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001667/0.6315, allocations: 1.173 MB / 0.5415 GB, free: 15.79 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.382e-05/0.6315, allocations: 42.17 kB / 0.5415 GB, free: 15.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006854/0.6322, allocations: 0.9363 MB / 0.5424 GB, free: 15.14 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001872/0.6324, allocations: 216.8 kB / 0.5426 GB, free: 15 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.463e-05/0.6325, allocations: 30.44 kB / 0.5427 GB, free: 15 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.6327, allocations: 378.7 kB / 0.543 GB, free: 14.67 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006723/0.6333, allocations: 414.8 kB / 0.5434 GB, free: 14.6 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001314/0.6347, allocations: 1.258 MB / 0.5447 GB, free: 13.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008757/0.6356, allocations: 0.6873 MB / 0.5453 GB, free: 13.29 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.094e-05/0.6356, allocations: 6.562 kB / 0.5453 GB, free: 13.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002594/0.6382, allocations: 1.731 MB / 0.547 GB, free: 12.97 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.069e-05/0.6382, allocations: 18.27 kB / 0.547 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.898e-05/0.6383, allocations: 34.25 kB / 0.5471 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002084/0.6385, allocations: 88.08 kB / 0.5472 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/0.6395, allocations: 368.6 kB / 0.5475 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001531/0.641, allocations: 1.692 MB / 0.5492 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001029/0.6421, allocations: 75.36 kB / 0.5492 GB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/0.6422, allocations: 86.38 kB / 0.5493 GB, free: 11.19 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 (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.001233/0.6434, allocations: 0.6375 MB / 0.5499 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/0.6436, allocations: 126.4 kB / 0.5501 GB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002469/0.6439, allocations: 134.9 kB / 0.5502 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.6439, allocations: 4 kB / 0.5502 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.742e-05/0.6439, allocations: 4 kB / 0.5502 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.6439, allocations: 4 kB / 0.5502 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003378/0.6473, allocations: 2.241 MB / 0.5524 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.6473, allocations: 4 kB / 0.5524 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003599/0.6477, allocations: 96.83 kB / 0.5525 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001809/0.6479, allocations: 68.31 kB / 0.5526 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.083e-05/0.6479, allocations: 11.06 kB / 0.5526 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001565/0.6495, allocations: 1.746 MB / 0.5543 GB, free: 6.977 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.353e-06/0.6495, allocations: 7.609 kB / 0.5543 GB, free: 6.973 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001483/0.651, allocations: 1.113 MB / 0.5554 GB, free: 6.055 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002408/0.6513, allocations: 183.8 kB / 0.5555 GB, free: 5.863 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.6514, allocations: 10.94 kB / 0.5555 GB, free: 5.859 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003463/0.6517, allocations: 37.28 kB / 0.5556 GB, free: 5.832 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.976e-05/0.6518, allocations: 49.56 kB / 0.5556 GB, free: 5.793 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.818e-05/0.6518, allocations: 18.25 kB / 0.5556 GB, free: 5.777 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001012/0.6529, allocations: 0.7484 MB / 0.5564 GB, free: 5.207 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.142e-06/0.6529, allocations: 0 / 0.5564 GB, free: 5.207 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001498/0.6544, allocations: 298.2 kB / 0.5567 GB, free: 4.949 MB / 398.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 (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%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002482/0.6546, allocations: 133.6 kB / 0.5568 GB, free: 4.824 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001711/0.6563, allocations: 1.105 MB / 0.5579 GB, free: 3.801 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.6564, allocations: 4 kB / 0.5579 GB, free: 3.797 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005311/0.6569, allocations: 407.9 kB / 0.5583 GB, free: 3.406 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.6579, allocations: 181.2 kB / 0.5584 GB, free: 3.23 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004744/0.6627, allocations: 3.385 MB / 0.5617 GB, free: 15.78 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001182/0.6639, allocations: 1.447 MB / 0.5632 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001002/0.6649, allocations: 413.5 kB / 0.5636 GB, free: 13.89 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.665, allocations: 82.62 kB / 0.5636 GB, free: 13.82 MB / 414.1 MB Notification: Performance of SimCode: time 2.204e-06/0.665, allocations: 0 / 0.5636 GB, free: 13.82 MB / 414.1 MB Notification: Performance of Templates: time 0.02032/0.6854, allocations: 9.622 MB / 0.573 GB, free: 4.309 MB / 414.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