Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.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.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009322/0.0009323, allocations: 100.4 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001036/0.001036, allocations: 192.2 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 227.7 MB / 246.4 MB, free: 9.844 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2177/0.2177, allocations: 46.18 MB / 344.8 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002813/0.0002815, allocations: 8 kB / 418.8 MB, free: 20.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1333, allocations: 63.56 MB / 482.4 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.02801/0.1614, allocations: 26.63 MB / 0.4971 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01709/0.1786, allocations: 6.28 MB / 0.5032 GB, free: 3.551 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005334/0.1839, allocations: 123.7 kB / 0.5033 GB, free: 3.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004235/0.1882, allocations: 1.275 MB / 0.5046 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.306/0.4943, allocations: 3.91 MB / 0.5084 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002024/0.4963, allocations: 367.1 kB / 0.5088 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007318/0.5036, allocations: 3.858 MB / 0.5125 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004085/0.5078, allocations: 2.23 MB / 0.5147 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002264/0.51, allocations: 1.016 MB / 0.5157 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002789/0.5128, allocations: 1.691 MB / 0.5173 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004893/0.5133, allocations: 132.2 kB / 0.5175 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001828/0.5152, allocations: 0.6415 MB / 0.5181 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001734/0.5169, allocations: 1.436 MB / 0.5195 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008909/0.5178, allocations: 0.7283 MB / 0.5202 GB, free: 10.78 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005125/0.523, allocations: 4.582 MB / 0.5247 GB, free: 9.578 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.523, allocations: 0 / 0.5247 GB, free: 9.578 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.523, allocations: 3.422 kB / 0.5247 GB, free: 9.578 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001372/0.5231, allocations: 0 / 0.5247 GB, free: 9.578 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: 1514 * Number of variables: 1514 Notification: Performance of Generate backend data structure: time 0.006461/0.5296, allocations: 3.332 MB / 0.5279 GB, free: 7.473 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/0.5297, allocations: 8 kB / 0.528 GB, free: 7.473 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009634/0.5393, allocations: 3.161 MB / 0.531 GB, free: 5.977 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003829/0.5432, allocations: 1.864 MB / 0.5329 GB, free: 5.156 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001194/0.5433, allocations: 192.6 kB / 0.533 GB, free: 5.148 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005306/0.5438, allocations: 241.5 kB / 0.5333 GB, free: 5.148 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0165/0.5603, allocations: 10.17 MB / 0.5432 GB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.586e-05/0.5605, allocations: 27.8 kB / 0.5432 GB, free: 1.379 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003537/0.5608, allocations: 117.3 kB / 0.5433 GB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003648/0.5645, allocations: 2.465 MB / 0.5458 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02065/0.5851, allocations: 9.314 MB / 0.5548 GB, free: 8.656 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05208/0.6373, allocations: 31.67 MB / 0.5858 GB, free: 8.492 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006472/0.6438, allocations: 3.344 MB / 0.589 GB, free: 4.918 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00183/0.6457, allocations: 1.067 MB / 0.5901 GB, free: 3.852 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00146/0.6471, allocations: 1.315 MB / 0.5914 GB, free: 2.324 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.295e-05/0.6472, allocations: 47.88 kB / 0.5914 GB, free: 2.266 MB / 430.1 MB Notification: Performance of pre-optimization done (n=185): time 4.659e-06/0.6472, allocations: 0 / 0.5914 GB, free: 2.266 MB / 430.1 MB Notification: Performance of matching and sorting (n=191): time 0.02067/0.6679, allocations: 9.079 MB / 0.6003 GB, free: 9.105 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/0.668, allocations: 68.72 kB / 0.6003 GB, free: 9.027 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004529/0.6725, allocations: 2.587 MB / 0.6029 GB, free: 6.422 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002239/0.6728, allocations: 45.7 kB / 0.6029 GB, free: 6.371 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002259/0.6751, allocations: 2.672 MB / 0.6055 GB, free: 3.707 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008898/0.676, allocations: 0.7049 MB / 0.6062 GB, free: 3.012 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002044/0.6762, allocations: 96 kB / 0.6063 GB, free: 2.918 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003587/0.6765, allocations: 0.5109 MB / 0.6068 GB, free: 2.402 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002707/0.6793, allocations: 1.532 MB / 0.6083 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004773/0.684, allocations: 4.369 MB / 0.6126 GB, free: 11.09 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003986/0.688, allocations: 2.604 MB / 0.6151 GB, free: 8.488 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000117/0.6882, allocations: 35.95 kB / 0.6151 GB, free: 8.453 MB / 462.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.0101/0.6983, allocations: 5.807 MB / 0.6208 GB, free: 2.645 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.036e-05/0.6984, allocations: 52.12 kB / 0.6209 GB, free: 2.594 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001222/0.6985, allocations: 104 kB / 0.621 GB, free: 2.492 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003645/0.6989, allocations: 188.8 kB / 0.6211 GB, free: 2.305 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003205/0.7021, allocations: 1.064 MB / 0.6222 GB, free: 1.238 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001729/0.7039, allocations: 1.683 MB / 0.6238 GB, free: 15.42 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003244/0.7071, allocations: 208 kB / 0.624 GB, free: 15.22 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005122/0.7076, allocations: 292.2 kB / 0.6243 GB, free: 14.94 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 453 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[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 (596): * Single equations (assignments): 589 * Array equations: 6 * 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.00481/0.7125, allocations: 1.997 MB / 0.6263 GB, free: 12.93 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005511/0.713, allocations: 250.7 kB / 0.6265 GB, free: 12.68 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004112/0.7171, allocations: 2.518 MB / 0.629 GB, free: 10.14 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.259e-05/0.7172, allocations: 20 kB / 0.629 GB, free: 10.12 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.7172, allocations: 4 kB / 0.629 GB, free: 10.11 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.436e-05/0.7172, allocations: 7.969 kB / 0.629 GB, free: 10.11 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01495/0.7322, allocations: 7.94 MB / 0.6367 GB, free: 2.004 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-05/0.7323, allocations: 8 kB / 0.6367 GB, free: 1.996 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001098/0.7334, allocations: 251.7 kB / 0.637 GB, free: 1.75 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001911/0.7336, allocations: 56.83 kB / 0.637 GB, free: 1.691 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00013/0.7337, allocations: 39.98 kB / 0.6371 GB, free: 1.652 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00155/0.7353, allocations: 1.511 MB / 0.6386 GB, free: 12 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.082e-05/0.7353, allocations: 15.98 kB / 0.6386 GB, free: 15.99 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005885/0.7412, allocations: 3.996 MB / 0.6425 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001041/0.7423, allocations: 297.9 kB / 0.6428 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007728/0.7431, allocations: 35.98 kB / 0.6428 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001631/0.7447, allocations: 55.95 kB / 0.6428 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002264/0.745, allocations: 125.3 kB / 0.643 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001466/0.7452, allocations: 68.17 kB / 0.643 GB, free: 11.27 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004084/0.7492, allocations: 1.568 MB / 0.6446 GB, free: 9.688 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.7493, allocations: 0 / 0.6446 GB, free: 9.688 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005542/0.7548, allocations: 0.78 MB / 0.6453 GB, free: 8.91 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * 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 (139): * Single equations (assignments): 132 * Array equations: 6 * 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 Backend phase and start with SimCode phase: time 0.0006195/0.7555, allocations: 192.2 kB / 0.6455 GB, free: 8.719 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007713/0.7632, allocations: 3.824 MB / 0.6492 GB, free: 4.906 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.538e-05/0.7632, allocations: 4.062 kB / 0.6492 GB, free: 4.902 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002205/0.7655, allocations: 1.228 MB / 0.6504 GB, free: 3.668 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003407/0.7689, allocations: 338.9 kB / 0.6508 GB, free: 3.34 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02297/0.7919, allocations: 10.19 MB / 0.6607 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006904/0.7989, allocations: 3.126 MB / 0.6638 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005368/0.8043, allocations: 1.713 MB / 0.6654 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008232/0.8051, allocations: 183.4 kB / 0.6656 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of SimCode: time 3.066e-06/0.8051, allocations: 3.938 kB / 0.6656 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of Templates: time 0.05292/0.8581, allocations: 21.54 MB / 0.6867 GB, free: 14.56 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches