Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001305/0.001305, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.001521/0.001521, allocations: 206.2 kB / 24.47 MB, free: 4.023 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.382/1.382, allocations: 230.2 MB / 257.8 MB, free: 8.488 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2272/0.2272, allocations: 46.9 MB / 361.1 MB, free: 4.617 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Prismatic") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002369/0.002369, allocations: 84.14 kB / 0.4968 GB, free: 7.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3344, allocations: 65.98 MB / 0.5612 GB, free: 5.004 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01523/0.3496, allocations: 12.34 MB / 0.5733 GB, free: 8.605 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009503/0.3591, allocations: 3.898 MB / 0.5771 GB, free: 4.691 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002477/0.3616, allocations: 63.88 kB / 0.5771 GB, free: 4.629 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003001/0.3646, allocations: 1.347 MB / 0.5784 GB, free: 3.277 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004501/0.3691, allocations: 1.751 MB / 0.5801 GB, free: 1.52 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00118/0.3703, allocations: 423.2 kB / 0.5805 GB, free: 1.105 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005197/0.3755, allocations: 3.601 MB / 0.5841 GB, free: 13.5 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002504/0.378, allocations: 1.61 MB / 0.5856 GB, free: 11.86 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002686/0.3807, allocations: 1.195 MB / 0.5868 GB, free: 10.66 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003724/0.3844, allocations: 1.923 MB / 0.5887 GB, free: 8.727 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001222/0.3856, allocations: 240 kB / 0.5889 GB, free: 8.492 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002363/0.388, allocations: 0.8347 MB / 0.5897 GB, free: 7.656 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002395/0.3904, allocations: 1.601 MB / 0.5913 GB, free: 6.051 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004122/0.3945, allocations: 1.875 MB / 0.5931 GB, free: 4.164 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01044/0.4049, allocations: 6.095 MB / 0.5991 GB, free: 14.04 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.4049, allocations: 0 / 0.5991 GB, free: 14.04 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4049, allocations: 0 / 0.5991 GB, free: 14.04 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002502/0.4052, allocations: 0 / 0.5991 GB, free: 14.04 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.01038/0.4156, allocations: 4.132 MB / 0.6031 GB, free: 9.836 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.4156, allocations: 12.03 kB / 0.6031 GB, free: 9.824 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01166/0.4273, allocations: 3.098 MB / 0.6061 GB, free: 6.719 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005658/0.4329, allocations: 1.914 MB / 0.608 GB, free: 4.754 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002056/0.4331, allocations: 189 kB / 0.6082 GB, free: 4.566 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008272/0.434, allocations: 243.8 kB / 0.6084 GB, free: 4.328 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.019/0.453, allocations: 10.18 MB / 0.6184 GB, free: 9.719 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001394/0.4531, allocations: 31.75 kB / 0.6184 GB, free: 9.688 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009336/0.454, allocations: 119.8 kB / 0.6185 GB, free: 9.57 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004703/0.4587, allocations: 2.463 MB / 0.6209 GB, free: 7.102 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0216/0.4803, allocations: 9.353 MB / 0.6301 GB, free: 13.73 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05926/0.5396, allocations: 31.53 MB / 0.6608 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006851/0.5465, allocations: 3.246 MB / 0.664 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001814/0.5483, allocations: 0.9976 MB / 0.665 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00157/0.5498, allocations: 1.31 MB / 0.6663 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.277e-05/0.5499, allocations: 43.88 kB / 0.6663 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=185): time 6.081e-06/0.5499, allocations: 0 / 0.6663 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of matching and sorting (n=191): time 0.02191/0.5718, allocations: 9.165 MB / 0.6753 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/0.5719, allocations: 68.72 kB / 0.6753 GB, free: 14 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004178/0.576, allocations: 2.611 MB / 0.6779 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001183/0.5761, allocations: 57.69 kB / 0.6779 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002193/0.5783, allocations: 2.768 MB / 0.6806 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007595/0.5791, allocations: 0.7402 MB / 0.6813 GB, free: 7.762 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001396/0.5805, allocations: 0.9654 MB / 0.6823 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.5806, allocations: 313 kB / 0.6826 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002636/0.5833, allocations: 1.552 MB / 0.6841 GB, free: 4.918 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005034/0.5883, allocations: 4.379 MB / 0.6884 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01138/0.5997, allocations: 6.567 MB / 0.6948 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001323/0.5998, allocations: 32 kB / 0.6948 GB, free: 7.133 MB / 0.5294 GB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01782/0.6176, allocations: 5.86 MB / 0.7005 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001552/0.6178, allocations: 48 kB / 0.7006 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002261/0.618, allocations: 108.1 kB / 0.7007 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000541/0.6185, allocations: 172.8 kB / 0.7009 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005691/0.6242, allocations: 1.068 MB / 0.7019 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002808/0.627, allocations: 1.797 MB / 0.7037 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004986/0.632, allocations: 211.9 kB / 0.7039 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009588/0.633, allocations: 299.9 kB / 0.7041 GB, free: 13.44 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.005611/0.6386, allocations: 1.993 MB / 0.7061 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007643/0.6394, allocations: 258.2 kB / 0.7063 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006549/0.6459, allocations: 2.533 MB / 0.7088 GB, free: 8.613 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.063e-05/0.646, allocations: 23.98 kB / 0.7088 GB, free: 8.59 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.646, allocations: 4 kB / 0.7088 GB, free: 8.586 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.326e-05/0.646, allocations: 7.969 kB / 0.7089 GB, free: 8.578 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01948/0.6655, allocations: 7.929 MB / 0.7166 GB, free: 464 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.268e-05/0.6655, allocations: 12 kB / 0.7166 GB, free: 452 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001091/0.6666, allocations: 243.6 kB / 0.7168 GB, free: 208 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002226/0.6668, allocations: 56.83 kB / 0.7169 GB, free: 148 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001761/0.667, allocations: 39.98 kB / 0.7169 GB, free: 108 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002312/0.6693, allocations: 1.637 MB / 0.7185 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.504e-05/0.6693, allocations: 11.94 kB / 0.7185 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005944/0.6753, allocations: 4.032 MB / 0.7225 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006913/0.676, allocations: 311.4 kB / 0.7228 GB, free: 9.816 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003708/0.6763, allocations: 39.98 kB / 0.7228 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008771/0.6772, allocations: 55.95 kB / 0.7229 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002204/0.6774, allocations: 120.6 kB / 0.723 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001269/0.6775, allocations: 67.98 kB / 0.723 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002753/0.6803, allocations: 1.599 MB / 0.7246 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.6803, allocations: 0 / 0.7246 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003661/0.684, allocations: 0.7773 MB / 0.7254 GB, free: 7.148 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.0005233/0.6845, allocations: 182.7 kB / 0.7255 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006574/0.6911, allocations: 3.724 MB / 0.7292 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.727e-06/0.6911, allocations: 0 / 0.7292 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001755/0.6928, allocations: 1.171 MB / 0.7303 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002038/0.6949, allocations: 358.4 kB / 0.7307 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2802/0.9751, allocations: 8.651 MB / 0.7391 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002904/0.978, allocations: 3.127 MB / 0.7422 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00305/0.9811, allocations: 1.71 MB / 0.7438 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004379/0.9815, allocations: 189.1 kB / 0.744 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of SimCode: time 1.473e-06/0.9815, allocations: 0 / 0.744 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.04145/1.023, allocations: 22.25 MB / 0.7657 GB, free: 134.4 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Prismatic.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 6.9501299052499235]