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.001918/0.001918, allocations: 84.34 kB / 20.96 MB, free: 3.453 MB / 18.57 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.002388/0.002388, allocations: 165.3 kB / 24.27 MB, free: 148 kB / 18.57 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.477/1.477, allocations: 177.1 MB / 204.6 MB, free: 5.582 MB / 186.7 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.338/0.338, allocations: 34.26 MB / 295.3 MB, free: 0.6992 MB / 266.7 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.283e-06/1.283e-06, allocations: 0 / 377.3 MB, free: 2.961 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.283e-05/2.412e-05, allocations: 6.312 kB / 377.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01485/0.01487, allocations: 10.73 MB / 388 MB, free: 8.164 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008197/0.02307, allocations: 3.761 MB / 391.8 MB, free: 4.391 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001116/0.02418, allocations: 71.75 kB / 391.9 MB, free: 4.32 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003164/0.02735, allocations: 1.366 MB / 393.2 MB, free: 2.949 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003998/0.03134, allocations: 1.844 MB / 395.1 MB, free: 1.098 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001211/0.03256, allocations: 0.5183 MB / 395.6 MB, free: 0.5781 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.005088/0.03764, allocations: 3.976 MB / 399.6 MB, free: 12.59 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003367/0.04101, allocations: 2.149 MB / 401.7 MB, free: 10.4 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0029/0.04391, allocations: 1.843 MB / 403.6 MB, free: 8.555 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003258/0.04717, allocations: 1.933 MB / 405.5 MB, free: 6.617 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005688/0.04774, allocations: 240 kB / 405.7 MB, free: 6.383 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001877/0.04961, allocations: 0.9086 MB / 406.6 MB, free: 5.473 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002005/0.05162, allocations: 1.683 MB / 408.3 MB, free: 3.785 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001553/0.05317, allocations: 0.9925 MB / 409.3 MB, free: 2.789 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008152/0.06132, allocations: 6.174 MB / 415.5 MB, free: 12.59 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.06133, allocations: 0 / 415.5 MB, free: 12.59 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.06133, allocations: 0 / 415.5 MB, free: 12.59 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000129/0.06146, allocations: 0 / 415.5 MB, free: 12.59 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.008993/0.07045, allocations: 4.17 MB / 419.7 MB, free: 8.367 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.0705, allocations: 12.03 kB / 419.7 MB, free: 8.355 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01256/0.08305, allocations: 3.742 MB / 423.4 MB, free: 4.605 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004774/0.08783, allocations: 1.834 MB / 425.2 MB, free: 2.734 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000267/0.08809, allocations: 189 kB / 425.4 MB, free: 2.547 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009724/0.08907, allocations: 248.2 kB / 425.7 MB, free: 2.305 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02134/0.1104, allocations: 10.49 MB / 436.2 MB, free: 7.383 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.917e-05/0.1105, allocations: 35.75 kB / 436.2 MB, free: 7.348 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004628/0.111, allocations: 123.8 kB / 436.3 MB, free: 7.227 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004884/0.1158, allocations: 2.553 MB / 438.9 MB, free: 4.672 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1595/0.2753, allocations: 9.891 MB / 448.8 MB, free: 93.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03661/0.3119, allocations: 31.92 MB / 480.7 MB, free: 74.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008841/0.3208, allocations: 4.158 MB / 484.8 MB, free: 73.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003006/0.3238, allocations: 2.118 MB / 487 MB, free: 72.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001158/0.3249, allocations: 0.5497 MB / 487.5 MB, free: 72.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.416e-05/0.325, allocations: 60.56 kB / 487.6 MB, free: 72.71 MB / 410.7 MB Notification: Performance of pre-optimization done (n=229): time 6.372e-06/0.325, allocations: 7.391 kB / 487.6 MB, free: 72.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=235): time 0.02994/0.3549, allocations: 14.42 MB / 0.4902 GB, free: 67.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.355, allocations: 69.41 kB / 0.4903 GB, free: 67.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003011/0.358, allocations: 2.695 MB / 0.4929 GB, free: 64.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000179/0.3582, allocations: 57.7 kB / 0.493 GB, free: 64.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001092/0.3593, allocations: 2.733 MB / 0.4956 GB, free: 62.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006002/0.3599, allocations: 0.8741 MB / 0.4965 GB, free: 61.51 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00115/0.361, allocations: 1.039 MB / 0.4975 GB, free: 60.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.04e-05/0.3611, allocations: 354.2 kB / 0.4979 GB, free: 60.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002408/0.3635, allocations: 2.206 MB / 0.5 GB, free: 58.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003104/0.3666, allocations: 5.076 MB / 0.505 GB, free: 52.28 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006005/0.3726, allocations: 7.974 MB / 0.5128 GB, free: 43.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.146e-05/0.3727, allocations: 28 kB / 0.5128 GB, free: 43.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.01032/0.383, allocations: 8.14 MB / 0.5207 GB, free: 35.61 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.455e-05/0.383, allocations: 48 kB / 0.5208 GB, free: 35.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.907e-05/0.3831, allocations: 103.6 kB / 0.5209 GB, free: 35.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002071/0.3852, allocations: 0.8125 MB / 0.5217 GB, free: 34.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003226/0.3884, allocations: 1.181 MB / 0.5228 GB, free: 33.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004476/0.3929, allocations: 4.385 MB / 0.5271 GB, free: 28.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003111/0.396, allocations: 323 kB / 0.5274 GB, free: 28.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003865/0.3964, allocations: 300 kB / 0.5277 GB, free: 28.38 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.002311/0.3987, allocations: 2.015 MB / 0.5297 GB, free: 26.35 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000523/0.3992, allocations: 322.2 kB / 0.53 GB, free: 26.03 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006288/0.4055, allocations: 4.717 MB / 0.5346 GB, free: 21.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.773e-05/0.4055, allocations: 40 kB / 0.5346 GB, free: 21.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/0.4056, allocations: 7.984 kB / 0.5346 GB, free: 21.24 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.423e-05/0.4056, allocations: 7.969 kB / 0.5346 GB, free: 21.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01247/0.418, allocations: 9.25 MB / 0.5437 GB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.355e-05/0.4181, allocations: 8 kB / 0.5437 GB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001352/0.4194, allocations: 359.4 kB / 0.544 GB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00187/0.4213, allocations: 0.6613 MB / 0.5447 GB, free: 10.87 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000136/0.4214, allocations: 43.98 kB / 0.5447 GB, free: 10.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003841/0.4253, allocations: 3.788 MB / 0.5484 GB, free: 6.938 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/0.4253, allocations: 15.88 kB / 0.5484 GB, free: 6.922 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008447/0.4337, allocations: 7.153 MB / 0.5554 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008639/0.4346, allocations: 250.4 kB / 0.5556 GB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003521/0.4349, allocations: 47.92 kB / 0.5557 GB, free: 15.37 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001311/0.4362, allocations: 163.8 kB / 0.5558 GB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004074/0.4366, allocations: 140.9 kB / 0.556 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001756/0.4368, allocations: 71.44 kB / 0.556 GB, free: 15 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002579/0.4394, allocations: 1.532 MB / 0.5575 GB, free: 13.45 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4394, allocations: 0 / 0.5575 GB, free: 13.45 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004579/0.444, allocations: 0.9921 MB / 0.5585 GB, free: 12.46 MB / 426.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.0006081/0.4446, allocations: 198.4 kB / 0.5587 GB, free: 12.26 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01018/0.4548, allocations: 5.154 MB / 0.5637 GB, free: 7.117 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.771e-05/0.4548, allocations: 4 kB / 0.5637 GB, free: 7.113 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003656/0.4584, allocations: 1.874 MB / 0.5656 GB, free: 5.234 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003371/0.4618, allocations: 296.3 kB / 0.5658 GB, free: 4.957 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02152/0.4833, allocations: 9.612 MB / 0.5752 GB, free: 11.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004991/0.4883, allocations: 2.618 MB / 0.5778 GB, free: 8.555 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004921/0.4932, allocations: 1.94 MB / 0.5797 GB, free: 6.609 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009937/0.4942, allocations: 196.5 kB / 0.5799 GB, free: 6.418 MB / 442.7 MB Notification: Performance of SimCode: time 1.873e-06/0.4942, allocations: 0 / 0.5799 GB, free: 6.418 MB / 442.7 MB Notification: Performance of Templates: time 0.1931/0.6873, allocations: 25.27 MB / 0.6045 GB, free: 130.3 MB / 458.7 MB " [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.681039082002826]