Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute2.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.001372/0.001372, allocations: 112.6 kB / 21.18 MB, free: 0.7422 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.002041/0.002041, allocations: 212.2 kB / 24.48 MB, free: 4.191 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.494/1.494, allocations: 230.2 MB / 257.8 MB, free: 8.492 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.2336/0.2336, allocations: 46.89 MB / 361.1 MB, free: 4.637 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.Revolute2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|revolute1.phi|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute2") translateModel(ModelicaTest.MultiBody.Joints.Revolute2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|revolute1.phi|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute2") [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.002308/0.002308, allocations: 75.88 kB / 0.4968 GB, free: 7.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3535, allocations: 66 MB / 0.5612 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.02269/0.3762, allocations: 18.25 MB / 0.579 GB, free: 2.68 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01319/0.3894, allocations: 5.33 MB / 0.5843 GB, free: 13.33 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003713/0.3931, allocations: 107.8 kB / 0.5844 GB, free: 13.23 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00736/0.4005, allocations: 3.106 MB / 0.5874 GB, free: 10.11 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007735/0.4082, allocations: 2.603 MB / 0.5899 GB, free: 7.496 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002998/0.4112, allocations: 1.026 MB / 0.5909 GB, free: 6.469 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01205/0.4233, allocations: 7.671 MB / 0.5984 GB, free: 14.79 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006297/0.4296, allocations: 3.281 MB / 0.6016 GB, free: 11.45 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004984/0.4346, allocations: 2.258 MB / 0.6038 GB, free: 9.188 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00616/0.4407, allocations: 3.516 MB / 0.6073 GB, free: 5.66 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001962/0.4427, allocations: 452 kB / 0.6077 GB, free: 5.219 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004105/0.4468, allocations: 1.326 MB / 0.609 GB, free: 3.891 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005053/0.4518, allocations: 2.875 MB / 0.6118 GB, free: 1.008 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007068/0.4589, allocations: 3.18 MB / 0.6149 GB, free: 13.8 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0169/0.4758, allocations: 9.986 MB / 0.6247 GB, free: 3.781 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.4758, allocations: 0 / 0.6247 GB, free: 3.781 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.4758, allocations: 0 / 0.6247 GB, free: 3.781 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004853/0.4763, allocations: 0 / 0.6247 GB, free: 3.781 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2169 * Number of variables: 2169 Notification: Performance of Generate backend data structure: time 0.02393/0.5002, allocations: 7.389 MB / 0.6319 GB, free: 12.3 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.799e-05/0.5003, allocations: 8.031 kB / 0.6319 GB, free: 12.29 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01757/0.5179, allocations: 3.873 MB / 0.6357 GB, free: 8.41 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01182/0.5297, allocations: 4.035 MB / 0.6396 GB, free: 4.316 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004386/0.5301, allocations: 320.4 kB / 0.6399 GB, free: 4 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002206/0.5323, allocations: 431.8 kB / 0.6403 GB, free: 3.578 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03592/0.5683, allocations: 15.59 MB / 0.6555 GB, free: 3.258 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003977/0.5686, allocations: 59.58 kB / 0.6556 GB, free: 3.199 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002073/0.5707, allocations: 195.8 kB / 0.6558 GB, free: 3.008 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007044/0.5778, allocations: 3.384 MB / 0.6591 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03252/0.6103, allocations: 14.82 MB / 0.6736 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09858/0.7089, allocations: 55.08 MB / 0.7273 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01904/0.7279, allocations: 7.876 MB / 0.735 GB, free: 416 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2948/1.023, allocations: 4.462 MB / 0.7394 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001665/1.024, allocations: 2.216 MB / 0.7416 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/1.024, allocations: 64.92 kB / 0.7416 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=367): time 7.584e-06/1.024, allocations: 0 / 0.7416 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=419): time 0.09209/1.116, allocations: 40.22 MB / 0.7809 GB, free: 123.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/1.117, allocations: 115.8 kB / 0.781 GB, free: 123.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004581/1.121, allocations: 4.299 MB / 0.7852 GB, free: 119.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008889/1.122, allocations: 85.7 kB / 0.7853 GB, free: 119 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001709/1.124, allocations: 3.927 MB / 0.7891 GB, free: 115.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001496/1.125, allocations: 1.57 MB / 0.7907 GB, free: 114 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00188/1.127, allocations: 1.577 MB / 0.7922 GB, free: 112.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.233e-05/1.127, allocations: 301.1 kB / 0.7925 GB, free: 112.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00438/1.132, allocations: 4.076 MB / 0.7965 GB, free: 108 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005881/1.137, allocations: 7.839 MB / 0.8041 GB, free: 98.43 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0123/1.15, allocations: 12.89 MB / 0.8167 GB, free: 83.72 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.212e-05/1.15, allocations: 36 kB / 0.8167 GB, free: 83.69 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1039) (initialization): time 0.02314/1.173, allocations: 14.73 MB / 0.8311 GB, free: 68.92 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.645e-05/1.173, allocations: 60 kB / 0.8312 GB, free: 68.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001054/1.173, allocations: 128 kB / 0.8313 GB, free: 68.74 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007201/1.18, allocations: 2.931 MB / 0.8342 GB, free: 65.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00629/1.187, allocations: 1.806 MB / 0.8359 GB, free: 63.99 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01671/1.203, allocations: 15.96 MB / 0.8515 GB, free: 47.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006256/1.21, allocations: 0.4918 MB / 0.852 GB, free: 47.26 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001388/1.211, allocations: 443.1 kB / 0.8524 GB, free: 46.83 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 583 * Number of states: 0 () * Number of discrete variables: 50 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (942): * Single equations (assignments): 934 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,32,69.4%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004937/1.216, allocations: 2.873 MB / 0.8552 GB, free: 43.95 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001097/1.217, allocations: 476.8 kB / 0.8557 GB, free: 43.48 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01606/1.233, allocations: 10.89 MB / 0.8663 GB, free: 32.53 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.156e-05/1.233, allocations: 19.92 kB / 0.8663 GB, free: 32.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/1.233, allocations: 0 / 0.8663 GB, free: 32.51 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001267/1.234, allocations: 0.494 MB / 0.8668 GB, free: 32 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001106/1.236, allocations: 65.2 kB / 0.8669 GB, free: 31.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002477/1.238, allocations: 307.5 kB / 0.8672 GB, free: 31.63 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005622/1.239, allocations: 254.5 kB / 0.8674 GB, free: 31.38 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01574/1.254, allocations: 9.745 MB / 0.8769 GB, free: 21.68 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01324/1.268, allocations: 12.64 MB / 0.8893 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003444/1.271, allocations: 3.322 MB / 0.8925 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003212/1.274, allocations: 2.676 MB / 0.8951 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of Backend: time 2e-07/1.274, allocations: 0 / 0.8951 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01209/1.286, allocations: 6.636 MB / 0.9016 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of SimCode: time 0.02395/1.31, allocations: 13.77 MB / 0.9151 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of Templates: time 0.427/1.737, allocations: 87.72 MB / 1.001 GB, free: 208.2 MB / 0.6387 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Revolute2/Revolute2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute2.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: 8.447958751115948]