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.00149/0.00149, allocations: 84.34 kB / 20.95 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.001719/0.001719, allocations: 169.3 kB / 24.26 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.467/1.467, allocations: 177.2 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.3299/0.3299, allocations: 32.8 MB / 293.9 MB, free: 1.23 MB / 266.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.934e-06/1.934e-06, allocations: 0 / 375.3 MB, free: 5 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.634e-05/2.827e-05, allocations: 2.312 kB / 375.3 MB, free: 4.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01512/0.01515, allocations: 10.73 MB / 386 MB, free: 10.21 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00866/0.02381, allocations: 3.765 MB / 389.8 MB, free: 6.43 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001007/0.02481, allocations: 67.75 kB / 389.8 MB, free: 6.363 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002918/0.02773, allocations: 1.366 MB / 391.2 MB, free: 4.992 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003954/0.03169, allocations: 1.84 MB / 393 MB, free: 3.145 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.03286, allocations: 0.5183 MB / 393.6 MB, free: 2.625 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.005681/0.03854, allocations: 3.98 MB / 397.5 MB, free: 14.64 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003209/0.04175, allocations: 2.153 MB / 399.7 MB, free: 12.45 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003019/0.04477, allocations: 1.851 MB / 401.5 MB, free: 10.59 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003846/0.04862, allocations: 1.929 MB / 403.5 MB, free: 8.656 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006776/0.04929, allocations: 240 kB / 403.7 MB, free: 8.422 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001989/0.05128, allocations: 0.9048 MB / 404.6 MB, free: 7.516 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002005/0.05329, allocations: 1.679 MB / 406.3 MB, free: 5.832 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001795/0.05508, allocations: 1 MB / 407.3 MB, free: 4.828 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008365/0.06345, allocations: 6.174 MB / 413.5 MB, free: 14.63 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.06345, allocations: 0 / 413.5 MB, free: 14.63 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.06345, allocations: 0 / 413.5 MB, free: 14.63 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000119/0.06357, allocations: 0 / 413.5 MB, free: 14.63 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.008428/0.072, allocations: 4.17 MB / 417.6 MB, free: 10.41 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.07205, allocations: 8.031 kB / 417.6 MB, free: 10.4 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01275/0.08479, allocations: 3.742 MB / 421.4 MB, free: 6.648 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004748/0.08954, allocations: 1.83 MB / 423.2 MB, free: 4.781 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002539/0.08979, allocations: 201 kB / 423.4 MB, free: 4.582 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001266/0.09106, allocations: 244.2 kB / 423.6 MB, free: 4.344 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01904/0.1101, allocations: 10.5 MB / 434.1 MB, free: 9.418 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.6e-05/0.1102, allocations: 27.75 kB / 434.2 MB, free: 9.391 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004045/0.1106, allocations: 119.8 kB / 434.3 MB, free: 9.273 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007301/0.1179, allocations: 2.553 MB / 436.8 MB, free: 6.719 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1888/0.3067, allocations: 9.899 MB / 446.7 MB, free: 95.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03312/0.3398, allocations: 31.92 MB / 478.6 MB, free: 76.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007769/0.3476, allocations: 4.161 MB / 482.8 MB, free: 75.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002843/0.3504, allocations: 2.119 MB / 484.9 MB, free: 74.83 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001088/0.3515, allocations: 0.5575 MB / 485.5 MB, free: 74.76 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.3515, allocations: 55.34 kB / 485.5 MB, free: 74.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=229): time 4.488e-06/0.3515, allocations: 0 / 485.5 MB, free: 74.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=235): time 0.02903/0.3806, allocations: 14.41 MB / 500 MB, free: 70.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/0.3806, allocations: 74.91 kB / 0.4883 GB, free: 70.53 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003078/0.3837, allocations: 2.692 MB / 0.4909 GB, free: 68.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001952/0.3839, allocations: 54.5 kB / 0.491 GB, free: 68.33 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001284/0.3852, allocations: 2.733 MB / 0.4937 GB, free: 65.87 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006063/0.3858, allocations: 0.879 MB / 0.4945 GB, free: 65.08 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001157/0.3869, allocations: 1.039 MB / 0.4955 GB, free: 64.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.577e-05/0.387, allocations: 354.4 kB / 0.4959 GB, free: 63.78 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002746/0.3898, allocations: 2.208 MB / 0.498 GB, free: 61.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003737/0.3935, allocations: 5.068 MB / 0.503 GB, free: 55.85 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00658/0.4001, allocations: 7.977 MB / 0.5108 GB, free: 47.05 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.905e-05/0.4001, allocations: 28 kB / 0.5108 GB, free: 47.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.01048/0.4106, allocations: 8.147 MB / 0.5187 GB, free: 39.53 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.362e-05/0.4107, allocations: 48 kB / 0.5188 GB, free: 39.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.65e-05/0.4108, allocations: 104.1 kB / 0.5189 GB, free: 39.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002036/0.4128, allocations: 0.8008 MB / 0.5197 GB, free: 38.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003173/0.416, allocations: 1.185 MB / 0.5208 GB, free: 37.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004464/0.4204, allocations: 4.392 MB / 0.5251 GB, free: 32.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005427/0.4259, allocations: 319.8 kB / 0.5254 GB, free: 32.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008227/0.4267, allocations: 307.5 kB / 0.5257 GB, free: 32.29 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.003074/0.4298, allocations: 2.009 MB / 0.5277 GB, free: 30.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006494/0.4304, allocations: 322.2 kB / 0.528 GB, free: 29.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00663/0.437, allocations: 4.711 MB / 0.5326 GB, free: 25.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.473e-05/0.4371, allocations: 43.98 kB / 0.5326 GB, free: 25.17 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.4371, allocations: 4 kB / 0.5326 GB, free: 25.17 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.337e-05/0.4371, allocations: 11.95 kB / 0.5326 GB, free: 25.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01406/0.4512, allocations: 9.26 MB / 0.5417 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-05/0.4512, allocations: 8 kB / 0.5417 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001396/0.4526, allocations: 359.5 kB / 0.542 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001893/0.4545, allocations: 0.66 MB / 0.5427 GB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001453/0.4546, allocations: 51.34 kB / 0.5427 GB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003953/0.4586, allocations: 3.781 MB / 0.5464 GB, free: 10.85 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/0.4586, allocations: 11.94 kB / 0.5464 GB, free: 10.84 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008581/0.4672, allocations: 7.165 MB / 0.5534 GB, free: 3.562 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007706/0.4679, allocations: 242.2 kB / 0.5537 GB, free: 3.324 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003219/0.4683, allocations: 43.98 kB / 0.5537 GB, free: 3.281 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001253/0.4695, allocations: 175.4 kB / 0.5539 GB, free: 3.113 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003502/0.4699, allocations: 140.9 kB / 0.554 GB, free: 2.973 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001436/0.47, allocations: 63.98 kB / 0.5541 GB, free: 2.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001776/0.4718, allocations: 1.532 MB / 0.5556 GB, free: 1.363 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4718, allocations: 0 / 0.5556 GB, free: 1.363 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003843/0.4756, allocations: 0.9921 MB / 0.5565 GB, free: 380 kB / 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.0004791/0.4761, allocations: 192.7 kB / 0.5567 GB, free: 184 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009528/0.4856, allocations: 5.158 MB / 0.5618 GB, free: 11.04 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/0.4856, allocations: 0 / 0.5618 GB, free: 11.04 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003119/0.4888, allocations: 1.878 MB / 0.5636 GB, free: 9.148 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002109/0.4909, allocations: 299.6 kB / 0.5639 GB, free: 8.867 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01795/0.5088, allocations: 9.612 MB / 0.5733 GB, free: 15.1 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004444/0.5133, allocations: 2.618 MB / 0.5758 GB, free: 12.46 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00482/0.5181, allocations: 1.943 MB / 0.5777 GB, free: 10.52 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008179/0.5189, allocations: 192.5 kB / 0.5779 GB, free: 10.33 MB / 442.7 MB Notification: Performance of SimCode: time 1.813e-06/0.5189, allocations: 0 / 0.5779 GB, free: 10.33 MB / 442.7 MB Notification: Performance of Templates: time 0.05966/0.5786, allocations: 25.27 MB / 0.6026 GB, free: 1.438 MB / 458.7 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.511396736954339]