Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009856/0.0009856, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.0009996/0.0009996, allocations: 163.9 kB / 25.61 MB, free: 8.582 MB / 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 0.882/0.882, allocations: 177.1 MB / 206.1 MB, free: 4.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1614/0.1614, allocations: 32.8 MB / 295.4 MB, free: 15.37 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Joints.Revolute") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 377.3 MB, free: 25.58 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/1.986e-05, allocations: 2.312 kB / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.007267/0.007287, allocations: 11.51 MB / 388.8 MB, free: 14 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005809/0.0131, allocations: 3.836 MB / 392.6 MB, free: 10.16 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001476/0.01457, allocations: 67.75 kB / 392.7 MB, free: 10.09 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001528/0.0161, allocations: 1.385 MB / 394.1 MB, free: 8.703 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002626/0.01873, allocations: 1.855 MB / 395.9 MB, free: 6.84 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007971/0.01952, allocations: 0.5183 MB / 396.5 MB, free: 6.32 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00258/0.0221, allocations: 3.975 MB / 400.4 MB, free: 2.336 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001432/0.02353, allocations: 2.149 MB / 402.6 MB, free: 152 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00204/0.02557, allocations: 1.878 MB / 404.5 MB, free: 14.27 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002035/0.02761, allocations: 1.921 MB / 406.4 MB, free: 12.34 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003424/0.02795, allocations: 236 kB / 406.6 MB, free: 12.11 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001262/0.02921, allocations: 0.9048 MB / 407.5 MB, free: 11.2 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001177/0.03039, allocations: 1.671 MB / 409.2 MB, free: 9.523 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001656/0.03205, allocations: 1 MB / 410.2 MB, free: 8.52 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006858/0.0389, allocations: 4.05 MB / 414.2 MB, free: 4.453 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.03891, allocations: 0 / 414.2 MB, free: 4.453 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.03892, allocations: 4 kB / 414.2 MB, free: 4.449 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002175/0.03913, allocations: 0 / 414.2 MB, free: 4.449 MB / 330.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.006337/0.04547, allocations: 4.455 MB / 418.7 MB, free: 15.93 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.04551, allocations: 11.98 kB / 418.7 MB, free: 15.91 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004505/0.05002, allocations: 1.836 MB / 420.5 MB, free: 14.08 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002033/0.05205, allocations: 1.545 MB / 422.1 MB, free: 12.49 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.787e-05/0.05215, allocations: 193 kB / 422.3 MB, free: 12.3 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00031/0.05246, allocations: 244.2 kB / 422.5 MB, free: 12.06 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005108/0.05757, allocations: 4.787 MB / 427.3 MB, free: 6.699 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.151e-05/0.05762, allocations: 31.69 kB / 427.3 MB, free: 6.668 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000223/0.05784, allocations: 119.8 kB / 427.4 MB, free: 6.551 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001803/0.05965, allocations: 2.171 MB / 429.6 MB, free: 4.379 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00371/0.06336, allocations: 2.55 MB / 432.2 MB, free: 1.809 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02395/0.0873, allocations: 33.49 MB / 465.7 MB, free: 15.25 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00302/0.09033, allocations: 1.316 MB / 467 MB, free: 13.93 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005225/0.09085, allocations: 419.5 kB / 467.4 MB, free: 13.52 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005607/0.09645, allocations: 3.922 MB / 471.3 MB, free: 9.574 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.931e-05/0.09649, allocations: 50.38 kB / 471.4 MB, free: 9.512 MB / 394.7 MB Notification: Performance of pre-optimization done (n=166): time 3.687e-06/0.0965, allocations: 0 / 471.4 MB, free: 9.512 MB / 394.7 MB Notification: Performance of matching and sorting (n=167): time 0.008035/0.1045, allocations: 3.984 MB / 475.3 MB, free: 5.484 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/0.1046, allocations: 68.41 kB / 475.4 MB, free: 5.402 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002441/0.107, allocations: 2.683 MB / 478.1 MB, free: 2.691 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.046e-05/0.1071, allocations: 49.7 kB / 478.1 MB, free: 2.637 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001554/0.1086, allocations: 3.066 MB / 481.2 MB, free: 15.54 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004867/0.1091, allocations: 0.6902 MB / 481.9 MB, free: 14.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009382/0.1101, allocations: 1.132 MB / 483 MB, free: 13.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.1102, allocations: 0.5393 MB / 483.6 MB, free: 13.15 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008681/0.1111, allocations: 493.8 kB / 484 MB, free: 12.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00286/0.1139, allocations: 5.029 MB / 489.1 MB, free: 5.562 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.183/0.2969, allocations: 6.026 MB / 495.1 MB, free: 104.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.755e-05/0.297, allocations: 30.22 kB / 495.1 MB, free: 104.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=678) (initialization): time 0.006108/0.3031, allocations: 4.016 MB / 499.1 MB, free: 104.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.831e-05/0.3032, allocations: 50.5 kB / 499.2 MB, free: 104.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001333/0.3033, allocations: 112 kB / 499.3 MB, free: 104.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003247/0.3037, allocations: 174.8 kB / 499.5 MB, free: 104.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001827/0.3055, allocations: 1.107 MB / 0.4889 GB, free: 104 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009177/0.3064, allocations: 1.967 MB / 0.4908 GB, free: 102.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001879/0.3083, allocations: 190.5 kB / 0.491 GB, free: 102.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002349/0.3085, allocations: 273.1 kB / 0.4912 GB, free: 102.3 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 488 * 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 (628): * Single equations (assignments): 621 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00112/0.3096, allocations: 0.5659 MB / 0.4918 GB, free: 102 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002854/0.3099, allocations: 291.8 kB / 0.492 GB, free: 102 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001207/0.3111, allocations: 0.9805 MB / 0.493 GB, free: 101.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-05/0.3112, allocations: 21.31 kB / 0.493 GB, free: 101.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3112, allocations: 0 / 0.493 GB, free: 101.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.3112, allocations: 15.14 kB / 0.493 GB, free: 101.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004994/0.3162, allocations: 4.328 MB / 0.4973 GB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.236e-06/0.3162, allocations: 7.812 kB / 0.4973 GB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004854/0.3167, allocations: 182 kB / 0.4974 GB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001456/0.3168, allocations: 49.67 kB / 0.4975 GB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.642e-05/0.3169, allocations: 32.66 kB / 0.4975 GB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006739/0.3175, allocations: 1.779 MB / 0.4993 GB, free: 99.47 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.195e-06/0.3175, allocations: 9.75 kB / 0.4993 GB, free: 99.47 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001565/0.3191, allocations: 1.567 MB / 0.5008 GB, free: 98.35 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002889/0.3194, allocations: 229.5 kB / 0.501 GB, free: 98.14 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001807/0.3196, allocations: 30.48 kB / 0.5011 GB, free: 98.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004168/0.32, allocations: 26.47 kB / 0.5011 GB, free: 98.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/0.3201, allocations: 98.5 kB / 0.5012 GB, free: 98.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-05/0.3202, allocations: 41.75 kB / 0.5012 GB, free: 98.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009099/0.3211, allocations: 1.054 MB / 0.5022 GB, free: 97.38 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3211, allocations: 0.7656 kB / 0.5022 GB, free: 97.38 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002575/0.3237, allocations: 0.8539 MB / 0.5031 GB, free: 96.62 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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 (120): * Single equations (assignments): 113 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003004/0.324, allocations: 183.5 kB / 0.5032 GB, free: 96.47 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002334/0.3263, allocations: 2.331 MB / 0.5055 GB, free: 94.65 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.3263, allocations: 0 / 0.5055 GB, free: 94.65 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004694/0.3268, allocations: 0.6089 MB / 0.5061 GB, free: 94.14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008818/0.3276, allocations: 274.5 kB / 0.5064 GB, free: 94.02 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008091/0.3357, allocations: 7.009 MB / 0.5132 GB, free: 87.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009859/0.3367, allocations: 1.158 MB / 0.5144 GB, free: 86.68 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001094/0.3378, allocations: 401.8 kB / 0.5147 GB, free: 86.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005168/0.3383, allocations: 462.9 kB / 0.5152 GB, free: 85.94 MB / 410.7 MB Notification: Performance of SimCode: time 2.545e-06/0.3383, allocations: 0 / 0.5152 GB, free: 85.94 MB / 410.7 MB Notification: Performance of Templates: time 0.03205/0.3704, allocations: 21.71 MB / 0.5364 GB, free: 64.71 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.181966012809426]