Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.00192/0.00192, allocations: 121 kB / 18.5 MB, free: 4.562 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.002072/0.002072, allocations: 213.5 kB / 21.45 MB, free: 1.617 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.506/1.506, allocations: 230.6 MB / 254.8 MB, free: 15.1 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.2281/0.2281, allocations: 46.92 MB / 357.8 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.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 67.89 kB / 0.4916 GB, free: 7.992 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1233, allocations: 65.98 MB / 0.556 GB, free: 5.883 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001897/0.1252, allocations: 0.506 MB / 0.5565 GB, free: 5.375 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003381/0.1256, allocations: 96.33 kB / 0.5566 GB, free: 5.281 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.664e-05/0.1256, allocations: 0 / 0.5566 GB, free: 5.281 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.189e-05/0.1256, allocations: 0 / 0.5566 GB, free: 5.281 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002138/0.1258, allocations: 19.92 kB / 0.5566 GB, free: 5.262 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.046e-05/0.1258, allocations: 7.938 kB / 0.5566 GB, free: 5.254 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 4.886e-05/0.1259, allocations: 4 kB / 0.5566 GB, free: 5.25 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.96e-05/0.1259, allocations: 7.969 kB / 0.5567 GB, free: 5.242 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.217e-05/0.1259, allocations: 3.938 kB / 0.5567 GB, free: 5.238 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.711e-05/0.126, allocations: 8 kB / 0.5567 GB, free: 5.23 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.023e-05/0.126, allocations: 0 / 0.5567 GB, free: 5.23 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.846e-05/0.1261, allocations: 15.98 kB / 0.5567 GB, free: 5.215 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.115e-05/0.1261, allocations: 4 kB / 0.5567 GB, free: 5.211 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.003e-05/0.1261, allocations: 7.922 kB / 0.5567 GB, free: 5.203 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 8.314e-05/0.1262, allocations: 19.97 kB / 0.5567 GB, free: 5.184 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1262, allocations: 0 / 0.5567 GB, free: 5.184 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1262, allocations: 4 kB / 0.5567 GB, free: 5.18 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.087e-06/0.1262, allocations: 0 / 0.5567 GB, free: 5.18 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003528/0.1266, allocations: 319.5 kB / 0.557 GB, free: 4.816 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.1266, allocations: 12.03 kB / 0.557 GB, free: 4.805 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.165e-05/0.1266, allocations: 192 / 0.557 GB, free: 4.805 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.929e-05/0.1266, allocations: 38.69 kB / 0.5571 GB, free: 4.758 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.244e-05/0.1267, allocations: 0.9375 kB / 0.5571 GB, free: 4.758 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.1268, allocations: 160.4 kB / 0.5572 GB, free: 4.562 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.1268, allocations: 4.375 kB / 0.5572 GB, free: 4.559 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.155e-05/0.1268, allocations: 4.375 kB / 0.5572 GB, free: 4.555 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.1269, allocations: 42 kB / 0.5573 GB, free: 4.508 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.127, allocations: 7.938 kB / 0.5573 GB, free: 4.5 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.127, allocations: 0 / 0.5573 GB, free: 4.5 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.127, allocations: 0 / 0.5573 GB, free: 4.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.589e-05/0.127, allocations: 7.984 kB / 0.5573 GB, free: 4.492 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000172/0.1272, allocations: 153.6 kB / 0.5574 GB, free: 4.293 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002011/0.1274, allocations: 46.55 kB / 0.5575 GB, free: 4.238 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.846e-05/0.1274, allocations: 8.859 kB / 0.5575 GB, free: 4.227 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000382/0.1278, allocations: 117.1 kB / 0.5576 GB, free: 4.094 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.1278, allocations: 34.5 kB / 0.5576 GB, free: 4.051 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.143e-06/0.1278, allocations: 0 / 0.5576 GB, free: 4.051 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.001311/0.1291, allocations: 193.3 kB / 0.5578 GB, free: 3.855 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.1292, allocations: 51.41 kB / 0.5579 GB, free: 3.793 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.777e-05/0.1292, allocations: 89.86 kB / 0.558 GB, free: 3.695 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.1293, allocations: 25.83 kB / 0.558 GB, free: 3.664 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.727e-05/0.1293, allocations: 96.12 kB / 0.5581 GB, free: 3.566 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.513e-05/0.1293, allocations: 7.906 kB / 0.5581 GB, free: 3.559 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.952e-05/0.1294, allocations: 17.72 kB / 0.5581 GB, free: 3.535 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.1295, allocations: 314.8 kB / 0.5584 GB, free: 3.219 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.503e-05/0.1296, allocations: 19.98 kB / 0.5584 GB, free: 3.199 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.715e-05/0.1297, allocations: 19.98 kB / 0.5584 GB, free: 3.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/0.1298, allocations: 52.77 kB / 0.5585 GB, free: 3.125 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1298, allocations: 0 / 0.5585 GB, free: 3.125 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002193/0.1301, allocations: 77.59 kB / 0.5586 GB, free: 3.043 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.1301, allocations: 10.03 kB / 0.5586 GB, free: 3.035 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.1301, allocations: 0 / 0.5586 GB, free: 3.035 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.1301, allocations: 0 / 0.5586 GB, free: 3.035 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.1302, allocations: 11.98 kB / 0.5586 GB, free: 3.023 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.1302, allocations: 4 kB / 0.5586 GB, free: 3.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.507e-05/0.1303, allocations: 7.984 kB / 0.5586 GB, free: 3.012 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.1303, allocations: 4 kB / 0.5586 GB, free: 3.008 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * 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 8.389e-05/0.1304, allocations: 113.8 kB / 0.5587 GB, free: 2.887 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.875e-05/0.1304, allocations: 11.89 kB / 0.5587 GB, free: 2.875 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002768/0.1307, allocations: 89.45 kB / 0.5588 GB, free: 2.785 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1307, allocations: 4 kB / 0.5588 GB, free: 2.781 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.1307, allocations: 0 / 0.5588 GB, free: 2.781 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1307, allocations: 0 / 0.5588 GB, free: 2.781 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007604/0.1315, allocations: 355.3 kB / 0.5591 GB, free: 2.375 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1315, allocations: 0 / 0.5591 GB, free: 2.375 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.644e-05/0.1316, allocations: 15.98 kB / 0.5592 GB, free: 2.359 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1316, allocations: 7.969 kB / 0.5592 GB, free: 2.352 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.1316, allocations: 0 / 0.5592 GB, free: 2.352 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.1316, allocations: 3.984 kB / 0.5592 GB, free: 2.348 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.1316, allocations: 7.938 kB / 0.5592 GB, free: 2.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002682/0.1318, allocations: 180.2 kB / 0.5593 GB, free: 2.145 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.478e-05/0.1319, allocations: 85.06 kB / 0.5594 GB, free: 2.043 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.1319, allocations: 4 kB / 0.5594 GB, free: 2.039 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.903e-05/0.132, allocations: 4 kB / 0.5594 GB, free: 2.035 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.912e-05/0.132, allocations: 3.984 kB / 0.5594 GB, free: 2.031 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.615e-06/0.132, allocations: 4 kB / 0.5594 GB, free: 2.027 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.216e-05/0.1321, allocations: 75.28 kB / 0.5595 GB, free: 1.953 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1321, allocations: 0 / 0.5595 GB, free: 1.953 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002353/0.1323, allocations: 19.88 kB / 0.5595 GB, free: 1.934 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (5): * Single equations (assignments): 5 * 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.0006309/0.1329, allocations: 0.7133 MB / 0.5602 GB, free: 1.188 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002259/0.1332, allocations: 39.97 kB / 0.5603 GB, free: 1.148 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1332, allocations: 4 kB / 0.5603 GB, free: 1.145 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.003e-05/0.1333, allocations: 31.91 kB / 0.5603 GB, free: 1.113 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002107/0.1335, allocations: 0 / 0.5603 GB, free: 1.113 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005818/0.134, allocations: 163.5 kB / 0.5605 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.1344, allocations: 0.6768 MB / 0.5611 GB, free: 212 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.108e-05/0.1344, allocations: 8.062 kB / 0.5611 GB, free: 204 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.231e-05/0.1345, allocations: 7.438 kB / 0.5611 GB, free: 196 kB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1345, allocations: 0 / 0.5611 GB, free: 196 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01569/0.1501, allocations: 1.536 MB / 0.5626 GB, free: 14.76 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.147/8.297, allocations: 9.828 kB / 0.5626 GB, free: 14.75 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_TestRegStep_fmu --startTime=0 --stopTime=1.3 --stepSize=0.000259896 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_TestRegStep.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.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: 11.390502600988839]