Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.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.001409/0.001409, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001783/0.001783, allocations: 214.1 kB / 22.99 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.549/1.549, allocations: 207.7 MB / 233.8 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3211/0.3211, allocations: 44.26 MB / 330.3 MB, free: 9.312 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002607/0.002607, allocations: 80.41 kB / 468 MB, free: 3.84 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.1912, allocations: 61.04 MB / 0.5167 GB, free: 6.672 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.02245/0.2136, allocations: 16.09 MB / 0.5324 GB, free: 6.504 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01763/0.2312, allocations: 5.164 MB / 0.5374 GB, free: 1.324 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006844/0.2381, allocations: 127.4 kB / 0.5375 GB, free: 1.199 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3949/0.633, allocations: 2.999 MB / 0.5405 GB, free: 10.34 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01124/0.6442, allocations: 2.721 MB / 0.5431 GB, free: 10.25 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00381/0.6481, allocations: 1.03 MB / 0.5441 GB, free: 10.22 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01691/0.665, allocations: 7.404 MB / 0.5514 GB, free: 10.18 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009678/0.6746, allocations: 3.669 MB / 0.5549 GB, free: 9.176 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008361/0.683, allocations: 2.343 MB / 0.5572 GB, free: 8.371 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00983/0.6928, allocations: 3.405 MB / 0.5605 GB, free: 7.5 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0038/0.6966, allocations: 457.2 kB / 0.561 GB, free: 7.5 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007053/0.7037, allocations: 1.218 MB / 0.5622 GB, free: 7.332 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006122/0.7098, allocations: 2.942 MB / 0.565 GB, free: 5.855 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00997/0.7198, allocations: 2.432 MB / 0.5674 GB, free: 4.25 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02258/0.7424, allocations: 10.25 MB / 0.5774 GB, free: 13.51 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.999e-06/0.7424, allocations: 0 / 0.5774 GB, free: 13.51 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.935e-06/0.7424, allocations: 0 / 0.5774 GB, free: 13.51 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006889/0.7431, allocations: 0 / 0.5774 GB, free: 13.51 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: 2212 * Number of variables: 2212 Notification: Performance of Generate backend data structure: time 0.03253/0.7756, allocations: 7.424 MB / 0.5847 GB, free: 8.621 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.493e-05/0.7757, allocations: 8.281 kB / 0.5847 GB, free: 8.621 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0188/0.7945, allocations: 3.883 MB / 0.5885 GB, free: 6.539 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01606/0.8105, allocations: 4.279 MB / 0.5927 GB, free: 2.262 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005483/0.8111, allocations: 330.6 kB / 0.593 GB, free: 1.992 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003356/0.8144, allocations: 437.3 kB / 0.5934 GB, free: 1.621 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0446/0.859, allocations: 15.88 MB / 0.6089 GB, free: 1.164 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005027/0.8595, allocations: 58.03 kB / 0.609 GB, free: 1.109 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002911/0.8625, allocations: 206.4 kB / 0.6092 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008376/0.8708, allocations: 3.468 MB / 0.6125 GB, free: 13.51 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04253/0.9134, allocations: 14.86 MB / 0.6271 GB, free: 14.64 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1242/1.038, allocations: 52 MB / 0.6778 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02341/1.061, allocations: 6.933 MB / 0.6846 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009513/1.071, allocations: 4.478 MB / 0.689 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002076/1.073, allocations: 0.6506 MB / 0.6896 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001223/1.073, allocations: 65.08 kB / 0.6897 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=367): time 1.098e-05/1.073, allocations: 0 / 0.6897 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of matching and sorting (n=419): time 0.139/1.212, allocations: 40.16 MB / 0.7289 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001352/1.212, allocations: 116 kB / 0.729 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01237/1.224, allocations: 4.244 MB / 0.7331 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.002194/1.226, allocations: 91.67 kB / 0.7332 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.005481/1.232, allocations: 4.043 MB / 0.7372 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.004395/1.236, allocations: 1.564 MB / 0.7387 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008979/1.245, allocations: 1.591 MB / 0.7403 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001756/1.245, allocations: 305.1 kB / 0.7406 GB, free: 9.637 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009176/1.255, allocations: 4.083 MB / 0.7445 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01493/1.27, allocations: 7.934 MB / 0.7523 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3797/1.649, allocations: 12.96 MB / 0.7649 GB, free: 185.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001888/1.649, allocations: 37.19 kB / 0.765 GB, free: 185.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1048) (initialization): time 0.03774/1.687, allocations: 14.76 MB / 0.7794 GB, free: 182.6 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001333/1.687, allocations: 64.72 kB / 0.7795 GB, free: 182.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003013/1.688, allocations: 129.7 kB / 0.7796 GB, free: 182.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009935/1.698, allocations: 2.929 MB / 0.7824 GB, free: 182.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007749/1.705, allocations: 1.828 MB / 0.7842 GB, free: 182 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01995/1.725, allocations: 15.55 MB / 0.7994 GB, free: 175 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009124/1.734, allocations: 0.5023 MB / 0.7999 GB, free: 174.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001924/1.736, allocations: 435.9 kB / 0.8003 GB, free: 174.8 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 592 * Number of states: 0 () * Number of discrete variables: 48 (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 (951): * Single equations (assignments): 943 * 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.006518/1.743, allocations: 2.91 MB / 0.8032 GB, free: 173.6 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001068/1.744, allocations: 464.1 kB / 0.8036 GB, free: 173.6 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01706/1.761, allocations: 10.88 MB / 0.8142 GB, free: 170 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.26e-05/1.761, allocations: 64.2 kB / 0.8143 GB, free: 170 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.048e-05/1.761, allocations: 9.938 kB / 0.8143 GB, free: 170 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-05/1.761, allocations: 18.27 kB / 0.8143 GB, free: 170 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03301/1.794, allocations: 19.51 MB / 0.8334 GB, free: 151.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.654e-05/1.794, allocations: 12.06 kB / 0.8334 GB, free: 151.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003216/1.797, allocations: 0.6864 MB / 0.8341 GB, free: 151 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007123/1.804, allocations: 2.732 MB / 0.8367 GB, free: 148.2 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001017/1.805, allocations: 79.5 kB / 0.8368 GB, free: 148.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01649/1.822, allocations: 14.15 MB / 0.8506 GB, free: 133.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.317e-05/1.822, allocations: 19.94 kB / 0.8506 GB, free: 133.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02429/1.846, allocations: 15.54 MB / 0.8658 GB, free: 118.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004466/1.851, allocations: 1.091 MB / 0.8669 GB, free: 117.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001925/1.853, allocations: 72 kB / 0.8669 GB, free: 117.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004068/1.857, allocations: 319.4 kB / 0.8672 GB, free: 116.8 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001138/1.858, allocations: 275.3 kB / 0.8675 GB, free: 116.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005795/1.858, allocations: 116 kB / 0.8676 GB, free: 116.4 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005255/1.864, allocations: 2.482 MB / 0.87 GB, free: 113.9 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/1.864, allocations: 0 / 0.87 GB, free: 113.9 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0118/1.875, allocations: 1.685 MB / 0.8717 GB, free: 112.2 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 7 (revolute.phi,revolute.w,constantSpeed.phi,revolute2.phi,revolute2.w,revolute3.phi,revolute3.w) * 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 (334): * Single equations (assignments): 326 * 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 {(1,9,100.0%), (6,29,69.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001893/1.877, allocations: 239.2 kB / 0.8719 GB, free: 112 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0191/1.896, allocations: 9.679 MB / 0.8814 GB, free: 102.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.818e-05/1.896, allocations: 4.375 kB / 0.8814 GB, free: 102.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.008096/1.905, allocations: 4.075 MB / 0.8854 GB, free: 98.22 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008191/1.913, allocations: 0.6058 MB / 0.8859 GB, free: 97.64 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03908/1.952, allocations: 16.23 MB / 0.9018 GB, free: 81.25 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01068/1.963, allocations: 4.121 MB / 0.9058 GB, free: 77.1 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.008766/1.971, allocations: 2.694 MB / 0.9084 GB, free: 74.4 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002536/1.974, allocations: 335.4 kB / 0.9088 GB, free: 74.07 MB / 0.5919 GB Notification: Performance of SimCode: time 3.226e-06/1.974, allocations: 0 / 0.9088 GB, free: 74.07 MB / 0.5919 GB Notification: Performance of Templates: time 0.1134/2.087, allocations: 70.83 MB / 0.9779 GB, free: 3.16 MB / 0.5919 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Revolute2/Revolute2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 9.571546962484717]