Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.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.00122/0.00122, allocations: 88.97 kB / 20.65 MB, free: 3.848 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.001873/0.001873, allocations: 173 kB / 24.05 MB, free: 464 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9628/0.9628, allocations: 158.6 MB / 185.9 MB, free: 2.789 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1793/0.1793, allocations: 32.37 MB / 270.7 MB, free: 14.54 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.frame_a.r_0.[0-9,]+.|body.v_0.[0-9,]+.|heatCapacitor.T|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper") translateModel(ModelicaTest.MultiBody.Forces.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.frame_a.r_0.[0-9,]+.|body.v_0.[0-9,]+.|heatCapacitor.T|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.354e-06/2.354e-06, allocations: 0 / 348.1 MB, free: 9.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.87e-05/3.106e-05, allocations: 8.281 kB / 348.1 MB, free: 9.168 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01716/0.01719, allocations: 16.53 MB / 364.7 MB, free: 8.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01368/0.03087, allocations: 5.099 MB / 369.8 MB, free: 3.453 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00428/0.03515, allocations: 119.5 kB / 369.9 MB, free: 3.336 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007144/0.0423, allocations: 5.552 MB / 375.4 MB, free: 13.76 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008168/0.05047, allocations: 2.934 MB / 378.4 MB, free: 10.81 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00258/0.05305, allocations: 1.326 MB / 379.7 MB, free: 9.484 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.009127/0.06217, allocations: 7.992 MB / 387.7 MB, free: 1.48 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008756/0.07093, allocations: 6.207 MB / 393.9 MB, free: 11.19 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01199/0.08291, allocations: 4.436 MB / 398.3 MB, free: 6.746 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008888/0.0918, allocations: 4.31 MB / 402.6 MB, free: 2.426 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002668/0.09447, allocations: 0.625 MB / 403.3 MB, free: 1.801 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003637/0.09811, allocations: 1.303 MB / 404.6 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004069/0.1022, allocations: 3.775 MB / 408.3 MB, free: 12.71 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003971/0.1061, allocations: 2.387 MB / 410.7 MB, free: 10.32 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01051/0.1167, allocations: 7.865 MB / 418.6 MB, free: 2.422 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.1167, allocations: 0 / 418.6 MB, free: 2.422 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1167, allocations: 0 / 418.6 MB, free: 2.422 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004068/0.1171, allocations: 0 / 418.6 MB, free: 2.422 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2763 * Number of variables: 2763 Notification: Performance of Generate backend data structure: time 0.01336/0.1304, allocations: 8.552 MB / 427.2 MB, free: 9.781 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.1305, allocations: 12.03 kB / 427.2 MB, free: 9.77 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01546/0.1459, allocations: 2.587 MB / 429.8 MB, free: 7.176 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007188/0.1531, allocations: 3.164 MB / 432.9 MB, free: 3.957 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003631/0.1535, allocations: 452 kB / 433.4 MB, free: 3.516 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001248/0.1547, allocations: 0.5937 MB / 434 MB, free: 2.922 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.312/0.4668, allocations: 10.49 MB / 444.4 MB, free: 57.92 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002844/0.4671, allocations: 70.48 kB / 444.5 MB, free: 57.92 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00107/0.4681, allocations: 279.8 kB / 444.8 MB, free: 57.92 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004276/0.4724, allocations: 3.15 MB / 447.9 MB, free: 57.91 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01889/0.4913, allocations: 4.973 MB / 452.9 MB, free: 57.74 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07291/0.5642, allocations: 72.97 MB / 0.5136 GB, free: 8.879 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009256/0.5735, allocations: 3.77 MB / 0.5172 GB, free: 5.133 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001839/0.5753, allocations: 0.8628 MB / 0.5181 GB, free: 4.273 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009966/0.5853, allocations: 5.803 MB / 0.5237 GB, free: 14.76 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.744e-05/0.5853, allocations: 69.92 kB / 0.5238 GB, free: 14.69 MB / 394.8 MB Notification: Performance of pre-optimization done (n=296): time 5.09e-06/0.5853, allocations: 0 / 0.5238 GB, free: 14.69 MB / 394.8 MB Notification: Performance of matching and sorting (n=330): time 0.03174/0.6171, allocations: 12.25 MB / 0.5358 GB, free: 2.871 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.786e-05/0.6172, allocations: 161.2 kB / 0.5359 GB, free: 2.684 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005907/0.6231, allocations: 5.168 MB / 0.541 GB, free: 14.51 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005276/0.6236, allocations: 77.7 kB / 0.541 GB, free: 14.43 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003475/0.6271, allocations: 5.678 MB / 0.5466 GB, free: 9.004 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001732/0.6288, allocations: 1.333 MB / 0.5479 GB, free: 7.738 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002962/0.6318, allocations: 2.132 MB / 0.55 GB, free: 5.809 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.6319, allocations: 476.8 kB / 0.5504 GB, free: 5.34 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002/0.6339, allocations: 0.9175 MB / 0.5513 GB, free: 4.418 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006537/0.6404, allocations: 9.714 MB / 0.5608 GB, free: 7.082 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0101/0.6505, allocations: 11.67 MB / 0.5722 GB, free: 8.012 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003198/0.6509, allocations: 60 kB / 0.5723 GB, free: 7.953 MB / 442.8 MB Notification: Performance of matching and sorting (n=1309) (initialization): time 0.01529/0.6661, allocations: 7.692 MB / 0.5798 GB, free: 232 kB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001139/0.6663, allocations: 96 kB / 0.5799 GB, free: 136 kB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002371/0.6665, allocations: 208 kB / 0.5801 GB, free: 15.93 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002177/0.6667, allocations: 287.5 kB / 0.5803 GB, free: 15.65 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005184/0.6719, allocations: 2.343 MB / 0.5826 GB, free: 13.3 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002624/0.6722, allocations: 414.4 kB / 0.583 GB, free: 12.9 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005621/0.6778, allocations: 435.6 kB / 0.5834 GB, free: 12.47 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001399/0.6792, allocations: 0.5039 MB / 0.5839 GB, free: 11.97 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 952 * Number of states: 0 () * Number of discrete variables: 72 (fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],prismatic2.boxColor[3],prismatic2.boxColor[2],prismatic2.boxColor[1],damper2.color_b[3],damper2.color_b[2],damper2.color_b[1],damper2.color_a[3],damper2.color_a[2],damper2.color_a[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],force.connectionLineColor[3],force.connectionLineColor[2],force.connectionLineColor[1],force.forceColor[3],force.forceColor[2],force.forceColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],damper.color_b[3],damper.color_b[2],damper.color_b[1],damper.color_a[3],damper.color_a[2],damper.color_a[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 (1285): * Single equations (assignments): 1282 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003305/0.6825, allocations: 0.9913 MB / 0.5849 GB, free: 10.96 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001258/0.6837, allocations: 0.6012 MB / 0.5855 GB, free: 10.36 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002413/0.6862, allocations: 1.831 MB / 0.5873 GB, free: 8.477 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.914e-05/0.6862, allocations: 32 kB / 0.5873 GB, free: 8.445 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.6862, allocations: 0 / 0.5873 GB, free: 8.445 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.937e-05/0.6862, allocations: 23.88 kB / 0.5873 GB, free: 8.422 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1913/0.8775, allocations: 9.77 MB / 0.5969 GB, free: 147.8 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.303e-05/0.8776, allocations: 34.16 kB / 0.5969 GB, free: 147.8 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001679/0.8792, allocations: 0.5839 MB / 0.5975 GB, free: 147.8 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.974e-05/0.8793, allocations: 51.16 kB / 0.5975 GB, free: 147.8 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002015/0.8795, allocations: 102.3 kB / 0.5976 GB, free: 147.8 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.806e-05/0.8795, allocations: 69.75 kB / 0.5977 GB, free: 147.8 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-05/0.8796, allocations: 48.06 kB / 0.5977 GB, free: 147.8 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005178/0.8848, allocations: 4.343 MB / 0.602 GB, free: 145 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002006/0.8868, allocations: 0.6979 MB / 0.6026 GB, free: 145 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007426/0.8875, allocations: 100.7 kB / 0.6027 GB, free: 145 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001769/0.8893, allocations: 104.5 kB / 0.6028 GB, free: 145 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004294/0.8897, allocations: 311.8 kB / 0.6031 GB, free: 145 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000219/0.8899, allocations: 118.3 kB / 0.6033 GB, free: 145 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.003436/0.8934, allocations: 2.031 MB / 0.6052 GB, free: 144.8 MB / 458.8 MB Notification: Performance of sort global known variables: time 9e-08/0.8934, allocations: 0 / 0.6052 GB, free: 144.8 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.008209/0.9016, allocations: 1.708 MB / 0.6069 GB, free: 144.8 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 148 * Number of states: 7 (body.frame_a.r_0[1],body.v_0[1],prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * 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 (317): * Single equations (assignments): 314 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008219/0.9024, allocations: 311.8 kB / 0.6072 GB, free: 144.7 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.006799/0.9092, allocations: 4.152 MB / 0.6113 GB, free: 144 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 3.363e-05/0.9092, allocations: 7.406 kB / 0.6113 GB, free: 144 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001358/0.9106, allocations: 0.8772 MB / 0.6121 GB, free: 143.9 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004319/0.9149, allocations: 0.6885 MB / 0.6128 GB, free: 143.8 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02033/0.9352, allocations: 13.89 MB / 0.6264 GB, free: 136.4 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003648/0.9389, allocations: 2.141 MB / 0.6285 GB, free: 135.3 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.003127/0.942, allocations: 0.8308 MB / 0.6293 GB, free: 134.7 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00131/0.9433, allocations: 0.9321 MB / 0.6302 GB, free: 133.8 MB / 458.8 MB Notification: Performance of SimCode: time 2.404e-06/0.9433, allocations: 0 / 0.6302 GB, free: 133.8 MB / 458.8 MB Notification: Performance of Templates: time 0.08206/1.025, allocations: 43.24 MB / 0.6724 GB, free: 92.58 MB / 458.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Damper/Damper.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: 5.251794173382223]