Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.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.001857/0.001857, allocations: 85.91 kB / 20.68 MB, free: 1.035 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.002277/0.002277, allocations: 164.8 kB / 23.96 MB, free: 4.164 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.437/1.437, allocations: 177.1 MB / 204.3 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2181/0.2181, allocations: 34.27 MB / 295 MB, free: 14.55 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+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.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 3.938 kB / 442.7 MB, free: 5.367 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.75e-05/2.904e-05, allocations: 5.656 kB / 442.7 MB, free: 5.363 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.2321/0.2322, allocations: 10.73 MB / 453.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007712/0.2399, allocations: 3.763 MB / 457.2 MB, free: 11.49 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002165/0.242, allocations: 69.34 kB / 457.2 MB, free: 11.47 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003273/0.2453, allocations: 1.345 MB / 458.6 MB, free: 10.93 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004723/0.25, allocations: 1.832 MB / 460.4 MB, free: 10.13 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001416/0.2515, allocations: 0.5183 MB / 460.9 MB, free: 9.938 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005178/0.2566, allocations: 3.97 MB / 464.9 MB, free: 8.453 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002728/0.2594, allocations: 2.091 MB / 467 MB, free: 7.539 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002788/0.2621, allocations: 1.84 MB / 468.8 MB, free: 6.723 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002674/0.2648, allocations: 1.926 MB / 470.8 MB, free: 5.672 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004802/0.2653, allocations: 238.8 kB / 471 MB, free: 5.672 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002042/0.2673, allocations: 0.9132 MB / 471.9 MB, free: 5.324 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001294/0.2686, allocations: 1.675 MB / 473.6 MB, free: 4.355 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001268/0.2699, allocations: 0.9976 MB / 474.6 MB, free: 3.781 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006384/0.2763, allocations: 6.172 MB / 480.8 MB, free: 15.63 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.2763, allocations: 0 / 480.8 MB, free: 15.63 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2763, allocations: 0 / 480.8 MB, free: 15.63 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001442/0.2764, allocations: 1.781 kB / 480.8 MB, free: 15.63 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.01325/0.2897, allocations: 4.173 MB / 484.9 MB, free: 11.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.2897, allocations: 8.031 kB / 484.9 MB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01204/0.3018, allocations: 3.149 MB / 488.1 MB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004509/0.3063, allocations: 1.816 MB / 489.9 MB, free: 6.676 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00017/0.3065, allocations: 189.7 kB / 490.1 MB, free: 6.488 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006242/0.3071, allocations: 252.1 kB / 490.3 MB, free: 6.242 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01733/0.3244, allocations: 10.49 MB / 0.4891 GB, free: 11.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-05/0.3245, allocations: 39.69 kB / 0.4891 GB, free: 11.28 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004067/0.3249, allocations: 119.8 kB / 0.4892 GB, free: 11.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004739/0.3297, allocations: 2.556 MB / 0.4917 GB, free: 8.605 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01945/0.3491, allocations: 9.894 MB / 0.5014 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05453/0.4036, allocations: 31.85 MB / 0.5325 GB, free: 14.05 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01004/0.4137, allocations: 4.147 MB / 0.5366 GB, free: 9.887 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003117/0.4168, allocations: 2.12 MB / 0.5386 GB, free: 7.773 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001221/0.418, allocations: 0.5478 MB / 0.5392 GB, free: 7.227 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.769e-05/0.4181, allocations: 56.56 kB / 0.5392 GB, free: 7.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=229): time 4.719e-06/0.4181, allocations: 0 / 0.5392 GB, free: 7.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=235): time 0.03504/0.4531, allocations: 14.35 MB / 0.5532 GB, free: 8.801 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.164e-05/0.4532, allocations: 69.41 kB / 0.5533 GB, free: 8.719 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00398/0.4572, allocations: 2.691 MB / 0.5559 GB, free: 5.996 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002112/0.4574, allocations: 57.7 kB / 0.556 GB, free: 5.934 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002052/0.4594, allocations: 2.733 MB / 0.5586 GB, free: 3.172 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009135/0.4603, allocations: 0.8719 MB / 0.5595 GB, free: 2.293 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001494/0.4618, allocations: 1.037 MB / 0.5605 GB, free: 1.246 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.462, allocations: 361.9 kB / 0.5609 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003347/0.4654, allocations: 2.208 MB / 0.563 GB, free: 14.67 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005713/0.4711, allocations: 5.071 MB / 0.568 GB, free: 8.195 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01093/0.482, allocations: 7.973 MB / 0.5758 GB, free: 14.81 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.149e-05/0.4821, allocations: 31.94 kB / 0.5758 GB, free: 14.78 MB / 494.1 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.01451/0.4966, allocations: 7.877 MB / 0.5835 GB, free: 6.887 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.834e-05/0.4967, allocations: 48.97 kB / 0.5835 GB, free: 6.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001126/0.4968, allocations: 100 kB / 0.5836 GB, free: 6.742 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002502/0.4993, allocations: 0.7879 MB / 0.5844 GB, free: 5.953 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003858/0.5032, allocations: 1.189 MB / 0.5855 GB, free: 4.762 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006429/0.5096, allocations: 4.374 MB / 0.5898 GB, free: 296 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003708/0.5133, allocations: 323.8 kB / 0.5901 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005632/0.5139, allocations: 299.9 kB / 0.5904 GB, free: 15.68 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 454 * 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],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 (635): * Single equations (assignments): 628 * 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,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003851/0.5177, allocations: 2.017 MB / 0.5924 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005116/0.5182, allocations: 262.2 kB / 0.5926 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008538/0.5268, allocations: 4.711 MB / 0.5972 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.285e-05/0.5268, allocations: 44 kB / 0.5973 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.5268, allocations: 0 / 0.5973 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.352e-05/0.5269, allocations: 19.77 kB / 0.5973 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01715/0.544, allocations: 9.263 MB / 0.6063 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.495e-05/0.544, allocations: 8 kB / 0.6063 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001628/0.5456, allocations: 359.5 kB / 0.6067 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0022/0.5478, allocations: 0.6565 MB / 0.6073 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001576/0.548, allocations: 43.98 kB / 0.6074 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005511/0.5535, allocations: 3.764 MB / 0.611 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-05/0.5535, allocations: 11.94 kB / 0.6111 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01142/0.5649, allocations: 7.111 MB / 0.618 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007381/0.5657, allocations: 246.3 kB / 0.6182 GB, free: 2.777 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003349/0.566, allocations: 43.98 kB / 0.6183 GB, free: 2.734 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001376/0.5674, allocations: 171.7 kB / 0.6184 GB, free: 2.566 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003714/0.5678, allocations: 140.9 kB / 0.6186 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001693/0.5679, allocations: 60 kB / 0.6186 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002396/0.5703, allocations: 1.54 MB / 0.6201 GB, free: 0.8164 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.5703, allocations: 0 / 0.6201 GB, free: 0.8164 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003936/0.5743, allocations: 0.9959 MB / 0.6211 GB, free: 15.82 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.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 (178): * Single equations (assignments): 171 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005036/0.5748, allocations: 182.8 kB / 0.6213 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00803/0.5828, allocations: 5.162 MB / 0.6263 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/0.5828, allocations: 4 kB / 0.6263 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002753/0.5856, allocations: 1.874 MB / 0.6282 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001745/0.5873, allocations: 280.9 kB / 0.6284 GB, free: 8.324 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2172/0.8045, allocations: 9.478 MB / 0.6377 GB, free: 171 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003798/0.8083, allocations: 2.621 MB / 0.6402 GB, free: 170.8 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004728/0.813, allocations: 1.938 MB / 0.6421 GB, free: 170.8 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007177/0.8138, allocations: 200.3 kB / 0.6423 GB, free: 170.8 MB / 0.5294 GB Notification: Performance of SimCode: time 1.232e-06/0.8138, allocations: 0 / 0.6423 GB, free: 170.8 MB / 0.5294 GB Notification: Performance of Templates: time 0.04938/0.8631, allocations: 25.11 MB / 0.6668 GB, free: 163.2 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.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.670869965106249]