Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 214.3 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.617/1.617, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2698/0.2698, allocations: 44.94 MB / 358.8 MB, free: 6.074 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.TestMove,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|ActuatedRevolute1.frame_b.r_0.1.|ActuatedRevolute1.frame_b.r_0.2.|ActuatedRevolute1.frame_b.r_0.3.|ActuatedRevolute1.frame_b.f.1.|ActuatedRevolute1.frame_b.f.2.|ActuatedRevolute1.frame_b.f.3.|ActuatedRevolute1.frame_b.t.1.|ActuatedRevolute1.frame_b.t.2.|ActuatedRevolute1.frame_b.t.3.|Multiplex3_1.y.1.|Multiplex3_1.y.2.|Multiplex3_1.y.3.|Constant1.y|Constant2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove") translateModel(ModelicaTest.Rotational.TestMove,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|ActuatedRevolute1.frame_b.r_0.1.|ActuatedRevolute1.frame_b.r_0.2.|ActuatedRevolute1.frame_b.r_0.3.|ActuatedRevolute1.frame_b.f.1.|ActuatedRevolute1.frame_b.f.2.|ActuatedRevolute1.frame_b.f.3.|ActuatedRevolute1.frame_b.t.1.|ActuatedRevolute1.frame_b.t.2.|ActuatedRevolute1.frame_b.t.3.|Multiplex3_1.y.1.|Multiplex3_1.y.2.|Multiplex3_1.y.3.|Constant1.y|Constant2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002157/0.002157, allocations: 72.17 kB / 0.4935 GB, free: 10.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3556, allocations: 65.47 MB / 0.5574 GB, free: 7.504 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01071/0.3664, allocations: 6.676 MB / 0.5639 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007661/0.374, allocations: 3.17 MB / 0.567 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009988/0.375, allocations: 43.81 kB / 0.5671 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001938/0.377, allocations: 0.7821 MB / 0.5678 GB, free: 12.78 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00358/0.3805, allocations: 1.323 MB / 0.5691 GB, free: 11.45 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001405/0.3819, allocations: 0.5301 MB / 0.5697 GB, free: 10.92 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003654/0.3856, allocations: 2.594 MB / 0.5722 GB, free: 8.324 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001549/0.3871, allocations: 1.157 MB / 0.5733 GB, free: 7.156 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001123/0.3883, allocations: 0.7861 MB / 0.5741 GB, free: 6.367 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001669/0.3899, allocations: 1.195 MB / 0.5753 GB, free: 5.168 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002897/0.3902, allocations: 136 kB / 0.5754 GB, free: 5.035 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001634/0.3919, allocations: 0.8268 MB / 0.5762 GB, free: 4.207 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001005/0.3929, allocations: 1.032 MB / 0.5772 GB, free: 3.172 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009241/0.3938, allocations: 0.8691 MB / 0.5781 GB, free: 2.297 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004722/0.3985, allocations: 4.041 MB / 0.582 GB, free: 14.24 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3985, allocations: 0 / 0.582 GB, free: 14.24 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.847e-06/0.3985, allocations: 4 kB / 0.582 GB, free: 14.24 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.117e-05/0.3986, allocations: 0 / 0.582 GB, free: 14.24 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 954 * Number of variables: 954 Notification: Performance of Generate backend data structure: time 0.005656/0.4042, allocations: 2.937 MB / 0.5849 GB, free: 11.26 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.4043, allocations: 12.02 kB / 0.5849 GB, free: 11.25 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005994/0.4103, allocations: 1.664 MB / 0.5865 GB, free: 9.578 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002884/0.4132, allocations: 1.271 MB / 0.5877 GB, free: 8.277 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/0.4133, allocations: 123.4 kB / 0.5879 GB, free: 8.156 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003662/0.4137, allocations: 168 kB / 0.588 GB, free: 7.992 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01007/0.4237, allocations: 6.46 MB / 0.5943 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.977e-05/0.4238, allocations: 31.7 kB / 0.5944 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002418/0.424, allocations: 87.89 kB / 0.5944 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002657/0.4267, allocations: 1.441 MB / 0.5959 GB, free: 15.44 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0108/0.4375, allocations: 5.712 MB / 0.6014 GB, free: 9.727 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03311/0.4706, allocations: 25.24 MB / 0.6261 GB, free: 15.64 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004234/0.4748, allocations: 1.616 MB / 0.6277 GB, free: 13.99 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001427/0.4763, allocations: 0.9604 MB / 0.6286 GB, free: 13.02 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001258/0.4764, allocations: 20.31 kB / 0.6286 GB, free: 13 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.288e-05/0.4764, allocations: 54.75 kB / 0.6287 GB, free: 12.93 MB / 478.1 MB Notification: Performance of pre-optimization done (n=100): time 3.627e-06/0.4764, allocations: 0 / 0.6287 GB, free: 12.93 MB / 478.1 MB Notification: Performance of matching and sorting (n=112): time 0.01601/0.4924, allocations: 6.507 MB / 0.635 GB, free: 6.41 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.4925, allocations: 141 kB / 0.6352 GB, free: 6.242 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003711/0.4963, allocations: 2.666 MB / 0.6378 GB, free: 3.543 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001258/0.4964, allocations: 41.7 kB / 0.6378 GB, free: 3.496 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001754/0.4981, allocations: 2.213 MB / 0.64 GB, free: 1.258 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004948/0.4986, allocations: 480.4 kB / 0.6404 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001208/0.4998, allocations: 0.9052 MB / 0.6413 GB, free: 15.86 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.5, allocations: 353.9 kB / 0.6416 GB, free: 15.51 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002249/0.5023, allocations: 1.426 MB / 0.643 GB, free: 14.08 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00489/0.5072, allocations: 4.299 MB / 0.6472 GB, free: 8.328 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008375/0.5155, allocations: 6.207 MB / 0.6533 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.212e-05/0.5156, allocations: 28 kB / 0.6533 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.009983/0.5256, allocations: 5.485 MB / 0.6587 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.778e-05/0.5257, allocations: 48 kB / 0.6587 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001237/0.5258, allocations: 108.1 kB / 0.6588 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001408/0.5259, allocations: 132 kB / 0.6589 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004169/0.5301, allocations: 1.228 MB / 0.6601 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001791/0.5303, allocations: 207.2 kB / 0.6603 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002836/0.5331, allocations: 251.8 kB / 0.6606 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000365/0.5335, allocations: 283.1 kB / 0.6609 GB, free: 8.941 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 18 (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],ActuatedRevolute1.cylinderColor[3],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (557): * Single equations (assignments): 554 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002097/0.5356, allocations: 1.376 MB / 0.6622 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003946/0.536, allocations: 222.5 kB / 0.6624 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002062/0.538, allocations: 1.211 MB / 0.6636 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.611e-05/0.5381, allocations: 15.98 kB / 0.6636 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.5381, allocations: 4 kB / 0.6636 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/0.5381, allocations: 11.92 kB / 0.6636 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007491/0.5456, allocations: 3.927 MB / 0.6675 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.166e-05/0.5456, allocations: 4 kB / 0.6675 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001856/0.5474, allocations: 371.8 kB / 0.6678 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.217e-05/0.5474, allocations: 8 kB / 0.6678 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.439e-05/0.5475, allocations: 28 kB / 0.6679 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.256e-05/0.5475, allocations: 11.94 kB / 0.6679 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.5475, allocations: 4 kB / 0.6679 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002844/0.5504, allocations: 2.148 MB / 0.67 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004793/0.5509, allocations: 198.4 kB / 0.6702 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002159/0.5511, allocations: 20 kB / 0.6702 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008449/0.5519, allocations: 63.92 kB / 0.6702 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000149/0.5521, allocations: 71.77 kB / 0.6703 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.247e-05/0.5522, allocations: 32 kB / 0.6703 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002222/0.5544, allocations: 1.516 MB / 0.6718 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5544, allocations: 3.938 kB / 0.6718 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003355/0.5577, allocations: 0.6092 MB / 0.6724 GB, free: 12.89 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 0 () * 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 (90): * Single equations (assignments): 87 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004427/0.5582, allocations: 154.8 kB / 0.6726 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005631/0.5638, allocations: 3.153 MB / 0.6756 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.289e-05/0.5638, allocations: 4 kB / 0.6756 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001166/0.565, allocations: 0.7424 MB / 0.6764 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001688/0.5667, allocations: 238.9 kB / 0.6766 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01172/0.5784, allocations: 5.582 MB / 0.682 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003126/0.5815, allocations: 1.638 MB / 0.6836 GB, free: 1.266 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003697/0.5852, allocations: 1.422 MB / 0.685 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000653/0.5859, allocations: 163.3 kB / 0.6852 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of SimCode: time 2.785e-06/0.5859, allocations: 0 / 0.6852 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of Templates: time 0.04511/0.631, allocations: 19.28 MB / 0.704 GB, free: 12.66 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestMove/TestMove.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.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.501911856234074]