Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.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.001416/0.001416, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001614/0.001614, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.636/1.636, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.2799/0.2799, allocations: 46.92 MB / 357.1 MB, free: 10.29 MB / 286.1 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.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 71.89 kB / 0.4914 GB, free: 7.426 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1352, allocations: 65.99 MB / 0.5559 GB, free: 5.309 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.01348/0.1487, allocations: 10.4 MB / 0.566 GB, free: 10.86 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009188/0.1578, allocations: 3.907 MB / 0.5698 GB, free: 6.93 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002055/0.1599, allocations: 67.69 kB / 0.5699 GB, free: 6.863 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005105/0.165, allocations: 2.102 MB / 0.5719 GB, free: 4.754 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005283/0.1703, allocations: 1.708 MB / 0.5736 GB, free: 3.039 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002305/0.1726, allocations: 0.694 MB / 0.5743 GB, free: 2.344 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007525/0.1801, allocations: 4.001 MB / 0.5782 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00337/0.1835, allocations: 2.219 MB / 0.5804 GB, free: 12.07 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002314/0.1858, allocations: 1.324 MB / 0.5817 GB, free: 10.74 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003142/0.1889, allocations: 2.005 MB / 0.5836 GB, free: 8.727 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007753/0.1897, allocations: 268 kB / 0.5839 GB, free: 8.465 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002424/0.1921, allocations: 1.205 MB / 0.585 GB, free: 7.258 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001979/0.1941, allocations: 1.71 MB / 0.5867 GB, free: 5.543 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002421/0.1965, allocations: 1.883 MB / 0.5886 GB, free: 3.648 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3256/0.5222, allocations: 6.179 MB / 0.5946 GB, free: 13.91 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.5222, allocations: 0.7188 kB / 0.5946 GB, free: 13.91 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.5222, allocations: 0 / 0.5946 GB, free: 13.91 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002299/0.5224, allocations: 1.219 kB / 0.5946 GB, free: 13.91 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: 1319 * Number of variables: 1319 Notification: Performance of Generate backend data structure: time 0.01183/0.5342, allocations: 4.312 MB / 0.5988 GB, free: 12.07 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.5343, allocations: 9.906 kB / 0.5988 GB, free: 12.07 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01836/0.5526, allocations: 2.457 MB / 0.6012 GB, free: 11.8 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006909/0.5595, allocations: 2.42 MB / 0.6036 GB, free: 11.25 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002006/0.5597, allocations: 190 kB / 0.6038 GB, free: 11.24 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001252/0.561, allocations: 278.6 kB / 0.604 GB, free: 11.23 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01616/0.5772, allocations: 8.589 MB / 0.6124 GB, free: 9.117 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000112/0.5773, allocations: 49.02 kB / 0.6125 GB, free: 9.105 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003931/0.5777, allocations: 125.4 kB / 0.6126 GB, free: 9.055 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002967/0.5806, allocations: 1.741 MB / 0.6143 GB, free: 8.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01407/0.5947, allocations: 7.3 MB / 0.6214 GB, free: 6.699 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04351/0.6382, allocations: 34.09 MB / 0.6547 GB, free: 8.633 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009546/0.6478, allocations: 3.348 MB / 0.658 GB, free: 5.141 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002576/0.6503, allocations: 1.588 MB / 0.6595 GB, free: 3.551 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01309/0.6634, allocations: 7.521 MB / 0.6669 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.472e-05/0.6635, allocations: 54.47 kB / 0.6669 GB, free: 11.76 MB / 494.1 MB Notification: Performance of pre-optimization done (n=151): time 4.329e-06/0.6635, allocations: 4 kB / 0.6669 GB, free: 11.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=188): time 0.06858/0.7321, allocations: 19.78 MB / 0.6862 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001367/0.7322, allocations: 201.1 kB / 0.6864 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005821/0.738, allocations: 3.746 MB / 0.6901 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004825/0.7385, allocations: 51.23 kB / 0.6901 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002523/0.741, allocations: 2.923 MB / 0.693 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001108/0.7421, allocations: 0.7492 MB / 0.6937 GB, free: 272 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002002/0.7441, allocations: 1.215 MB / 0.6949 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.7443, allocations: 303 kB / 0.6952 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00358/0.7478, allocations: 2.21 MB / 0.6973 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006398/0.7542, allocations: 5.767 MB / 0.703 GB, free: 5.062 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01132/0.7655, allocations: 8.607 MB / 0.7114 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.521e-05/0.7656, allocations: 36 kB / 0.7114 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of matching and sorting (n=782) (initialization): time 0.02036/0.786, allocations: 9.199 MB / 0.7204 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001837/0.7862, allocations: 56 kB / 0.7205 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000287/0.7865, allocations: 128 kB / 0.7206 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006204/0.7927, allocations: 1.657 MB / 0.7222 GB, free: 384 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00475/0.7974, allocations: 1.329 MB / 0.7235 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0165/0.8139, allocations: 9.94 MB / 0.7332 GB, free: 4.969 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007757/0.8217, allocations: 313.6 kB / 0.7335 GB, free: 4.664 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001596/0.8233, allocations: 367.9 kB / 0.7338 GB, free: 4.305 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 570 * Number of states: 0 () * Number of discrete variables: 36 (FixedTranslation2.color[3],FixedTranslation2.color[2],FixedTranslation2.color[1],force.massColor[3],force.massColor[2],force.massColor[1],force.color_b[3],force.color_b[2],force.color_b[1],force.color_a[3],force.color_a[2],force.color_a[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (714): * Single equations (assignments): 710 * Array equations: 3 * 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 {(2,43,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006249/0.8295, allocations: 1.894 MB / 0.7357 GB, free: 2.402 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001527/0.831, allocations: 345.7 kB / 0.736 GB, free: 2.062 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01576/0.8468, allocations: 4.118 MB / 0.74 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.34e-05/0.8469, allocations: 23.94 kB / 0.7401 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.308e-05/0.8469, allocations: 8 kB / 0.7401 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.054e-05/0.8469, allocations: 11.97 kB / 0.7401 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0282/0.8751, allocations: 8.495 MB / 0.7484 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.503e-05/0.8752, allocations: 3.828 kB / 0.7484 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002162/0.8773, allocations: 255.6 kB / 0.7486 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008525/0.8859, allocations: 1.428 MB / 0.75 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004452/0.8863, allocations: 39.98 kB / 0.7501 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02336/0.9097, allocations: 9.212 MB / 0.7591 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/0.9097, allocations: 4.031 kB / 0.7591 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02174/0.9314, allocations: 6.736 MB / 0.7656 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001773/0.9332, allocations: 390.6 kB / 0.766 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001519/0.9347, allocations: 35.94 kB / 0.766 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003203/0.9379, allocations: 98.3 kB / 0.7661 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007447/0.9387, allocations: 109.1 kB / 0.7662 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003205/0.939, allocations: 55.98 kB / 0.7663 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.007623/0.9466, allocations: 2.319 MB / 0.7686 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.21e-07/0.9466, allocations: 0 / 0.7686 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.009832/0.9564, allocations: 0.9737 MB / 0.7695 GB, free: 15.57 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (130): * Single equations (assignments): 126 * Array equations: 3 * 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,36,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009957/0.9574, allocations: 157.5 kB / 0.7697 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01464/0.9721, allocations: 5.217 MB / 0.7748 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/0.9721, allocations: 6.375 kB / 0.7748 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003532/0.9756, allocations: 1.669 MB / 0.7764 GB, free: 8.523 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004271/0.9799, allocations: 392 kB / 0.7768 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02242/1.002, allocations: 8.668 MB / 0.7852 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005201/1.008, allocations: 2.965 MB / 0.7881 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.004653/1.012, allocations: 1.815 MB / 0.7899 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006999/1.013, allocations: 215.4 kB / 0.7901 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of SimCode: time 7.62e-07/1.013, allocations: 0 / 0.7901 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of Templates: time 0.07955/1.092, allocations: 36.57 MB / 0.8258 GB, free: 6.07 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/ForceWithTwoMasses/ForceWithTwoMasses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.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.924246806651354]