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.001403/0.001403, allocations: 124.5 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.001474/0.001474, allocations: 207.2 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.416/1.416, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.2373/0.2373, allocations: 46.91 MB / 357.1 MB, free: 10.3 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 67.89 kB / 0.4909 GB, free: 7.949 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1211, allocations: 65.99 MB / 0.5554 GB, free: 5.836 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001724/0.1228, allocations: 0.5027 MB / 0.5558 GB, free: 5.332 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003472/0.1232, allocations: 100.3 kB / 0.5559 GB, free: 5.234 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.92e-05/0.1232, allocations: 0 / 0.5559 GB, free: 5.234 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.88e-05/0.1232, allocations: 0 / 0.5559 GB, free: 5.234 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002248/0.1234, allocations: 11.92 kB / 0.556 GB, free: 5.223 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.312e-05/0.1235, allocations: 7.969 kB / 0.556 GB, free: 5.215 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.598e-05/0.1235, allocations: 8 kB / 0.556 GB, free: 5.207 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.045e-05/0.1236, allocations: 0 / 0.556 GB, free: 5.207 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.234e-05/0.1236, allocations: 11.88 kB / 0.556 GB, free: 5.195 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.229e-05/0.1236, allocations: 4 kB / 0.556 GB, free: 5.191 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.157e-05/0.1236, allocations: 0 / 0.556 GB, free: 5.191 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.209e-05/0.1237, allocations: 23.97 kB / 0.556 GB, free: 5.168 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.002e-05/0.1237, allocations: 0 / 0.556 GB, free: 5.168 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.981e-05/0.1238, allocations: 3.938 kB / 0.556 GB, free: 5.164 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 9.744e-05/0.1239, allocations: 19.97 kB / 0.556 GB, free: 5.145 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1239, allocations: 0 / 0.556 GB, free: 5.145 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1239, allocations: 0 / 0.556 GB, free: 5.145 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.1239, allocations: 0 / 0.556 GB, free: 5.145 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.0003827/0.1243, allocations: 323.5 kB / 0.5563 GB, free: 4.777 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.1243, allocations: 16.03 kB / 0.5564 GB, free: 4.762 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.026e-05/0.1243, allocations: 34.75 kB / 0.5564 GB, free: 4.719 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.105e-05/0.1244, allocations: 0.9375 kB / 0.5564 GB, free: 4.719 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.1245, allocations: 164.4 kB / 0.5565 GB, free: 4.52 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.1245, allocations: 4.375 kB / 0.5566 GB, free: 4.516 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/0.1245, allocations: 384 / 0.5566 GB, free: 4.516 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.1246, allocations: 38.2 kB / 0.5566 GB, free: 4.473 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.1246, allocations: 3.938 kB / 0.5566 GB, free: 4.469 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.1246, allocations: 0 / 0.5566 GB, free: 4.469 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1247, allocations: 4 kB / 0.5566 GB, free: 4.465 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.165e-05/0.1247, allocations: 11.98 kB / 0.5566 GB, free: 4.453 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001758/0.1249, allocations: 153.7 kB / 0.5568 GB, free: 4.254 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001941/0.1251, allocations: 38.52 kB / 0.5568 GB, free: 4.207 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.125e-05/0.1251, allocations: 12.94 kB / 0.5568 GB, free: 4.191 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003648/0.1255, allocations: 113.1 kB / 0.5569 GB, free: 4.062 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.1255, allocations: 38.5 kB / 0.5569 GB, free: 4.016 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.1255, allocations: 0 / 0.5569 GB, free: 4.016 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.001355/0.1268, allocations: 193.3 kB / 0.5571 GB, free: 3.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.1269, allocations: 55.39 kB / 0.5572 GB, free: 3.754 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.41e-05/0.127, allocations: 97.86 kB / 0.5573 GB, free: 3.648 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.127, allocations: 25.7 kB / 0.5573 GB, free: 3.617 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.452e-05/0.127, allocations: 80.14 kB / 0.5574 GB, free: 3.535 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.677e-05/0.127, allocations: 7.906 kB / 0.5574 GB, free: 3.527 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.193e-05/0.1271, allocations: 21.7 kB / 0.5574 GB, free: 3.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.1272, allocations: 319 kB / 0.5577 GB, free: 3.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.421e-05/0.1273, allocations: 15.98 kB / 0.5577 GB, free: 3.164 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.391e-05/0.1274, allocations: 19.98 kB / 0.5577 GB, free: 3.145 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/0.1275, allocations: 44.83 kB / 0.5578 GB, free: 3.098 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.1275, allocations: 0 / 0.5578 GB, free: 3.098 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002068/0.1277, allocations: 81.53 kB / 0.5579 GB, free: 3.012 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.1277, allocations: 12 kB / 0.5579 GB, free: 3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.1277, allocations: 0 / 0.5579 GB, free: 3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.1278, allocations: 0 / 0.5579 GB, free: 3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.1279, allocations: 15.98 kB / 0.5579 GB, free: 2.984 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.1279, allocations: 0 / 0.5579 GB, free: 2.984 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.667e-05/0.128, allocations: 12.23 kB / 0.5579 GB, free: 2.973 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.128, allocations: 0 / 0.5579 GB, free: 2.973 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 7.372e-05/0.1281, allocations: 105.8 kB / 0.558 GB, free: 2.859 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.715e-05/0.1281, allocations: 11.89 kB / 0.558 GB, free: 2.848 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002536/0.1283, allocations: 97.14 kB / 0.5581 GB, free: 2.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.1283, allocations: 0 / 0.5581 GB, free: 2.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1283, allocations: 0 / 0.5581 GB, free: 2.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.1283, allocations: 288 / 0.5581 GB, free: 2.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007469/0.1291, allocations: 371.2 kB / 0.5585 GB, free: 2.328 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1291, allocations: 0 / 0.5585 GB, free: 2.328 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.413e-05/0.1292, allocations: 15.98 kB / 0.5585 GB, free: 2.312 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1292, allocations: 0 / 0.5585 GB, free: 2.312 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.535e-06/0.1292, allocations: 3.938 kB / 0.5585 GB, free: 2.309 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.1292, allocations: 4 kB / 0.5585 GB, free: 2.305 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1292, allocations: 0 / 0.5585 GB, free: 2.305 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002521/0.1294, allocations: 180.3 kB / 0.5587 GB, free: 2.109 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.581e-05/0.1295, allocations: 85 kB / 0.5587 GB, free: 2.008 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.1295, allocations: 4 kB / 0.5587 GB, free: 2.004 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.1296, allocations: 11.92 kB / 0.5588 GB, free: 1.992 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.331e-05/0.1296, allocations: 0 / 0.5588 GB, free: 1.992 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.824e-06/0.1296, allocations: 4 kB / 0.5588 GB, free: 1.988 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.963e-05/0.1297, allocations: 83.28 kB / 0.5588 GB, free: 1.906 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1297, allocations: 0 / 0.5588 GB, free: 1.906 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002283/0.1299, allocations: 11.94 kB / 0.5588 GB, free: 1.895 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.0005841/0.1305, allocations: 0.7094 MB / 0.5595 GB, free: 1.152 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002163/0.1307, allocations: 51.89 kB / 0.5596 GB, free: 1.102 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1307, allocations: 0 / 0.5596 GB, free: 1.102 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.758e-05/0.1308, allocations: 23.92 kB / 0.5596 GB, free: 1.078 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002082/0.131, allocations: 8 kB / 0.5596 GB, free: 1.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005435/0.1315, allocations: 163.9 kB / 0.5598 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.1318, allocations: 0.6729 MB / 0.5604 GB, free: 172 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.367e-05/0.1319, allocations: 12 kB / 0.5604 GB, free: 160 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.291e-05/0.1319, allocations: 11.42 kB / 0.5605 GB, free: 148 kB / 414.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1319, allocations: 0 / 0.5605 GB, free: 148 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02277/0.1547, allocations: 1.479 MB / 0.5619 GB, free: 14.75 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.955/8.11, allocations: 10.61 kB / 0.5619 GB, free: 14.74 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.005111972102895]