Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.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.001382/0.001382, allocations: 113.2 kB / 20.43 MB, free: 1.449 MB / 14.72 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.001492/0.001492, allocations: 214.4 kB / 23.74 MB, free: 4.656 MB / 14.72 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.478/1.478, allocations: 230.6 MB / 257.5 MB, free: 8.008 MB / 206.1 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.2514/0.2514, allocations: 46.93 MB / 360.9 MB, free: 4.34 MB / 286.1 MB " [Timeout remaining time 179] 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.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar") translateModel(ModelicaTest.MultiBody.Joints.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002143/0.002143, allocations: 71.89 kB / 0.4967 GB, free: 7.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3668/0.369, allocations: 66.03 MB / 0.5611 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01922/0.3882, allocations: 15.05 MB / 0.5758 GB, free: 5.246 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01335/0.4016, allocations: 4.466 MB / 0.5802 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004184/0.4057, allocations: 87.69 kB / 0.5803 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006324/0.4121, allocations: 2.262 MB / 0.5825 GB, free: 14.41 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007699/0.4198, allocations: 2.047 MB / 0.5845 GB, free: 12.36 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002331/0.4221, allocations: 0.616 MB / 0.5851 GB, free: 11.74 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008283/0.4304, allocations: 4.307 MB / 0.5893 GB, free: 7.426 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006034/0.4364, allocations: 2.684 MB / 0.5919 GB, free: 4.691 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004447/0.4409, allocations: 1.624 MB / 0.5935 GB, free: 3.062 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004893/0.4458, allocations: 2.418 MB / 0.5959 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001506/0.4473, allocations: 344 kB / 0.5962 GB, free: 308 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003459/0.4507, allocations: 1.069 MB / 0.5972 GB, free: 15.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003245/0.454, allocations: 2.014 MB / 0.5992 GB, free: 13.21 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003594/0.4576, allocations: 2.376 MB / 0.6015 GB, free: 10.82 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01098/0.4685, allocations: 7.775 MB / 0.6091 GB, free: 3.016 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.4685, allocations: 0 / 0.6091 GB, free: 3.016 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4685, allocations: 0 / 0.6091 GB, free: 3.016 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002586/0.4688, allocations: 0 / 0.6091 GB, free: 3.016 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1828 * Number of variables: 1828 Notification: Performance of Generate backend data structure: time 0.01163/0.4804, allocations: 5.129 MB / 0.6141 GB, free: 13.82 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.4805, allocations: 8.031 kB / 0.6141 GB, free: 13.81 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01107/0.4916, allocations: 3.219 MB / 0.6173 GB, free: 10.59 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006209/0.4978, allocations: 2.322 MB / 0.6195 GB, free: 8.227 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002145/0.498, allocations: 250.6 kB / 0.6198 GB, free: 7.98 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007872/0.4988, allocations: 323.8 kB / 0.6201 GB, free: 7.664 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.021/0.5198, allocations: 12.24 MB / 0.632 GB, free: 10.89 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001517/0.5199, allocations: 35.69 kB / 0.6321 GB, free: 10.86 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005342/0.5205, allocations: 159.8 kB / 0.6322 GB, free: 10.7 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005452/0.5259, allocations: 2.851 MB / 0.635 GB, free: 7.848 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02428/0.5502, allocations: 11.13 MB / 0.6459 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07193/0.6221, allocations: 40.42 MB / 0.6853 GB, free: 3.223 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009875/0.632, allocations: 3.602 MB / 0.6889 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003751/0.6357, allocations: 2.248 MB / 0.6911 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00104/0.6368, allocations: 441.2 kB / 0.6915 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.819e-05/0.6368, allocations: 56.56 kB / 0.6915 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=249): time 4.829e-06/0.6369, allocations: 0 / 0.6915 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of matching and sorting (n=267): time 0.04886/0.6857, allocations: 18.46 MB / 0.7096 GB, free: 10.33 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.529e-05/0.6858, allocations: 77.41 kB / 0.7096 GB, free: 10.24 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006597/0.6924, allocations: 3.168 MB / 0.7127 GB, free: 7.059 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0004145/0.6928, allocations: 61.7 kB / 0.7128 GB, free: 6.992 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003497/0.6963, allocations: 3.245 MB / 0.716 GB, free: 3.719 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001899/0.6982, allocations: 1.015 MB / 0.717 GB, free: 2.695 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003288/0.7015, allocations: 1.192 MB / 0.7181 GB, free: 1.492 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.00018/0.7017, allocations: 301.1 kB / 0.7184 GB, free: 1.195 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004948/0.7066, allocations: 2.463 MB / 0.7208 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009488/0.7161, allocations: 5.738 MB / 0.7264 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4278/1.144, allocations: 8.977 MB / 0.7352 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002392/1.144, allocations: 33.16 kB / 0.7352 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.02666/1.171, allocations: 9.021 MB / 0.744 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001201/1.171, allocations: 50.69 kB / 0.7441 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001963/1.171, allocations: 121 kB / 0.7442 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004313/1.175, allocations: 1.052 MB / 0.7452 GB, free: 144.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007135/1.183, allocations: 1.346 MB / 0.7465 GB, free: 144.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009932/1.193, allocations: 5.442 MB / 0.7518 GB, free: 141.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007507/1.2, allocations: 319.8 kB / 0.7521 GB, free: 141.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001509/1.202, allocations: 344.3 kB / 0.7525 GB, free: 141.6 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 517 * Number of states: 0 () * Number of discrete variables: 46 (axis1.arrowLine.twoHeadedArrow,axis1.headAtOrigin,axis2.arrowLine.twoHeadedArrow,axis2.headAtOrigin,axis1.color[3],axis1.color[2],axis1.color[1],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],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],axis2.color[3],axis2.color[2],axis2.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 (729): * Single equations (assignments): 722 * 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 {(4,11,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006929/1.208, allocations: 2.405 MB / 0.7548 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001126/1.21, allocations: 340.7 kB / 0.7551 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01037/1.22, allocations: 5.345 MB / 0.7604 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.045e-05/1.22, allocations: 50.58 kB / 0.7604 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.48e-05/1.22, allocations: 8 kB / 0.7604 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-05/1.22, allocations: 11.77 kB / 0.7604 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02309/1.243, allocations: 12.98 MB / 0.7731 GB, free: 123.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.173e-05/1.243, allocations: 12 kB / 0.7731 GB, free: 123.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001673/1.245, allocations: 423.3 kB / 0.7735 GB, free: 123 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002442/1.247, allocations: 0.8891 MB / 0.7744 GB, free: 122.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001758/1.248, allocations: 55.98 kB / 0.7744 GB, free: 122 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004908/1.252, allocations: 4.731 MB / 0.7791 GB, free: 117.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.847e-06/1.252, allocations: 22.41 kB / 0.7791 GB, free: 117.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009609/1.262, allocations: 8.028 MB / 0.7869 GB, free: 109.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008522/1.263, allocations: 303.5 kB / 0.7872 GB, free: 108.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003759/1.263, allocations: 55.98 kB / 0.7873 GB, free: 108.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001201/1.265, allocations: 143.8 kB / 0.7874 GB, free: 108.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003273/1.265, allocations: 177.4 kB / 0.7876 GB, free: 108.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000154/1.265, allocations: 79.83 kB / 0.7877 GB, free: 108.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002284/1.267, allocations: 1.956 MB / 0.7896 GB, free: 106.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/1.267, allocations: 0 / 0.7896 GB, free: 106.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004102/1.271, allocations: 1.063 MB / 0.7906 GB, free: 105.4 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 6 (planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.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 (208): * Single equations (assignments): 201 * 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 {(3,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.0004033/1.272, allocations: 200 kB / 0.7908 GB, free: 105.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006773/1.279, allocations: 5.789 MB / 0.7964 GB, free: 99.42 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.288e-06/1.279, allocations: 0 / 0.7964 GB, free: 99.42 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00227/1.281, allocations: 2.105 MB / 0.7985 GB, free: 97.31 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002268/1.283, allocations: 456.8 kB / 0.7989 GB, free: 96.87 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01731/1.3, allocations: 11.53 MB / 0.8102 GB, free: 85.19 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003818/1.304, allocations: 3.712 MB / 0.8138 GB, free: 81.45 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00392/1.308, allocations: 2.149 MB / 0.8159 GB, free: 79.29 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006545/1.309, allocations: 239.4 kB / 0.8162 GB, free: 79.06 MB / 0.5606 GB Notification: Performance of SimCode: time 2.184e-06/1.309, allocations: 0 / 0.8162 GB, free: 79.06 MB / 0.5606 GB Notification: Performance of Templates: time 0.06241/1.371, allocations: 39.09 MB / 0.8543 GB, free: 40.23 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Planar/Planar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.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: 7.719223444117233]