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.001912/0.001912, allocations: 112.2 kB / 18.49 MB, free: 4.539 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.002443/0.002443, allocations: 218.9 kB / 21.46 MB, free: 1.586 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.584/1.584, allocations: 230.6 MB / 254.8 MB, free: 15.23 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.2463/0.2463, allocations: 46.92 MB / 357.8 MB, free: 10.31 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Translational_TestBraking",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 71.89 kB / 0.4916 GB, free: 7.965 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1239, allocations: 65.98 MB / 0.556 GB, free: 5.859 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.005619/0.1295, allocations: 3.163 MB / 0.5591 GB, free: 2.676 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002404/0.1319, allocations: 1.083 MB / 0.5602 GB, free: 1.59 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004822/0.1324, allocations: 15.94 kB / 0.5602 GB, free: 1.574 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000313/0.1327, allocations: 63.31 kB / 0.5603 GB, free: 1.512 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004629/0.1332, allocations: 126.9 kB / 0.5604 GB, free: 1.387 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000903/0.1341, allocations: 179.5 kB / 0.5605 GB, free: 1.211 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009904/0.135, allocations: 461.9 kB / 0.561 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002965/0.1353, allocations: 83.58 kB / 0.5611 GB, free: 0.668 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003619/0.1357, allocations: 179.3 kB / 0.5612 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004094/0.1361, allocations: 183.2 kB / 0.5614 GB, free: 320 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001213/0.1362, allocations: 28 kB / 0.5614 GB, free: 292 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002283/0.1365, allocations: 55.98 kB / 0.5615 GB, free: 236 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.288e-05/0.1366, allocations: 79.69 kB / 0.5616 GB, free: 156 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002652/0.1368, allocations: 199 kB / 0.5618 GB, free: 15.95 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006682/0.1375, allocations: 454.1 kB / 0.5622 GB, free: 15.51 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.1375, allocations: 0 / 0.5622 GB, free: 15.51 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1375, allocations: 0 / 0.5622 GB, free: 15.51 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.096e-05/0.1375, allocations: 0 / 0.5622 GB, free: 15.51 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.0015/0.139, allocations: 0.7014 MB / 0.5629 GB, free: 14.76 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.1391, allocations: 8.031 kB / 0.5629 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.624e-05/0.1391, allocations: 9.188 kB / 0.5629 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.135e-05/0.1392, allocations: 74.72 kB / 0.563 GB, free: 14.66 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003558/0.1395, allocations: 72.62 kB / 0.563 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005183/0.1401, allocations: 302.7 kB / 0.5633 GB, free: 14.25 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.515e-05/0.1401, allocations: 29.38 kB / 0.5634 GB, free: 14.23 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.419e-05/0.1402, allocations: 43.88 kB / 0.5634 GB, free: 14.18 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006998/0.1409, allocations: 367.6 kB / 0.5637 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.177e-05/0.1409, allocations: 7.953 kB / 0.5638 GB, free: 13.79 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.578e-05/0.1409, allocations: 12 kB / 0.5638 GB, free: 13.78 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/0.141, allocations: 12 kB / 0.5638 GB, free: 13.77 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005385/0.1415, allocations: 247.7 kB / 0.564 GB, free: 13.52 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002454/0.144, allocations: 1.518 MB / 0.5655 GB, free: 11.9 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008035/0.1448, allocations: 391.9 kB / 0.5659 GB, free: 11.46 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002676/0.145, allocations: 137.2 kB / 0.566 GB, free: 11.31 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.028e-05/0.1451, allocations: 19.86 kB / 0.566 GB, free: 11.29 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.408e-05/0.1451, allocations: 46.56 kB / 0.5661 GB, free: 11.23 MB / 430.1 MB Notification: Performance of pre-optimization done (n=43): time 3.166e-06/0.1451, allocations: 0 / 0.5661 GB, free: 11.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=48): time 0.003939/0.1491, allocations: 1.982 MB / 0.568 GB, free: 8.996 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002123/0.1493, allocations: 191.8 kB / 0.5682 GB, free: 8.766 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00035/0.1496, allocations: 259 kB / 0.5684 GB, free: 8.504 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.743e-05/0.1497, allocations: 29.7 kB / 0.5685 GB, free: 8.469 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/0.1499, allocations: 208.7 kB / 0.5687 GB, free: 8.262 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002406/0.1501, allocations: 190.4 kB / 0.5688 GB, free: 8.074 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001686/0.1503, allocations: 102.3 kB / 0.5689 GB, free: 7.969 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.1504, allocations: 346.8 kB / 0.5693 GB, free: 7.621 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002666/0.1507, allocations: 117.2 kB / 0.5694 GB, free: 7.504 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003973/0.1511, allocations: 302.1 kB / 0.5697 GB, free: 7.137 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006985/0.1518, allocations: 442 kB / 0.5701 GB, free: 6.629 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.1518, allocations: 4 kB / 0.5701 GB, free: 6.625 MB / 430.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.000963/0.1528, allocations: 0.4935 MB / 0.5706 GB, free: 6.125 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.1528, allocations: 17.84 kB / 0.5706 GB, free: 6.109 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/0.1528, allocations: 8 kB / 0.5706 GB, free: 6.102 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3e-05/0.1528, allocations: 8 kB / 0.5706 GB, free: 6.094 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005381/0.1534, allocations: 147.7 kB / 0.5707 GB, free: 5.949 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-05/0.1534, allocations: 12 kB / 0.5708 GB, free: 5.938 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003165/0.1537, allocations: 19.95 kB / 0.5708 GB, free: 5.918 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-05/0.1538, allocations: 24 kB / 0.5708 GB, free: 5.895 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.0002276/0.154, allocations: 177.6 kB / 0.571 GB, free: 5.711 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001845/0.1542, allocations: 39.77 kB / 0.571 GB, free: 5.672 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002988/0.1545, allocations: 127.3 kB / 0.5711 GB, free: 5.539 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/0.1545, allocations: 11.94 kB / 0.5711 GB, free: 5.527 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.1545, allocations: 0 / 0.5711 GB, free: 5.527 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.1545, allocations: 4 kB / 0.5711 GB, free: 5.523 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00221/0.1567, allocations: 1.242 MB / 0.5724 GB, free: 4.191 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/0.1567, allocations: 8.062 kB / 0.5724 GB, free: 4.184 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00058/0.1573, allocations: 115.9 kB / 0.5725 GB, free: 4.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.328e-05/0.1573, allocations: 8 kB / 0.5725 GB, free: 4.062 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.88e-05/0.1574, allocations: 12 kB / 0.5725 GB, free: 4.051 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.136e-05/0.1574, allocations: 11.94 kB / 0.5725 GB, free: 4.039 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/0.1574, allocations: 4 kB / 0.5725 GB, free: 4.035 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00137/0.1588, allocations: 1.018 MB / 0.5735 GB, free: 2.961 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001616/0.1589, allocations: 108.9 kB / 0.5736 GB, free: 2.836 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.638e-05/0.159, allocations: 16 kB / 0.5736 GB, free: 2.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004169/0.1594, allocations: 15.98 kB / 0.5736 GB, free: 2.805 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.943e-05/0.1595, allocations: 39.91 kB / 0.5737 GB, free: 2.766 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.279e-05/0.1596, allocations: 19.98 kB / 0.5737 GB, free: 2.746 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002053/0.1598, allocations: 174 kB / 0.5739 GB, free: 2.574 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1598, allocations: 3.938 kB / 0.5739 GB, free: 2.57 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000731/0.1605, allocations: 96 kB / 0.574 GB, free: 2.477 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.001735/0.1622, allocations: 1.574 MB / 0.5755 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007491/0.163, allocations: 331.2 kB / 0.5758 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.163, allocations: 4 kB / 0.5758 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000307/0.1633, allocations: 169.1 kB / 0.576 GB, free: 360 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/0.1644, allocations: 88.39 kB / 0.5761 GB, free: 276 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006924/0.1713, allocations: 4.664 MB / 0.5806 GB, free: 11.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005442/0.1718, allocations: 0.8041 MB / 0.5814 GB, free: 10.47 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002347/0.1721, allocations: 51.33 kB / 0.5814 GB, free: 10.42 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002247/0.1723, allocations: 135.4 kB / 0.5816 GB, free: 10.29 MB / 446.1 MB Notification: Performance of SimCode: time 8.12e-07/0.1723, allocations: 0 / 0.5816 GB, free: 10.29 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02869/0.201, allocations: 7.838 MB / 0.5892 GB, free: 2.578 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.303/9.504, allocations: 10.94 kB / 0.5892 GB, free: 2.574 MB / 446.1 MB " [Timeout remaining time 650] (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: 13.145049732993357]