Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.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.00102/0.00102, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 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.0009276/0.0009276, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 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 0.9465/0.9465, allocations: 177 MB / 204.8 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2697/0.2697, allocations: 34.86 MB / 296.3 MB, free: 0.5352 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 378.8 MB, free: 2.078 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.048e-05/2.224e-05, allocations: 10.25 kB / 378.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01986/0.01988, allocations: 11.82 MB / 390.6 MB, free: 6.191 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00612/0.026, allocations: 3.874 MB / 394.5 MB, free: 2.305 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007224/0.02672, allocations: 67.75 kB / 394.5 MB, free: 2.238 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001889/0.02861, allocations: 1.397 MB / 395.9 MB, free: 0.8359 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00248/0.03109, allocations: 1.836 MB / 397.8 MB, free: 14.99 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007322/0.03182, allocations: 0.5261 MB / 398.3 MB, free: 14.46 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003409/0.03523, allocations: 3.984 MB / 402.3 MB, free: 10.48 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001813/0.03704, allocations: 2.153 MB / 404.4 MB, free: 8.281 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001637/0.03868, allocations: 1.843 MB / 406.3 MB, free: 6.434 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002093/0.04077, allocations: 1.937 MB / 408.2 MB, free: 4.492 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003498/0.04112, allocations: 240 kB / 408.5 MB, free: 4.258 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001171/0.04229, allocations: 0.9086 MB / 409.4 MB, free: 3.348 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001139/0.04343, allocations: 1.687 MB / 411 MB, free: 1.656 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008915/0.04432, allocations: 0.9925 MB / 412 MB, free: 0.6602 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003814/0.04814, allocations: 4.066 MB / 416.1 MB, free: 12.58 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.04814, allocations: 0 / 416.1 MB, free: 12.58 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.04814, allocations: 0 / 416.1 MB, free: 12.58 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.964e-05/0.0482, allocations: 0 / 416.1 MB, free: 12.58 MB / 394.7 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.005249/0.05345, allocations: 4.6 MB / 420.7 MB, free: 7.914 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.05349, allocations: 8.031 kB / 420.7 MB, free: 7.906 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008174/0.06166, allocations: 3.625 MB / 424.3 MB, free: 4.273 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002273/0.06393, allocations: 1.685 MB / 426 MB, free: 2.555 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001204/0.06406, allocations: 189 kB / 426.2 MB, free: 2.367 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003963/0.06445, allocations: 244.2 kB / 426.4 MB, free: 2.129 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007189/0.07164, allocations: 5.343 MB / 431.8 MB, free: 12.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.482e-05/0.0717, allocations: 27.75 kB / 431.8 MB, free: 12.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002841/0.07198, allocations: 115.8 kB / 431.9 MB, free: 12.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003084/0.07506, allocations: 2.561 MB / 434.5 MB, free: 9.508 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006164/0.08123, allocations: 3.326 MB / 437.8 MB, free: 6.168 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1717/0.253, allocations: 33.69 MB / 471.5 MB, free: 66.47 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003794/0.2568, allocations: 2.522 MB / 474 MB, free: 66.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007977/0.2576, allocations: 0.6653 MB / 474.7 MB, free: 66.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005414/0.2581, allocations: 0.5143 MB / 475.2 MB, free: 66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.2581, allocations: 56.86 kB / 475.3 MB, free: 65.94 MB / 410.7 MB Notification: Performance of pre-optimization done (n=229): time 3.998e-06/0.2581, allocations: 0 / 475.3 MB, free: 65.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=235): time 0.0142/0.2723, allocations: 8.2 MB / 483.5 MB, free: 64.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.2724, allocations: 71.12 kB / 483.5 MB, free: 64.06 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002215/0.2746, allocations: 2.463 MB / 486 MB, free: 63 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.33e-05/0.2747, allocations: 59.17 kB / 486.1 MB, free: 62.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001086/0.2758, allocations: 2.86 MB / 488.9 MB, free: 61.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005745/0.2763, allocations: 0.9168 MB / 489.8 MB, free: 60.33 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001098/0.2774, allocations: 1.109 MB / 490.9 MB, free: 59.74 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.2775, allocations: 0.5438 MB / 491.5 MB, free: 59.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001351/0.2789, allocations: 0.6594 MB / 492.1 MB, free: 59.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002918/0.2818, allocations: 4.903 MB / 497 MB, free: 53.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005101/0.2869, allocations: 6.181 MB / 0.4914 GB, free: 47.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.348e-05/0.287, allocations: 34.66 kB / 0.4915 GB, free: 47.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.006905/0.2939, allocations: 4.926 MB / 0.4963 GB, free: 45.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.925e-05/0.2939, allocations: 46.88 kB / 0.4963 GB, free: 45.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-05/0.294, allocations: 105.7 kB / 0.4964 GB, free: 45.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001103/0.2951, allocations: 0.5609 MB / 0.497 GB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001935/0.2971, allocations: 1.185 MB / 0.4981 GB, free: 45.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002457/0.2995, allocations: 3.022 MB / 0.5011 GB, free: 42.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001854/0.3014, allocations: 321.5 kB / 0.5014 GB, free: 42.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002566/0.3016, allocations: 299.6 kB / 0.5017 GB, free: 42.83 MB / 410.7 MB 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.001068/0.3027, allocations: 0.5652 MB / 0.5022 GB, free: 42.37 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002938/0.303, allocations: 314.9 kB / 0.5025 GB, free: 42.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003104/0.3061, allocations: 2.42 MB / 0.5049 GB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.572e-05/0.3061, allocations: 43.48 kB / 0.5049 GB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/0.3061, allocations: 3.219 kB / 0.5049 GB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.728e-05/0.3062, allocations: 11.77 kB / 0.5049 GB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008268/0.3144, allocations: 6.131 MB / 0.5109 GB, free: 38.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.857e-06/0.3144, allocations: 8 kB / 0.5109 GB, free: 38.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008312/0.3153, allocations: 359.4 kB / 0.5113 GB, free: 37.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001095/0.3164, allocations: 439 kB / 0.5117 GB, free: 37.54 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001187/0.3165, allocations: 42.62 kB / 0.5117 GB, free: 37.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001889/0.3184, allocations: 2.45 MB / 0.5141 GB, free: 35.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.3184, allocations: 11.94 kB / 0.5141 GB, free: 35.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003897/0.3223, allocations: 2.95 MB / 0.517 GB, free: 32.4 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004458/0.3227, allocations: 241.2 kB / 0.5173 GB, free: 32.17 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000191/0.3229, allocations: 43.84 kB / 0.5173 GB, free: 32.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006654/0.3236, allocations: 171.2 kB / 0.5175 GB, free: 32.03 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002247/0.3238, allocations: 136.9 kB / 0.5176 GB, free: 31.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/0.3239, allocations: 68.97 kB / 0.5177 GB, free: 31.89 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001253/0.3252, allocations: 1.042 MB / 0.5187 GB, free: 31.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3252, allocations: 0 / 0.5187 GB, free: 31.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003797/0.3289, allocations: 0.992 MB / 0.5196 GB, free: 30.02 MB / 410.7 MB 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.0003824/0.3293, allocations: 192.9 kB / 0.5198 GB, free: 29.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003393/0.3327, allocations: 2.845 MB / 0.5226 GB, free: 27.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.3327, allocations: 0 / 0.5226 GB, free: 27.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008717/0.3336, allocations: 0.9328 MB / 0.5235 GB, free: 26.44 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009029/0.3345, allocations: 293 kB / 0.5238 GB, free: 26.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007085/0.3416, allocations: 7.503 MB / 0.5311 GB, free: 19.17 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007107/0.3423, allocations: 1.171 MB / 0.5323 GB, free: 18.32 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001793/0.3441, allocations: 1.576 MB / 0.5338 GB, free: 17.44 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003888/0.3445, allocations: 200 kB / 0.534 GB, free: 17.25 MB / 410.7 MB Notification: Performance of SimCode: time 1.333e-06/0.3445, allocations: 0 / 0.534 GB, free: 17.25 MB / 410.7 MB Notification: Performance of Templates: time 0.03271/0.3772, allocations: 25.25 MB / 0.5587 GB, free: 8.574 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.207283189985901]