Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001766/0.001766, allocations: 118.6 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00219/0.00219, allocations: 218.6 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2211/0.2211, allocations: 46.89 MB / 357.4 MB, free: 10.49 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002161/0.002161, allocations: 83.86 kB / 0.4912 GB, free: 8.375 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1203, allocations: 66 MB / 0.5557 GB, free: 6.25 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001525/0.1218, allocations: 0.491 MB / 0.5562 GB, free: 5.754 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003075/0.1221, allocations: 103.7 kB / 0.5563 GB, free: 5.652 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.708e-05/0.1221, allocations: 8 kB / 0.5563 GB, free: 5.645 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.534e-05/0.1221, allocations: 0 / 0.5563 GB, free: 5.645 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001962/0.1223, allocations: 12.45 kB / 0.5563 GB, free: 5.633 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.788e-05/0.1223, allocations: 4 kB / 0.5563 GB, free: 5.629 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 4.368e-05/0.1224, allocations: 11.88 kB / 0.5563 GB, free: 5.617 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.274e-05/0.1224, allocations: 0 / 0.5563 GB, free: 5.617 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.737e-05/0.1224, allocations: 3.938 kB / 0.5563 GB, free: 5.613 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.164e-05/0.1225, allocations: 7.984 kB / 0.5563 GB, free: 5.605 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.014e-05/0.1225, allocations: 0 / 0.5563 GB, free: 5.605 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.932e-05/0.1226, allocations: 23.97 kB / 0.5563 GB, free: 5.582 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.476e-06/0.1226, allocations: 4 kB / 0.5563 GB, free: 5.578 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.935e-05/0.1226, allocations: 7.938 kB / 0.5563 GB, free: 5.57 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 8.083e-05/0.1227, allocations: 15.97 kB / 0.5563 GB, free: 5.555 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1227, allocations: 0 / 0.5563 GB, free: 5.555 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1227, allocations: 0 / 0.5563 GB, free: 5.555 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.1227, allocations: 0 / 0.5563 GB, free: 5.555 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.0003427/0.123, allocations: 323.5 kB / 0.5567 GB, free: 5.188 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.1231, allocations: 12.03 kB / 0.5567 GB, free: 5.176 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.275e-05/0.1231, allocations: 30.75 kB / 0.5567 GB, free: 5.137 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.058e-05/0.1231, allocations: 4.938 kB / 0.5567 GB, free: 5.133 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.1233, allocations: 160.4 kB / 0.5569 GB, free: 4.938 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.1233, allocations: 384 / 0.5569 GB, free: 4.938 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.1233, allocations: 8.312 kB / 0.5569 GB, free: 4.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.771e-05/0.1234, allocations: 38.25 kB / 0.5569 GB, free: 4.887 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.1234, allocations: 7.922 kB / 0.5569 GB, free: 4.879 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-06/0.1234, allocations: 0 / 0.5569 GB, free: 4.879 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-06/0.1234, allocations: 0 / 0.5569 GB, free: 4.879 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.967e-05/0.1234, allocations: 4 kB / 0.5569 GB, free: 4.875 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001659/0.1236, allocations: 161.6 kB / 0.5571 GB, free: 4.668 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.1238, allocations: 38.55 kB / 0.5571 GB, free: 4.621 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.765e-05/0.1238, allocations: 8.859 kB / 0.5571 GB, free: 4.609 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003591/0.1241, allocations: 121.1 kB / 0.5572 GB, free: 4.473 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.1242, allocations: 34.56 kB / 0.5573 GB, free: 4.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1242, allocations: 0 / 0.5573 GB, free: 4.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.001266/0.1254, allocations: 189.3 kB / 0.5574 GB, free: 4.238 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.1255, allocations: 55.41 kB / 0.5575 GB, free: 4.172 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.832e-05/0.1256, allocations: 97.86 kB / 0.5576 GB, free: 4.066 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.1256, allocations: 25.7 kB / 0.5576 GB, free: 4.035 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.434e-05/0.1256, allocations: 84.14 kB / 0.5577 GB, free: 3.949 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.682e-05/0.1256, allocations: 15.89 kB / 0.5577 GB, free: 3.934 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.602e-05/0.1257, allocations: 13.72 kB / 0.5577 GB, free: 3.914 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.1258, allocations: 314.8 kB / 0.558 GB, free: 3.598 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.806e-05/0.1259, allocations: 19.97 kB / 0.558 GB, free: 3.578 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.826e-05/0.126, allocations: 24.11 kB / 0.5581 GB, free: 3.555 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.1261, allocations: 49.02 kB / 0.5581 GB, free: 3.504 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.1261, allocations: 0 / 0.5581 GB, free: 3.504 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001975/0.1263, allocations: 85.48 kB / 0.5582 GB, free: 3.414 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.1263, allocations: 8 kB / 0.5582 GB, free: 3.406 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1263, allocations: 3.984 kB / 0.5582 GB, free: 3.402 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.1263, allocations: 0 / 0.5582 GB, free: 3.402 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.1265, allocations: 15.98 kB / 0.5582 GB, free: 3.387 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.1265, allocations: 0 / 0.5582 GB, free: 3.387 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.222e-05/0.1265, allocations: 4 kB / 0.5582 GB, free: 3.383 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.1266, allocations: 4 kB / 0.5582 GB, free: 3.379 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.648e-05/0.1266, allocations: 109.8 kB / 0.5583 GB, free: 3.262 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.118e-05/0.1267, allocations: 11.89 kB / 0.5583 GB, free: 3.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002614/0.1269, allocations: 93.16 kB / 0.5584 GB, free: 3.156 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1269, allocations: 0 / 0.5584 GB, free: 3.156 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1269, allocations: 0 / 0.5584 GB, free: 3.156 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.1269, allocations: 3.984 kB / 0.5584 GB, free: 3.152 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007182/0.1276, allocations: 355.3 kB / 0.5588 GB, free: 2.746 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1276, allocations: 0 / 0.5588 GB, free: 2.746 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.683e-05/0.1277, allocations: 15.98 kB / 0.5588 GB, free: 2.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.1277, allocations: 3.938 kB / 0.5588 GB, free: 2.727 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.1278, allocations: 0 / 0.5588 GB, free: 2.727 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1278, allocations: 0 / 0.5588 GB, free: 2.727 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/0.1278, allocations: 4 kB / 0.5588 GB, free: 2.723 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002446/0.128, allocations: 188.4 kB / 0.559 GB, free: 2.52 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.47e-05/0.1281, allocations: 81.06 kB / 0.5591 GB, free: 2.422 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.1281, allocations: 8.312 kB / 0.5591 GB, free: 2.414 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.1282, allocations: 4 kB / 0.5591 GB, free: 2.41 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.635e-05/0.1282, allocations: 7.984 kB / 0.5591 GB, free: 2.402 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.1282, allocations: 4 kB / 0.5591 GB, free: 2.398 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.984e-05/0.1283, allocations: 75.28 kB / 0.5591 GB, free: 2.324 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1283, allocations: 4.094 kB / 0.5591 GB, free: 2.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002282/0.1285, allocations: 11.94 kB / 0.5592 GB, free: 2.309 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.0006045/0.1291, allocations: 0.7093 MB / 0.5599 GB, free: 1.566 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002048/0.1293, allocations: 51.95 kB / 0.5599 GB, free: 1.516 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1293, allocations: 0 / 0.5599 GB, free: 1.516 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.008e-05/0.1294, allocations: 27.92 kB / 0.5599 GB, free: 1.488 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002115/0.1296, allocations: 0 / 0.5599 GB, free: 1.488 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005405/0.1302, allocations: 159.5 kB / 0.5601 GB, free: 1.289 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.1305, allocations: 0.6807 MB / 0.5607 GB, free: 0.582 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.042e-05/0.1305, allocations: 4 kB / 0.5608 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.516e-05/0.1305, allocations: 15.38 kB / 0.5608 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1305, allocations: 4 kB / 0.5608 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02117/0.1517, allocations: 1.477 MB / 0.5622 GB, free: 15.16 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.927/8.079, allocations: 17.09 kB / 0.5622 GB, free: 15.15 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegStep_fmu --startTime=0 --stopTime=1.3 --stepSize=0.000259896 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegStep.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 10.958582986611873]