Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.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.001462/0.001462, allocations: 123.4 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.00165/0.00165, allocations: 208.3 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.556/1.556, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.242/0.242, allocations: 46.92 MB / 357.1 MB, free: 10.32 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: "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 67.89 kB / 0.4909 GB, free: 8.016 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1329, allocations: 65.99 MB / 0.5553 GB, free: 5.895 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004707/0.1376, allocations: 3.162 MB / 0.5584 GB, free: 2.711 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002152/0.1397, allocations: 1.083 MB / 0.5595 GB, free: 1.625 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002765/0.14, allocations: 11.94 kB / 0.5595 GB, free: 1.613 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002168/0.1402, allocations: 59.31 kB / 0.5596 GB, free: 1.555 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002879/0.1405, allocations: 130.9 kB / 0.5597 GB, free: 1.426 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006297/0.1411, allocations: 179.6 kB / 0.5599 GB, free: 1.25 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005405/0.1417, allocations: 465.8 kB / 0.5603 GB, free: 0.793 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002029/0.1419, allocations: 79.58 kB / 0.5604 GB, free: 0.707 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002166/0.1421, allocations: 175.4 kB / 0.5605 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00025/0.1424, allocations: 187.2 kB / 0.5607 GB, free: 360 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.342e-05/0.1424, allocations: 32 kB / 0.5608 GB, free: 328 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001401/0.1426, allocations: 51.98 kB / 0.5608 GB, free: 276 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.57e-05/0.1426, allocations: 79.64 kB / 0.5609 GB, free: 196 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002076/0.1428, allocations: 203.1 kB / 0.5611 GB, free: 15.99 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000611/0.1434, allocations: 450.1 kB / 0.5615 GB, free: 15.55 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1435, allocations: 0 / 0.5615 GB, free: 15.55 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1435, allocations: 0 / 0.5615 GB, free: 15.55 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.1435, allocations: 0 / 0.5615 GB, free: 15.55 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.001397/0.1449, allocations: 0.7053 MB / 0.5622 GB, free: 14.8 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.1449, allocations: 11.97 kB / 0.5622 GB, free: 14.79 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.367e-05/0.145, allocations: 70.72 kB / 0.5623 GB, free: 14.71 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003032/0.1453, allocations: 68.64 kB / 0.5623 GB, free: 14.64 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004668/0.1458, allocations: 310.6 kB / 0.5626 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.58e-05/0.1458, allocations: 25.38 kB / 0.5627 GB, free: 14.27 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.205e-05/0.1459, allocations: 48.12 kB / 0.5627 GB, free: 14.22 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006255/0.1465, allocations: 359.5 kB / 0.563 GB, free: 13.84 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.434e-05/0.1465, allocations: 7.953 kB / 0.5631 GB, free: 13.84 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.576e-05/0.1466, allocations: 16 kB / 0.5631 GB, free: 13.82 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.1466, allocations: 8 kB / 0.5631 GB, free: 13.81 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005185/0.1471, allocations: 251.8 kB / 0.5633 GB, free: 13.57 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002288/0.1494, allocations: 1.518 MB / 0.5648 GB, free: 11.94 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007903/0.1502, allocations: 399.3 kB / 0.5652 GB, free: 11.5 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002443/0.1504, allocations: 129.1 kB / 0.5653 GB, free: 11.35 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.475e-05/0.1504, allocations: 16.61 kB / 0.5653 GB, free: 11.34 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.879e-05/0.1505, allocations: 46.5 kB / 0.5654 GB, free: 11.28 MB / 430.1 MB Notification: Performance of pre-optimization done (n=43): time 2.244e-06/0.1505, allocations: 0 / 0.5654 GB, free: 11.28 MB / 430.1 MB Notification: Performance of matching and sorting (n=48): time 0.003552/0.154, allocations: 1.986 MB / 0.5673 GB, free: 9.039 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001236/0.1542, allocations: 191.9 kB / 0.5675 GB, free: 8.809 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002849/0.1544, allocations: 251 kB / 0.5677 GB, free: 8.555 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.614e-05/0.1545, allocations: 37.64 kB / 0.5678 GB, free: 8.512 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001457/0.1546, allocations: 204.7 kB / 0.568 GB, free: 8.309 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001523/0.1548, allocations: 190.4 kB / 0.5681 GB, free: 8.121 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001462/0.1549, allocations: 102.3 kB / 0.5682 GB, free: 8.016 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.1551, allocations: 346.8 kB / 0.5686 GB, free: 7.668 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002576/0.1554, allocations: 117.2 kB / 0.5687 GB, free: 7.551 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004017/0.1558, allocations: 302.1 kB / 0.569 GB, free: 7.184 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006645/0.1564, allocations: 449.2 kB / 0.5694 GB, free: 6.668 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.1564, allocations: 4 kB / 0.5694 GB, free: 6.664 MB / 430.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008832/0.1573, allocations: 493 kB / 0.5699 GB, free: 6.176 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.1573, allocations: 8 kB / 0.5699 GB, free: 6.168 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.1573, allocations: 7.938 kB / 0.5699 GB, free: 6.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.735e-05/0.1574, allocations: 8 kB / 0.5699 GB, free: 6.152 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005181/0.1579, allocations: 139.8 kB / 0.57 GB, free: 6.016 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.909e-05/0.1579, allocations: 20.61 kB / 0.57 GB, free: 5.996 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000257/0.1582, allocations: 31.89 kB / 0.5701 GB, free: 5.965 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.38e-05/0.1582, allocations: 28 kB / 0.5701 GB, free: 5.938 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * Array equations: 0 * 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.000201/0.1584, allocations: 165.6 kB / 0.5703 GB, free: 5.766 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001617/0.1586, allocations: 43.75 kB / 0.5703 GB, free: 5.723 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002909/0.1589, allocations: 119.4 kB / 0.5704 GB, free: 5.598 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.1589, allocations: 7.984 kB / 0.5704 GB, free: 5.59 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.391e-05/0.1589, allocations: 11.88 kB / 0.5704 GB, free: 5.578 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-06/0.1589, allocations: 0 / 0.5704 GB, free: 5.578 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002092/0.161, allocations: 1.253 MB / 0.5717 GB, free: 4.234 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.161, allocations: 7.938 kB / 0.5717 GB, free: 4.227 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005603/0.1616, allocations: 115.9 kB / 0.5718 GB, free: 4.113 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.276e-06/0.1616, allocations: 4 kB / 0.5718 GB, free: 4.109 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.438e-05/0.1616, allocations: 16 kB / 0.5718 GB, free: 4.094 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.014e-05/0.1616, allocations: 12.25 kB / 0.5718 GB, free: 4.082 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/0.1616, allocations: 8 kB / 0.5718 GB, free: 4.074 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001199/0.1628, allocations: 1.006 MB / 0.5728 GB, free: 3.012 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.1629, allocations: 112.9 kB / 0.5729 GB, free: 2.883 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.249e-05/0.163, allocations: 12 kB / 0.5729 GB, free: 2.871 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004021/0.1634, allocations: 16 kB / 0.5729 GB, free: 2.855 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.956e-05/0.1635, allocations: 39.83 kB / 0.573 GB, free: 2.816 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.542e-05/0.1635, allocations: 23.98 kB / 0.573 GB, free: 2.793 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001866/0.1637, allocations: 178 kB / 0.5732 GB, free: 2.617 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1637, allocations: 0 / 0.5732 GB, free: 2.617 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006975/0.1644, allocations: 100 kB / 0.5733 GB, free: 2.52 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 13 (mass5.s,mass5.v,heatCapacitor.T,mass6.s,mass6.v,mass4.s,mass4.v,mass3.s,mass3.v,mass2.s,mass2.v,mass1.s,mass1.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 (49): * Single equations (assignments): 49 * Array equations: 0 * 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.001595/0.166, allocations: 1.568 MB / 0.5748 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007566/0.1667, allocations: 341.2 kB / 0.5751 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.1667, allocations: 3.938 kB / 0.5751 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002986/0.167, allocations: 167.7 kB / 0.5753 GB, free: 404 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.1681, allocations: 89.47 kB / 0.5754 GB, free: 316 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006449/0.1745, allocations: 4.652 MB / 0.5799 GB, free: 11.36 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005094/0.175, allocations: 0.8119 MB / 0.5807 GB, free: 10.52 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002199/0.1752, allocations: 51.33 kB / 0.5807 GB, free: 10.46 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002203/0.1755, allocations: 131.4 kB / 0.5809 GB, free: 10.34 MB / 446.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1755, allocations: 0 / 0.5809 GB, free: 10.34 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03405/0.2095, allocations: 7.799 MB / 0.5885 GB, free: 2.652 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.941/9.151, allocations: 2.656 kB / 0.5885 GB, free: 2.652 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Translational_TestBraking_fmu --startTime=0 --stopTime=2 --stepSize=0.000399521 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Translational_TestBraking.fmu > ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Translational/TestBraking/TestBraking.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.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: 12.63400820712559]