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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001725/0.001725, allocations: 105.4 kB / 19.8 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002332/0.002332, allocations: 211.8 kB / 23 MB, free: 5.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 230.2 MB / 256.2 MB, free: 8.512 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2424/0.2424, allocations: 46.9 MB / 359.4 MB, free: 4.84 MB / 286.1 MB " [Timeout remaining time 180] 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=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002265/0.002265, allocations: 79.88 kB / 0.4946 GB, free: 8.426 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4461/0.4484, allocations: 65.99 MB / 0.5591 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01548/0.4638, allocations: 12.34 MB / 0.5711 GB, free: 8.613 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009964/0.4738, allocations: 3.902 MB / 0.5749 GB, free: 4.695 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00247/0.4763, allocations: 59.88 kB / 0.575 GB, free: 4.637 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003256/0.4795, allocations: 1.339 MB / 0.5763 GB, free: 3.293 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005673/0.4852, allocations: 1.762 MB / 0.578 GB, free: 1.527 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001538/0.4867, allocations: 427.1 kB / 0.5784 GB, free: 1.109 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006762/0.4935, allocations: 3.602 MB / 0.582 GB, free: 13.5 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003572/0.4971, allocations: 1.614 MB / 0.5835 GB, free: 11.85 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002725/0.4998, allocations: 1.187 MB / 0.5847 GB, free: 10.66 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003801/0.5036, allocations: 1.923 MB / 0.5866 GB, free: 8.73 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001095/0.5047, allocations: 240 kB / 0.5868 GB, free: 8.496 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00254/0.5072, allocations: 0.8269 MB / 0.5876 GB, free: 7.668 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002647/0.5099, allocations: 1.608 MB / 0.5892 GB, free: 6.055 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0038/0.5137, allocations: 1.871 MB / 0.591 GB, free: 4.172 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008979/0.5227, allocations: 6.094 MB / 0.597 GB, free: 14.05 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.435e-05/0.5227, allocations: 3.984 kB / 0.597 GB, free: 14.05 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.5227, allocations: 0 / 0.597 GB, free: 14.05 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002857/0.523, allocations: 0 / 0.597 GB, free: 14.05 MB / 446.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.01011/0.5331, allocations: 4.135 MB / 0.601 GB, free: 9.844 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.5331, allocations: 8.031 kB / 0.601 GB, free: 9.836 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01087/0.544, allocations: 3.102 MB / 0.604 GB, free: 6.727 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00566/0.5497, allocations: 1.914 MB / 0.6059 GB, free: 4.762 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002311/0.5499, allocations: 189 kB / 0.6061 GB, free: 4.574 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00105/0.5509, allocations: 247.8 kB / 0.6063 GB, free: 4.332 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01923/0.5702, allocations: 10.17 MB / 0.6163 GB, free: 9.723 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.27e-05/0.5703, allocations: 27.77 kB / 0.6163 GB, free: 9.695 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003857/0.5707, allocations: 115.8 kB / 0.6164 GB, free: 9.582 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004377/0.575, allocations: 2.46 MB / 0.6188 GB, free: 7.117 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02083/0.5959, allocations: 9.361 MB / 0.6279 GB, free: 13.75 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05434/0.6502, allocations: 31.53 MB / 0.6587 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006368/0.6566, allocations: 3.25 MB / 0.6619 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001654/0.6582, allocations: 0.9899 MB / 0.6629 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001377/0.6596, allocations: 1.31 MB / 0.6641 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.379e-05/0.6596, allocations: 43.88 kB / 0.6642 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=185): time 4.338e-06/0.6597, allocations: 0 / 0.6642 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of matching and sorting (n=191): time 0.02051/0.6802, allocations: 9.173 MB / 0.6731 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.816e-05/0.6802, allocations: 64.72 kB / 0.6732 GB, free: 14 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004173/0.6844, allocations: 2.611 MB / 0.6758 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002101/0.6846, allocations: 45.7 kB / 0.6758 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002264/0.6869, allocations: 2.784 MB / 0.6785 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008119/0.6877, allocations: 0.7325 MB / 0.6792 GB, free: 7.77 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00149/0.6892, allocations: 0.9771 MB / 0.6802 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.6893, allocations: 305.1 kB / 0.6805 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00261/0.6919, allocations: 1.551 MB / 0.682 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005181/0.6971, allocations: 4.383 MB / 0.6863 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008733/0.7058, allocations: 6.571 MB / 0.6927 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.323e-05/0.7059, allocations: 28 kB / 0.6927 GB, free: 7.137 MB / 0.5294 GB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01082/0.7168, allocations: 5.864 MB / 0.6984 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.63e-05/0.7168, allocations: 48 kB / 0.6985 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001141/0.7169, allocations: 100 kB / 0.6986 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003635/0.7173, allocations: 172.8 kB / 0.6988 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003189/0.7205, allocations: 1.073 MB / 0.6998 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001896/0.7224, allocations: 1.797 MB / 0.7016 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002546/0.7249, allocations: 207.9 kB / 0.7018 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004103/0.7253, allocations: 296 kB / 0.702 GB, free: 13.45 MB / 0.545 GB 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 (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.003273/0.7286, allocations: 1.993 MB / 0.704 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003845/0.729, allocations: 254.3 kB / 0.7042 GB, free: 11.19 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003987/0.733, allocations: 2.537 MB / 0.7067 GB, free: 8.625 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.6e-05/0.733, allocations: 23.94 kB / 0.7067 GB, free: 8.602 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.733, allocations: 0 / 0.7067 GB, free: 8.602 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.464e-05/0.7331, allocations: 7.969 kB / 0.7067 GB, free: 8.594 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01344/0.7465, allocations: 7.926 MB / 0.7145 GB, free: 484 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-05/0.7465, allocations: 16 kB / 0.7145 GB, free: 468 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/0.7475, allocations: 255.7 kB / 0.7147 GB, free: 212 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001887/0.7477, allocations: 56.83 kB / 0.7148 GB, free: 152 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001035/0.7478, allocations: 36 kB / 0.7148 GB, free: 116 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001665/0.7495, allocations: 1.629 MB / 0.7164 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.151e-05/0.7495, allocations: 15.94 kB / 0.7164 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005495/0.755, allocations: 4.028 MB / 0.7204 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005996/0.7556, allocations: 315.3 kB / 0.7207 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002447/0.7558, allocations: 36.17 kB / 0.7207 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007159/0.7565, allocations: 55.95 kB / 0.7207 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002278/0.7568, allocations: 124.6 kB / 0.7209 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000126/0.7569, allocations: 71.97 kB / 0.7209 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002448/0.7593, allocations: 1.595 MB / 0.7225 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.7593, allocations: 0 / 0.7225 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003656/0.763, allocations: 0.7773 MB / 0.7233 GB, free: 7.156 MB / 0.5606 GB 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 (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 Backend phase and start with SimCode phase: time 0.0004429/0.7634, allocations: 186.7 kB / 0.7234 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006217/0.7697, allocations: 3.717 MB / 0.7271 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-05/0.7697, allocations: 0 / 0.7271 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001666/0.7713, allocations: 1.178 MB / 0.7282 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001853/0.7732, allocations: 348.8 kB / 0.7285 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.297/1.07, allocations: 8.66 MB / 0.737 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00263/1.073, allocations: 3.124 MB / 0.7401 GB, free: 154 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002784/1.076, allocations: 1.71 MB / 0.7417 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003791/1.076, allocations: 186 kB / 0.7419 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of SimCode: time 1.122e-06/1.076, allocations: 0 / 0.7419 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.03793/1.114, allocations: 22.25 MB / 0.7636 GB, free: 134.3 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.00225043669343]