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.001449/0.001449, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001534/0.001534, allocations: 213.6 kB / 23.73 MB, free: 4.156 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.483/1.483, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.2304/0.2304, allocations: 46.97 MB / 360.9 MB, free: 4.027 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.002047/0.002047, allocations: 63.89 kB / 0.4961 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4139/0.416, allocations: 66.05 MB / 0.5606 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.006826/0.4228, allocations: 2.91 MB / 0.5634 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00283/0.4256, allocations: 1.017 MB / 0.5644 GB, free: 300 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003181/0.4259, allocations: 11.94 kB / 0.5644 GB, free: 288 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002619/0.4262, allocations: 59.31 kB / 0.5645 GB, free: 228 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003743/0.4266, allocations: 126.9 kB / 0.5646 GB, free: 100 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007734/0.4274, allocations: 175.6 kB / 0.5648 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007585/0.4281, allocations: 465.8 kB / 0.5652 GB, free: 15.47 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002604/0.4284, allocations: 77.81 kB / 0.5653 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003084/0.4287, allocations: 179.3 kB / 0.5655 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003386/0.429, allocations: 163.2 kB / 0.5656 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.132e-05/0.4291, allocations: 36 kB / 0.5656 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001895/0.4293, allocations: 51.98 kB / 0.5657 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.4294, allocations: 83.61 kB / 0.5658 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000236/0.4296, allocations: 159.3 kB / 0.5659 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007653/0.4304, allocations: 458.1 kB / 0.5664 GB, free: 14.28 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.4304, allocations: 0 / 0.5664 GB, free: 14.28 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4304, allocations: 0 / 0.5664 GB, free: 14.28 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.157e-05/0.4304, allocations: 4 kB / 0.5664 GB, free: 14.27 MB / 414.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.001653/0.4321, allocations: 0.6222 MB / 0.567 GB, free: 13.62 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.4321, allocations: 12.03 kB / 0.567 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001122/0.4322, allocations: 74.7 kB / 0.5671 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004387/0.4327, allocations: 72.64 kB / 0.5671 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006341/0.4333, allocations: 248.8 kB / 0.5674 GB, free: 13.19 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.787e-05/0.4334, allocations: 21.38 kB / 0.5674 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.4335, allocations: 44.12 kB / 0.5674 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000897/0.4344, allocations: 363.6 kB / 0.5678 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.19e-05/0.4344, allocations: 7.953 kB / 0.5678 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.521e-05/0.4344, allocations: 16 kB / 0.5678 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.764e-05/0.4345, allocations: 12 kB / 0.5678 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007776/0.4352, allocations: 247.8 kB / 0.568 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003162/0.4384, allocations: 1.401 MB / 0.5694 GB, free: 10.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/0.4395, allocations: 403.9 kB / 0.5698 GB, free: 10.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003632/0.4399, allocations: 137.1 kB / 0.5699 GB, free: 10.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.927e-05/0.4399, allocations: 8 kB / 0.5699 GB, free: 10.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.715e-05/0.44, allocations: 42.5 kB / 0.57 GB, free: 10.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=43): time 3.686e-06/0.44, allocations: 0 / 0.57 GB, free: 10.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=48): time 0.004654/0.4446, allocations: 1.528 MB / 0.5715 GB, free: 8.633 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001674/0.4448, allocations: 203.8 kB / 0.5717 GB, free: 8.391 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000401/0.4452, allocations: 256.1 kB / 0.5719 GB, free: 8.133 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.978e-05/0.4453, allocations: 37.7 kB / 0.5719 GB, free: 8.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002031/0.4455, allocations: 200.7 kB / 0.5721 GB, free: 7.891 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002217/0.4457, allocations: 190.4 kB / 0.5723 GB, free: 7.703 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002058/0.4459, allocations: 98.3 kB / 0.5724 GB, free: 7.602 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002319/0.4461, allocations: 350.8 kB / 0.5727 GB, free: 7.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00035/0.4465, allocations: 113.3 kB / 0.5729 GB, free: 7.137 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005317/0.447, allocations: 295.9 kB / 0.5731 GB, free: 6.773 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009592/0.448, allocations: 473.4 kB / 0.5736 GB, free: 6.234 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.448, allocations: 0 / 0.5736 GB, free: 6.234 MB / 414.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001246/0.4492, allocations: 0.4894 MB / 0.5741 GB, free: 5.738 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.249e-05/0.4493, allocations: 10.19 kB / 0.5741 GB, free: 5.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/0.4493, allocations: 8 kB / 0.5741 GB, free: 5.723 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.092e-05/0.4493, allocations: 8 kB / 0.5741 GB, free: 5.715 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007428/0.4501, allocations: 135.8 kB / 0.5742 GB, free: 5.582 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.853e-05/0.4501, allocations: 19.88 kB / 0.5742 GB, free: 5.562 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003623/0.4504, allocations: 23.98 kB / 0.5743 GB, free: 5.539 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.338e-05/0.4505, allocations: 24 kB / 0.5743 GB, free: 5.516 MB / 414.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.0002891/0.4508, allocations: 165.7 kB / 0.5744 GB, free: 5.344 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002334/0.451, allocations: 43.7 kB / 0.5745 GB, free: 5.301 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003702/0.4514, allocations: 123.4 kB / 0.5746 GB, free: 5.168 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/0.4514, allocations: 8 kB / 0.5746 GB, free: 5.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.879e-05/0.4514, allocations: 7.938 kB / 0.5746 GB, free: 5.152 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.373e-05/0.4514, allocations: 11.92 kB / 0.5746 GB, free: 5.141 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003005/0.4544, allocations: 1.174 MB / 0.5758 GB, free: 3.883 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.729e-06/0.4544, allocations: 4 kB / 0.5758 GB, free: 3.879 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008325/0.4553, allocations: 123.8 kB / 0.5759 GB, free: 3.758 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.236e-05/0.4553, allocations: 4.281 kB / 0.5759 GB, free: 3.754 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.722e-05/0.4553, allocations: 16 kB / 0.5759 GB, free: 3.738 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.238e-05/0.4554, allocations: 7.938 kB / 0.5759 GB, free: 3.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.867e-05/0.4554, allocations: 4 kB / 0.5759 GB, free: 3.727 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001747/0.4571, allocations: 1.017 MB / 0.5769 GB, free: 2.652 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.4572, allocations: 35.75 kB / 0.577 GB, free: 2.617 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.367e-05/0.4573, allocations: 16 kB / 0.577 GB, free: 2.602 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006722/0.458, allocations: 16 kB / 0.577 GB, free: 2.586 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.4581, allocations: 39.81 kB / 0.577 GB, free: 2.547 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.419e-05/0.4582, allocations: 23.98 kB / 0.577 GB, free: 2.523 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002559/0.4584, allocations: 175.1 kB / 0.5772 GB, free: 2.355 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4584, allocations: 0 / 0.5772 GB, free: 2.355 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001266/0.4597, allocations: 96 kB / 0.5773 GB, free: 2.262 MB / 414.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.002153/0.4618, allocations: 1.569 MB / 0.5788 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001063/0.4629, allocations: 339.4 kB / 0.5792 GB, free: 312 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.4629, allocations: 4 kB / 0.5792 GB, free: 308 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004491/0.4633, allocations: 163.6 kB / 0.5793 GB, free: 144 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001757/0.4651, allocations: 88.91 kB / 0.5794 GB, free: 60 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009284/0.4744, allocations: 4.667 MB / 0.584 GB, free: 11.08 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003602/0.4747, allocations: 204.4 kB / 0.5842 GB, free: 10.86 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003301/0.4751, allocations: 47.34 kB / 0.5842 GB, free: 10.81 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002986/0.4754, allocations: 131.4 kB / 0.5843 GB, free: 10.68 MB / 430.1 MB Notification: Performance of SimCode: time 1.192e-06/0.4754, allocations: 4 kB / 0.5843 GB, free: 10.68 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05253/0.5279, allocations: 8.514 MB / 0.5926 GB, free: 2.371 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/12.08, allocations: 12.03 kB / 0.5927 GB, free: 2.359 MB / 430.1 MB " [Timeout remaining time 648] (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: 15.222511916421354]