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.001168/0.001168, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001266/0.001266, allocations: 160.9 kB / 24.99 MB, free: 8.805 MB / 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.9801/0.9801, allocations: 177 MB / 205.2 MB, free: 5.582 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.2558/0.2558, allocations: 34.86 MB / 296.6 MB, free: 0.5586 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.513e-06/1.513e-06, allocations: 0 / 378.8 MB, free: 2.414 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.838e-05/2.99e-05, allocations: 6.25 kB / 378.8 MB, free: 2.406 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.00896/0.008989, allocations: 11.78 MB / 390.5 MB, free: 6.566 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005565/0.01455, allocations: 3.862 MB / 394.4 MB, free: 2.691 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009892/0.01554, allocations: 71.75 kB / 394.5 MB, free: 2.621 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00171/0.01725, allocations: 1.397 MB / 395.9 MB, free: 1.219 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002603/0.01986, allocations: 1.836 MB / 397.7 MB, free: 15.38 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007864/0.02064, allocations: 0.5183 MB / 398.2 MB, free: 14.86 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003478/0.02412, allocations: 3.986 MB / 402.2 MB, free: 10.86 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002406/0.02653, allocations: 2.149 MB / 404.4 MB, free: 8.672 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002502/0.02903, allocations: 1.855 MB / 406.2 MB, free: 6.812 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00284/0.03187, allocations: 1.933 MB / 408.1 MB, free: 4.875 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005848/0.03245, allocations: 236 kB / 408.4 MB, free: 4.645 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001455/0.03391, allocations: 0.9048 MB / 409.3 MB, free: 3.738 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001314/0.03522, allocations: 1.683 MB / 411 MB, free: 2.051 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001401/0.03662, allocations: 1 MB / 412 MB, free: 1.047 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005359/0.04198, allocations: 4.062 MB / 416 MB, free: 12.97 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.04199, allocations: 0 / 416 MB, free: 12.97 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.04199, allocations: 0 / 416 MB, free: 12.97 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001398/0.04213, allocations: 3.938 kB / 416 MB, free: 12.96 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.005365/0.0475, allocations: 4.592 MB / 420.6 MB, free: 8.309 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.04754, allocations: 12.03 kB / 420.6 MB, free: 8.297 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006342/0.05388, allocations: 3.621 MB / 424.3 MB, free: 4.668 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002124/0.05601, allocations: 1.685 MB / 425.9 MB, free: 2.949 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.845e-05/0.0561, allocations: 189 kB / 426.1 MB, free: 2.762 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003717/0.05648, allocations: 244.2 kB / 426.4 MB, free: 2.523 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00713/0.06361, allocations: 5.343 MB / 431.7 MB, free: 12.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.087e-05/0.06367, allocations: 31.73 kB / 431.7 MB, free: 12.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002491/0.06392, allocations: 115.8 kB / 431.8 MB, free: 12.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002491/0.06641, allocations: 2.553 MB / 434.4 MB, free: 9.906 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008413/0.07482, allocations: 3.338 MB / 437.7 MB, free: 6.555 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1829/0.2577, allocations: 33.69 MB / 471.4 MB, free: 71.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005574/0.2633, allocations: 2.522 MB / 474 MB, free: 71.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001157/0.2645, allocations: 0.6613 MB / 474.6 MB, free: 71.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006981/0.2652, allocations: 0.5144 MB / 475.1 MB, free: 71.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/0.2652, allocations: 60.11 kB / 475.2 MB, free: 71.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=229): time 6.362e-06/0.2652, allocations: 2.094 kB / 475.2 MB, free: 71.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=235): time 0.01989/0.2851, allocations: 8.192 MB / 483.4 MB, free: 69.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.2851, allocations: 72.56 kB / 483.5 MB, free: 69.17 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003669/0.2888, allocations: 2.462 MB / 485.9 MB, free: 68.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003343/0.2891, allocations: 55.48 kB / 486 MB, free: 68.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001832/0.291, allocations: 2.867 MB / 488.8 MB, free: 66.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001257/0.2922, allocations: 0.9259 MB / 489.8 MB, free: 65.35 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001945/0.2942, allocations: 1.108 MB / 490.9 MB, free: 64.76 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.2943, allocations: 0.5335 MB / 491.4 MB, free: 64.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001364/0.2957, allocations: 0.6652 MB / 492.1 MB, free: 64.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002782/0.2985, allocations: 4.903 MB / 497 MB, free: 58.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00505/0.3035, allocations: 6.176 MB / 0.4914 GB, free: 51.85 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001223/0.3036, allocations: 28.12 kB / 0.4914 GB, free: 51.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.007139/0.3108, allocations: 4.93 MB / 0.4962 GB, free: 50.19 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.172e-05/0.3108, allocations: 47.56 kB / 0.4962 GB, free: 50.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.708e-05/0.3109, allocations: 103.3 kB / 0.4963 GB, free: 50.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001121/0.312, allocations: 0.5645 MB / 0.4969 GB, free: 50.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001987/0.314, allocations: 1.186 MB / 0.498 GB, free: 50 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002275/0.3163, allocations: 3.019 MB / 0.501 GB, free: 47.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001888/0.3182, allocations: 328.2 kB / 0.5013 GB, free: 47.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002481/0.3184, allocations: 304.7 kB / 0.5016 GB, free: 47.55 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.001099/0.3195, allocations: 0.5558 MB / 0.5021 GB, free: 47.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003029/0.3198, allocations: 320.4 kB / 0.5024 GB, free: 46.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003048/0.3229, allocations: 2.417 MB / 0.5048 GB, free: 46.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.645e-05/0.3229, allocations: 42.17 kB / 0.5048 GB, free: 46.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.3229, allocations: 0 / 0.5048 GB, free: 46.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.785e-05/0.3229, allocations: 16.44 kB / 0.5049 GB, free: 46.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008157/0.3311, allocations: 6.14 MB / 0.5109 GB, free: 41.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/0.3311, allocations: 4 kB / 0.5109 GB, free: 41.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008691/0.332, allocations: 367.7 kB / 0.5112 GB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001048/0.333, allocations: 436.7 kB / 0.5116 GB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001179/0.3331, allocations: 42.53 kB / 0.5117 GB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00191/0.3351, allocations: 2.44 MB / 0.5141 GB, free: 38.77 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.3351, allocations: 11.94 kB / 0.5141 GB, free: 38.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003692/0.3388, allocations: 2.957 MB / 0.517 GB, free: 36.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003984/0.3391, allocations: 246 kB / 0.5172 GB, free: 35.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002213/0.3394, allocations: 39.73 kB / 0.5172 GB, free: 35.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006862/0.3401, allocations: 169.8 kB / 0.5174 GB, free: 35.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002174/0.3403, allocations: 136.7 kB / 0.5175 GB, free: 35.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-05/0.3404, allocations: 74.5 kB / 0.5176 GB, free: 35.54 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000994/0.3414, allocations: 1.044 MB / 0.5186 GB, free: 34.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3414, allocations: 0 / 0.5186 GB, free: 34.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002742/0.3441, allocations: 0.9921 MB / 0.5196 GB, free: 33.67 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.0003952/0.3445, allocations: 190.2 kB / 0.5198 GB, free: 33.49 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003765/0.3483, allocations: 2.849 MB / 0.5225 GB, free: 30.94 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.3483, allocations: 0 / 0.5225 GB, free: 30.94 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009906/0.3493, allocations: 0.9323 MB / 0.5235 GB, free: 30.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/0.3504, allocations: 291.5 kB / 0.5237 GB, free: 29.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008936/0.3593, allocations: 7.502 MB / 0.5311 GB, free: 22.81 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001093/0.3604, allocations: 1.162 MB / 0.5322 GB, free: 21.96 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00218/0.3626, allocations: 1.582 MB / 0.5337 GB, free: 20.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005136/0.3631, allocations: 196.5 kB / 0.5339 GB, free: 20.34 MB / 410.7 MB Notification: Performance of SimCode: time 1.863e-06/0.3631, allocations: 0 / 0.5339 GB, free: 20.34 MB / 410.7 MB Notification: Performance of Templates: time 0.03333/0.3964, allocations: 25.24 MB / 0.5586 GB, free: 11.5 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.2307026789058]