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.001336/0.001336, allocations: 112.4 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.001492/0.001492, allocations: 204.1 kB / 24.46 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.474/1.474, allocations: 230.2 MB / 257.8 MB, free: 8.512 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.2277/0.2277, allocations: 46.89 MB / 361.1 MB, free: 4.641 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.002351/0.002351, allocations: 84.09 kB / 0.4968 GB, free: 7.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2959, allocations: 65.98 MB / 0.5612 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01516/0.311, allocations: 12.34 MB / 0.5733 GB, free: 8.625 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007824/0.3188, allocations: 3.902 MB / 0.5771 GB, free: 4.707 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001053/0.3199, allocations: 59.88 kB / 0.5771 GB, free: 4.648 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00265/0.3225, allocations: 1.347 MB / 0.5784 GB, free: 3.297 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003716/0.3263, allocations: 1.755 MB / 0.5801 GB, free: 1.535 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009776/0.3272, allocations: 419.2 kB / 0.5805 GB, free: 1.125 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004585/0.3318, allocations: 3.597 MB / 0.5841 GB, free: 13.52 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002311/0.3341, allocations: 1.614 MB / 0.5856 GB, free: 11.88 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001715/0.3359, allocations: 1.199 MB / 0.5868 GB, free: 10.67 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002466/0.3383, allocations: 1.916 MB / 0.5887 GB, free: 8.75 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004403/0.3388, allocations: 240 kB / 0.5889 GB, free: 8.516 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001573/0.3403, allocations: 0.8386 MB / 0.5897 GB, free: 7.676 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001542/0.3419, allocations: 1.601 MB / 0.5913 GB, free: 6.07 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001917/0.3438, allocations: 1.871 MB / 0.5931 GB, free: 4.188 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007198/0.351, allocations: 6.087 MB / 0.5991 GB, free: 14.07 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.351, allocations: 0 / 0.5991 GB, free: 14.07 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.351, allocations: 0 / 0.5991 GB, free: 14.07 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001317/0.3511, allocations: 0 / 0.5991 GB, free: 14.07 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.007227/0.3584, allocations: 4.148 MB / 0.6031 GB, free: 9.852 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.3584, allocations: 8.031 kB / 0.6031 GB, free: 9.844 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01147/0.3699, allocations: 3.102 MB / 0.6061 GB, free: 6.734 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004989/0.3749, allocations: 1.902 MB / 0.608 GB, free: 4.781 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001721/0.375, allocations: 189 kB / 0.6082 GB, free: 4.594 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006199/0.3756, allocations: 251.8 kB / 0.6084 GB, free: 4.348 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01606/0.3917, allocations: 10.18 MB / 0.6184 GB, free: 9.734 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-05/0.3918, allocations: 27.77 kB / 0.6184 GB, free: 9.707 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003847/0.3922, allocations: 115.8 kB / 0.6185 GB, free: 9.594 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004318/0.3965, allocations: 2.471 MB / 0.6209 GB, free: 7.117 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0177/0.4142, allocations: 9.349 MB / 0.63 GB, free: 13.75 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04795/0.4622, allocations: 31.52 MB / 0.6608 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006391/0.4685, allocations: 3.254 MB / 0.664 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001545/0.4701, allocations: 0.986 MB / 0.665 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001314/0.4714, allocations: 1.318 MB / 0.6663 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.279e-05/0.4714, allocations: 43.88 kB / 0.6663 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=185): time 4.168e-06/0.4715, allocations: 0 / 0.6663 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of matching and sorting (n=191): time 0.02028/0.4917, allocations: 9.169 MB / 0.6753 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.676e-05/0.4918, allocations: 68.72 kB / 0.6753 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003935/0.4957, allocations: 2.615 MB / 0.6779 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001317/0.4959, allocations: 49.7 kB / 0.6779 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002112/0.498, allocations: 2.768 MB / 0.6806 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007088/0.4987, allocations: 0.7401 MB / 0.6813 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001268/0.4999, allocations: 0.981 MB / 0.6823 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.5001, allocations: 305.1 kB / 0.6826 GB, free: 6.492 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00245/0.5025, allocations: 1.548 MB / 0.6841 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005172/0.5077, allocations: 4.387 MB / 0.6884 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008892/0.5166, allocations: 6.567 MB / 0.6948 GB, free: 7.176 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.485e-05/0.5167, allocations: 28 kB / 0.6948 GB, free: 7.148 MB / 0.5294 GB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01102/0.5277, allocations: 5.86 MB / 0.7006 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.645e-05/0.5278, allocations: 48 kB / 0.7006 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001104/0.5279, allocations: 104.1 kB / 0.7007 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003532/0.5282, allocations: 172.8 kB / 0.7009 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003123/0.5314, allocations: 1.068 MB / 0.7019 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001816/0.5332, allocations: 1.808 MB / 0.7037 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002514/0.5357, allocations: 203.9 kB / 0.7039 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000414/0.5361, allocations: 296 kB / 0.7041 GB, free: 13.46 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.003102/0.5392, allocations: 1.997 MB / 0.7061 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003568/0.5396, allocations: 254.3 kB / 0.7063 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004001/0.5436, allocations: 2.533 MB / 0.7088 GB, free: 8.633 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.134e-05/0.5436, allocations: 20 kB / 0.7088 GB, free: 8.613 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.5436, allocations: 11.94 kB / 0.7088 GB, free: 8.602 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.411e-05/0.5436, allocations: 7.969 kB / 0.7089 GB, free: 8.594 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01392/0.5576, allocations: 7.926 MB / 0.7166 GB, free: 484 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.615e-05/0.5576, allocations: 16 kB / 0.7166 GB, free: 468 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001028/0.5586, allocations: 247.6 kB / 0.7168 GB, free: 220 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001595/0.5588, allocations: 52.83 kB / 0.7169 GB, free: 164 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.621e-05/0.5588, allocations: 43.98 kB / 0.7169 GB, free: 120 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001639/0.5605, allocations: 1.626 MB / 0.7185 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.146e-05/0.5605, allocations: 19.92 kB / 0.7185 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005651/0.5662, allocations: 4.021 MB / 0.7225 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007476/0.5669, allocations: 319.4 kB / 0.7228 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000261/0.5672, allocations: 32.19 kB / 0.7228 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007796/0.5679, allocations: 67.92 kB / 0.7229 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002249/0.5682, allocations: 124.6 kB / 0.723 GB, free: 9.617 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000123/0.5683, allocations: 56 kB / 0.723 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002633/0.5709, allocations: 1.603 MB / 0.7246 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.5709, allocations: 0 / 0.7246 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003794/0.5747, allocations: 0.7773 MB / 0.7254 GB, free: 7.168 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.0005003/0.5752, allocations: 186.8 kB / 0.7255 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006459/0.5817, allocations: 3.727 MB / 0.7292 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/0.5817, allocations: 0 / 0.7292 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001769/0.5835, allocations: 1.171 MB / 0.7303 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001952/0.5854, allocations: 335.9 kB / 0.7306 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2545/0.84, allocations: 8.648 MB / 0.7391 GB, free: 154.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002603/0.8426, allocations: 3.139 MB / 0.7422 GB, free: 154 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002871/0.8454, allocations: 1.712 MB / 0.7438 GB, free: 154 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004093/0.8458, allocations: 184 kB / 0.744 GB, free: 154 MB / 0.5606 GB Notification: Performance of SimCode: time 8.71e-07/0.8458, allocations: 0 / 0.744 GB, free: 154 MB / 0.5606 GB Notification: Performance of Templates: time 0.03845/0.8843, allocations: 22.26 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 gbode -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.418510388117284]