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.001246/0.001246, allocations: 118.3 kB / 18.49 MB, free: 4.535 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.001281/0.001281, allocations: 222.3 kB / 21.46 MB, free: 1.582 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.398/1.398, allocations: 230.5 MB / 254.7 MB, free: 15.01 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.2197/0.2197, allocations: 46.92 MB / 357.7 MB, free: 10.25 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002431/0.002431, allocations: 79.88 kB / 0.4916 GB, free: 7.762 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1236, allocations: 66.04 MB / 0.5561 GB, free: 5.594 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001795/0.1254, allocations: 0.4948 MB / 0.5566 GB, free: 5.094 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003451/0.1258, allocations: 104.3 kB / 0.5567 GB, free: 4.992 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.85e-05/0.1258, allocations: 4 kB / 0.5567 GB, free: 4.988 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.524e-05/0.1258, allocations: 3.938 kB / 0.5567 GB, free: 4.984 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002176/0.126, allocations: 15.92 kB / 0.5567 GB, free: 4.969 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.052e-05/0.1261, allocations: 4 kB / 0.5567 GB, free: 4.965 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 4.618e-05/0.1261, allocations: 0 / 0.5567 GB, free: 4.965 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.88e-05/0.1261, allocations: 4 kB / 0.5567 GB, free: 4.961 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.372e-05/0.1262, allocations: 7.922 kB / 0.5568 GB, free: 4.953 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.943e-05/0.1262, allocations: 0 / 0.5568 GB, free: 4.953 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.908e-06/0.1262, allocations: 4 kB / 0.5568 GB, free: 4.949 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.499e-05/0.1263, allocations: 23.97 kB / 0.5568 GB, free: 4.926 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.657e-06/0.1263, allocations: 4 kB / 0.5568 GB, free: 4.922 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.959e-05/0.1263, allocations: 7.938 kB / 0.5568 GB, free: 4.914 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 8.565e-05/0.1264, allocations: 15.97 kB / 0.5568 GB, free: 4.898 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1264, allocations: 3.984 kB / 0.5568 GB, free: 4.895 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1264, allocations: 0 / 0.5568 GB, free: 4.895 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.1264, allocations: 4 kB / 0.5568 GB, free: 4.891 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.0003703/0.1268, allocations: 319.4 kB / 0.5571 GB, free: 4.527 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.1268, allocations: 8.031 kB / 0.5571 GB, free: 4.52 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.456e-05/0.1269, allocations: 192 / 0.5571 GB, free: 4.52 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.405e-05/0.1269, allocations: 46.73 kB / 0.5572 GB, free: 4.465 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.816e-05/0.1269, allocations: 4.938 kB / 0.5572 GB, free: 4.461 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.1271, allocations: 160.4 kB / 0.5573 GB, free: 4.266 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.184e-06/0.1271, allocations: 384 / 0.5573 GB, free: 4.266 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.437e-05/0.1271, allocations: 4.375 kB / 0.5573 GB, free: 4.262 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.1272, allocations: 38 kB / 0.5574 GB, free: 4.219 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.1272, allocations: 0 / 0.5574 GB, free: 4.219 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.1272, allocations: 4 kB / 0.5574 GB, free: 4.215 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.1272, allocations: 3.938 kB / 0.5574 GB, free: 4.211 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.76e-05/0.1273, allocations: 7.938 kB / 0.5574 GB, free: 4.203 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001857/0.1274, allocations: 157.7 kB / 0.5575 GB, free: 4 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.1276, allocations: 30.67 kB / 0.5576 GB, free: 3.961 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.308e-05/0.1277, allocations: 16.84 kB / 0.5576 GB, free: 3.941 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003677/0.128, allocations: 109.1 kB / 0.5577 GB, free: 3.816 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.1281, allocations: 46.48 kB / 0.5577 GB, free: 3.762 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.1281, allocations: 3.938 kB / 0.5577 GB, free: 3.758 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.001283/0.1294, allocations: 189.6 kB / 0.5579 GB, free: 3.566 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.1294, allocations: 55.41 kB / 0.558 GB, free: 3.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.949e-05/0.1295, allocations: 89.86 kB / 0.5581 GB, free: 3.402 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.1295, allocations: 25.7 kB / 0.5581 GB, free: 3.371 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.032e-05/0.1295, allocations: 84.14 kB / 0.5582 GB, free: 3.285 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.863e-05/0.1295, allocations: 11.91 kB / 0.5582 GB, free: 3.273 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.584e-05/0.1296, allocations: 21.7 kB / 0.5582 GB, free: 3.246 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.1297, allocations: 310.8 kB / 0.5585 GB, free: 2.934 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.391e-05/0.1298, allocations: 28.05 kB / 0.5585 GB, free: 2.906 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.54e-05/0.1299, allocations: 23.97 kB / 0.5585 GB, free: 2.883 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.1301, allocations: 44.83 kB / 0.5586 GB, free: 2.836 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1301, allocations: 0 / 0.5586 GB, free: 2.836 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002048/0.1303, allocations: 73.61 kB / 0.5586 GB, free: 2.758 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.1303, allocations: 4 kB / 0.5587 GB, free: 2.754 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1303, allocations: 4 kB / 0.5587 GB, free: 2.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.1303, allocations: 4 kB / 0.5587 GB, free: 2.746 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.1304, allocations: 11.98 kB / 0.5587 GB, free: 2.734 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.1304, allocations: 3.938 kB / 0.5587 GB, free: 2.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.625e-05/0.1305, allocations: 7.984 kB / 0.5587 GB, free: 2.723 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-06/0.1305, allocations: 4 kB / 0.5587 GB, free: 2.719 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.421e-05/0.1306, allocations: 109.8 kB / 0.5588 GB, free: 2.602 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.563e-05/0.1306, allocations: 8.141 kB / 0.5588 GB, free: 2.594 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002704/0.1309, allocations: 97.2 kB / 0.5589 GB, free: 2.496 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1309, allocations: 0 / 0.5589 GB, free: 2.496 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1309, allocations: 0 / 0.5589 GB, free: 2.496 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1309, allocations: 0 / 0.5589 GB, free: 2.496 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007319/0.1316, allocations: 363.3 kB / 0.5592 GB, free: 2.082 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1316, allocations: 3.938 kB / 0.5592 GB, free: 2.078 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.545e-05/0.1317, allocations: 11.98 kB / 0.5593 GB, free: 2.066 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.1317, allocations: 4 kB / 0.5593 GB, free: 2.062 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.1317, allocations: 3.938 kB / 0.5593 GB, free: 2.059 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1317, allocations: 0 / 0.5593 GB, free: 2.059 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1317, allocations: 0 / 0.5593 GB, free: 2.059 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002579/0.132, allocations: 184.3 kB / 0.5594 GB, free: 1.859 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.27e-05/0.132, allocations: 81.06 kB / 0.5595 GB, free: 1.762 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/0.1321, allocations: 0 / 0.5595 GB, free: 1.762 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.1322, allocations: 7.984 kB / 0.5595 GB, free: 1.754 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.011e-05/0.1322, allocations: 4 kB / 0.5595 GB, free: 1.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.1322, allocations: 0 / 0.5595 GB, free: 1.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.602e-05/0.1322, allocations: 87.27 kB / 0.5596 GB, free: 1.664 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1322, allocations: 0 / 0.5596 GB, free: 1.664 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000234/0.1325, allocations: 23.81 kB / 0.5596 GB, free: 1.641 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.0006016/0.1331, allocations: 0.7056 MB / 0.5603 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00023/0.1333, allocations: 47.89 kB / 0.5604 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1333, allocations: 0 / 0.5604 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.095e-05/0.1334, allocations: 19.98 kB / 0.5604 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/0.1336, allocations: 4 kB / 0.5604 GB, free: 0.832 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005585/0.1342, allocations: 163.6 kB / 0.5605 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.1345, allocations: 0.6767 MB / 0.5612 GB, free: 15.93 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.093e-05/0.1345, allocations: 12.3 kB / 0.5612 GB, free: 15.91 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.837e-05/0.1346, allocations: 15.44 kB / 0.5612 GB, free: 15.9 MB / 430.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1346, allocations: 0 / 0.5612 GB, free: 15.9 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01596/0.1505, allocations: 1.52 MB / 0.5627 GB, free: 14.47 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.803/7.954, allocations: 10.31 kB / 0.5627 GB, free: 14.46 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.802412391989492]