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.0008371/0.0008371, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001337/0.002174, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.000868/0.000868, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001188/0.002056, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.062/1.062, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.116/1.178, allocations: 53.65 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] 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.3613/0.3613, allocations: 34.25 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04475/0.406, allocations: 13.11 MB / 291.5 MB, free: 7.328 MB / 282.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.713e-06/1.713e-06, allocations: 3.938 kB / 292.8 MB, free: 6.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.533e-05/2.704e-05, allocations: 2.969 kB / 292.9 MB, free: 6.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01329/0.01332, allocations: 11.66 MB / 304.5 MB, free: 10.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01068/0.02399, allocations: 4.026 MB / 308.5 MB, free: 6.438 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002457/0.02645, allocations: 63.81 kB / 308.6 MB, free: 6.375 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002204/0.02865, allocations: 1.377 MB / 310 MB, free: 4.992 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003545/0.0322, allocations: 1.816 MB / 311.8 MB, free: 3.168 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001116/0.03331, allocations: 490.8 kB / 312.3 MB, free: 2.688 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003729/0.03704, allocations: 3.935 MB / 316.2 MB, free: 14.75 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002277/0.03932, allocations: 1.915 MB / 318.1 MB, free: 12.78 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002206/0.04152, allocations: 1.92 MB / 320 MB, free: 10.85 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002261/0.04379, allocations: 1.796 MB / 321.8 MB, free: 9.047 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004652/0.04425, allocations: 240 kB / 322.1 MB, free: 8.812 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001512/0.04576, allocations: 0.9204 MB / 323 MB, free: 7.891 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001104/0.04687, allocations: 1.519 MB / 324.5 MB, free: 6.367 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008917/0.04776, allocations: 0.8135 MB / 325.3 MB, free: 5.551 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003734/0.05149, allocations: 3.785 MB / 329.1 MB, free: 1.75 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.4e-05/0.05151, allocations: 0 / 329.1 MB, free: 1.75 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.05151, allocations: 0 / 329.1 MB, free: 1.75 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001036/0.05161, allocations: 0 / 329.1 MB, free: 1.75 MB / 314.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.005922/0.05753, allocations: 4.658 MB / 333.8 MB, free: 13.02 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.05757, allocations: 8.031 kB / 333.8 MB, free: 13.02 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005009/0.06258, allocations: 1.39 MB / 335.2 MB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002082/0.06466, allocations: 1.405 MB / 336.6 MB, free: 10.19 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001349/0.0648, allocations: 189 kB / 336.8 MB, free: 10 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004247/0.06522, allocations: 244.2 kB / 337 MB, free: 9.762 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00603/0.07125, allocations: 4.451 MB / 341.4 MB, free: 4.879 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.825e-05/0.07132, allocations: 27.75 kB / 341.5 MB, free: 4.852 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003057/0.07162, allocations: 119.8 kB / 341.6 MB, free: 4.734 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002576/0.0742, allocations: 2.046 MB / 343.6 MB, free: 2.688 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005482/0.07968, allocations: 2.582 MB / 346.2 MB, free: 88 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02903/0.1087, allocations: 25.37 MB / 371.6 MB, free: 5.809 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003115/0.1118, allocations: 1.324 MB / 372.9 MB, free: 4.484 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004333/0.1123, allocations: 328.4 kB / 373.2 MB, free: 4.168 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005421/0.1177, allocations: 3.69 MB / 376.9 MB, free: 460 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.403e-05/0.1177, allocations: 47.5 kB / 377 MB, free: 404 kB / 362.7 MB Notification: Performance of pre-optimization done (n=166): time 3.587e-06/0.1177, allocations: 4 kB / 377 MB, free: 400 kB / 362.7 MB Notification: Performance of matching and sorting (n=167): time 0.009433/0.1272, allocations: 3.675 MB / 380.6 MB, free: 12.68 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.1272, allocations: 68.41 kB / 380.7 MB, free: 12.6 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001909/0.1291, allocations: 2.399 MB / 383.1 MB, free: 10.17 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.237e-05/0.1292, allocations: 41.7 kB / 383.2 MB, free: 10.12 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001336/0.1305, allocations: 2.826 MB / 386 MB, free: 7.266 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008571/0.1314, allocations: 0.6472 MB / 386.6 MB, free: 6.613 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007977/0.1322, allocations: 0.9617 MB / 387.6 MB, free: 5.641 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.1323, allocations: 353.8 kB / 387.9 MB, free: 5.289 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009148/0.1332, allocations: 0.6381 MB / 388.6 MB, free: 4.645 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002405/0.1356, allocations: 3.553 MB / 392.1 MB, free: 15.58 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004357/0.14, allocations: 4.984 MB / 397.1 MB, free: 9.086 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.171e-05/0.14, allocations: 32 kB / 397.1 MB, free: 9.055 MB / 394.7 MB Notification: Performance of matching and sorting (n=678) (initialization): time 0.004137/0.1441, allocations: 3.385 MB / 400.5 MB, free: 5.652 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.954e-05/0.1442, allocations: 55.94 kB / 400.6 MB, free: 5.598 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001018/0.1443, allocations: 120 kB / 400.7 MB, free: 5.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002957/0.1446, allocations: 175.6 kB / 400.9 MB, free: 5.305 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002/0.1466, allocations: 1.221 MB / 402.1 MB, free: 4.082 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001099/0.1477, allocations: 1.456 MB / 403.5 MB, free: 2.531 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001715/0.1494, allocations: 196 kB / 403.7 MB, free: 2.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002644/0.1497, allocations: 264 kB / 404 MB, free: 2.082 MB / 394.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.001338/0.151, allocations: 0.524 MB / 404.5 MB, free: 1.547 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001999/0.1512, allocations: 159.8 kB / 404.7 MB, free: 1.391 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001368/0.1526, allocations: 0.8315 MB / 405.5 MB, free: 0.543 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/0.1526, allocations: 12 kB / 405.5 MB, free: 0.5312 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1526, allocations: 4 kB / 405.5 MB, free: 0.5273 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.1526, allocations: 7.969 kB / 405.5 MB, free: 0.5195 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004378/0.157, allocations: 3.518 MB / 409 MB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.377e-05/0.157, allocations: 24.62 kB / 409.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004985/0.1575, allocations: 203.8 kB / 409.3 MB, free: 12.67 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002366/0.1577, allocations: 234.2 kB / 409.5 MB, free: 12.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001431/0.1579, allocations: 47.59 kB / 409.5 MB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.173e-05/0.1579, allocations: 31.97 kB / 409.6 MB, free: 12.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000786/0.1587, allocations: 1.362 MB / 410.9 MB, free: 10.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.1587, allocations: 7.938 kB / 410.9 MB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001593/0.1603, allocations: 1.257 MB / 412.2 MB, free: 9.535 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001538/0.1605, allocations: 27.98 kB / 412.2 MB, free: 9.508 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003726/0.1608, allocations: 35.98 kB / 412.3 MB, free: 9.473 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.161, allocations: 88.67 kB / 412.4 MB, free: 9.383 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.58e-05/0.161, allocations: 47.92 kB / 412.4 MB, free: 9.336 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006396/0.1617, allocations: 0.8307 MB / 413.2 MB, free: 8.492 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1617, allocations: 0 / 413.2 MB, free: 8.492 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002251/0.1639, allocations: 0.8631 MB / 414.1 MB, free: 7.629 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.0003473/0.1643, allocations: 156.1 kB / 414.2 MB, free: 7.465 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002128/0.1664, allocations: 2.196 MB / 416.4 MB, free: 5.293 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001159/0.1665, allocations: 70.56 kB / 416.5 MB, free: 5.219 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000583/0.1671, allocations: 0.5679 MB / 417.1 MB, free: 4.641 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001797/0.1689, allocations: 1.848 MB / 418.9 MB, free: 2.602 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01011/0.179, allocations: 7.083 MB / 426 MB, free: 11.38 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001332/0.1803, allocations: 1.153 MB / 427.2 MB, free: 10.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0009234/0.1813, allocations: 396.3 kB / 427.6 MB, free: 9.805 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00054/0.1818, allocations: 397.3 kB / 427.9 MB, free: 9.414 MB / 426.7 MB Notification: Performance of SimCode: time 1.874e-06/0.1818, allocations: 4 kB / 427.9 MB, free: 9.41 MB / 426.7 MB Notification: Performance of Templates: time 0.2347/0.4165, allocations: 19.85 MB / 447.8 MB, free: 110.1 MB / 426.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.9416442001238465]