Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotion2.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.001489/0.001489, allocations: 114 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.001641/0.001641, allocations: 214.1 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.44/1.44, allocations: 230.2 MB / 257.8 MB, free: 8.484 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.2403/0.2403, allocations: 46.89 MB / 361.1 MB, free: 4.613 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.FreeMotion2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.r_rel_a.1.|freeMotion.v_rel_a.1.|prismatic1.s|prismatic1.v|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotion2") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.r_rel_a.1.|freeMotion.v_rel_a.1.|prismatic1.s|prismatic1.v|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotion2") [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.00233/0.00233, allocations: 91.84 kB / 0.4968 GB, free: 7.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.3623, allocations: 65.98 MB / 0.5612 GB, free: 4.988 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.01768/0.38, allocations: 14.76 MB / 0.5756 GB, free: 6.164 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01134/0.3913, allocations: 5.041 MB / 0.5806 GB, free: 1.105 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002761/0.3941, allocations: 103.7 kB / 0.5807 GB, free: 1.004 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008534/0.4026, allocations: 4.217 MB / 0.5848 GB, free: 12.77 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008064/0.4107, allocations: 2.369 MB / 0.5871 GB, free: 10.39 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003001/0.4137, allocations: 1.08 MB / 0.5881 GB, free: 9.312 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01153/0.4252, allocations: 7.165 MB / 0.5951 GB, free: 2.133 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005565/0.4308, allocations: 3.733 MB / 0.5988 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004073/0.4349, allocations: 2.243 MB / 0.601 GB, free: 12.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005007/0.4399, allocations: 3.283 MB / 0.6042 GB, free: 8.793 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001093/0.441, allocations: 496 kB / 0.6047 GB, free: 8.309 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00273/0.4437, allocations: 1.393 MB / 0.606 GB, free: 6.914 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003505/0.4472, allocations: 2.801 MB / 0.6087 GB, free: 4.105 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006692/0.4539, allocations: 3.127 MB / 0.6118 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01253/0.4664, allocations: 9.81 MB / 0.6214 GB, free: 7.109 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.4664, allocations: 3.938 kB / 0.6214 GB, free: 7.105 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4664, allocations: 4 kB / 0.6214 GB, free: 7.102 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003211/0.4668, allocations: 0 / 0.6214 GB, free: 7.102 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: 1953 * Number of variables: 1953 Notification: Performance of Generate backend data structure: time 0.01972/0.4865, allocations: 7.036 MB / 0.6283 GB, free: 15.97 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/0.4865, allocations: 8.031 kB / 0.6283 GB, free: 15.96 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02761/0.5141, allocations: 3.351 MB / 0.6315 GB, free: 12.61 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.012/0.5261, allocations: 4.436 MB / 0.6359 GB, free: 8.117 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000335/0.5265, allocations: 324.8 kB / 0.6362 GB, free: 7.797 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001569/0.528, allocations: 443.7 kB / 0.6366 GB, free: 7.363 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02598/0.554, allocations: 13.1 MB / 0.6494 GB, free: 9.395 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002269/0.5542, allocations: 71.47 kB / 0.6495 GB, free: 9.324 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006562/0.5549, allocations: 207.8 kB / 0.6497 GB, free: 9.121 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004936/0.5598, allocations: 2.531 MB / 0.6521 GB, free: 6.59 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02486/0.5847, allocations: 11.38 MB / 0.6632 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07617/0.6609, allocations: 52.83 MB / 0.7148 GB, free: 4.844 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0137/0.6746, allocations: 5.457 MB / 0.7202 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004601/0.6792, allocations: 3.211 MB / 0.7233 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008359/0.68, allocations: 0.6839 MB / 0.724 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.072e-05/0.6801, allocations: 68.48 kB / 0.724 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=245): time 5.661e-06/0.6801, allocations: 0 / 0.724 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of matching and sorting (n=315): time 0.3672/1.047, allocations: 36.76 MB / 0.7599 GB, free: 144.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.426e-05/1.047, allocations: 270.6 kB / 0.7602 GB, free: 144.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005907/1.053, allocations: 5.177 MB / 0.7653 GB, free: 139.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005738/1.054, allocations: 77.3 kB / 0.7653 GB, free: 139 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001846/1.056, allocations: 4.02 MB / 0.7693 GB, free: 135.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001/1.057, allocations: 1.225 MB / 0.7704 GB, free: 134.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001667/1.058, allocations: 1.6 MB / 0.772 GB, free: 132.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.93e-05/1.058, allocations: 305.1 kB / 0.7723 GB, free: 132.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003823/1.062, allocations: 3.631 MB / 0.7758 GB, free: 128.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005171/1.067, allocations: 7.812 MB / 0.7835 GB, free: 118.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01009/1.077, allocations: 12.24 MB / 0.7954 GB, free: 104.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.054e-05/1.078, allocations: 40 kB / 0.7955 GB, free: 104.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1024) (initialization): time 0.01986/1.097, allocations: 13.72 MB / 0.8089 GB, free: 90.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.265e-05/1.098, allocations: 67.98 kB / 0.8089 GB, free: 90.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000124/1.098, allocations: 155.7 kB / 0.8091 GB, free: 90.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005883/1.104, allocations: 2.758 MB / 0.8118 GB, free: 87.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005556/1.109, allocations: 1.778 MB / 0.8135 GB, free: 86.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01753/1.127, allocations: 17.8 MB / 0.8309 GB, free: 67.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008085/1.135, allocations: 483.3 kB / 0.8314 GB, free: 67.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001671/1.136, allocations: 451.9 kB / 0.8318 GB, free: 67.05 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 656 * Number of states: 0 () * Number of discrete variables: 44 (freeMotion.arrow.twoHeadedArrow,freeMotion.arrow.headAtOrigin,universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (948): * Single equations (assignments): 943 * Array equations: 3 * 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 {(3,24,100.0%), (3,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004344/1.141, allocations: 2.743 MB / 0.8345 GB, free: 64.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001006/1.142, allocations: 0.4967 MB / 0.835 GB, free: 63.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01174/1.153, allocations: 8.012 MB / 0.8428 GB, free: 55.72 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.275e-05/1.153, allocations: 16.22 kB / 0.8428 GB, free: 55.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/1.153, allocations: 0 / 0.8428 GB, free: 55.71 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001544/1.155, allocations: 0.5522 MB / 0.8433 GB, free: 55.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007782/1.156, allocations: 55.98 kB / 0.8434 GB, free: 55.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002294/1.158, allocations: 219.7 kB / 0.8436 GB, free: 54.86 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000448/1.159, allocations: 217.7 kB / 0.8438 GB, free: 54.65 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01335/1.172, allocations: 8.417 MB / 0.852 GB, free: 46.24 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01067/1.183, allocations: 10.29 MB / 0.8621 GB, free: 35.87 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002708/1.185, allocations: 2.652 MB / 0.8647 GB, free: 33.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004069/1.189, allocations: 3.26 MB / 0.8678 GB, free: 29.96 MB / 0.5606 GB Notification: Performance of Backend: time 3.6e-07/1.189, allocations: 0 / 0.8678 GB, free: 29.96 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01122/1.201, allocations: 6.257 MB / 0.874 GB, free: 23.71 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01904/1.22, allocations: 13.43 MB / 0.8871 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of Templates: time 0.1473/1.367, allocations: 81.73 MB / 0.9669 GB, free: 8.789 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotion2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotion2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotion2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotion2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/FreeMotion2/FreeMotion2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotion2.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.287352637853473]