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.001798/0.001798, allocations: 127.4 kB / 17.79 MB, free: 5.242 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.002177/0.002177, allocations: 211.6 kB / 20.75 MB, free: 2.293 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.456/1.456, allocations: 230.4 MB / 254 MB, free: 15.02 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.229/0.229, allocations: 46.92 MB / 357 MB, free: 10.18 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.002327/0.002327, allocations: 79.88 kB / 0.491 GB, free: 7.738 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1276, allocations: 66.04 MB / 0.5554 GB, free: 5.566 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001788/0.1294, allocations: 0.4946 MB / 0.5559 GB, free: 5.066 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003379/0.1297, allocations: 108.2 kB / 0.556 GB, free: 4.961 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.664e-05/0.1297, allocations: 4 kB / 0.556 GB, free: 4.957 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.472e-05/0.1298, allocations: 0 / 0.556 GB, free: 4.957 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002059/0.13, allocations: 15.92 kB / 0.5561 GB, free: 4.941 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.137e-05/0.13, allocations: 4 kB / 0.5561 GB, free: 4.938 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 4.237e-05/0.13, allocations: 0 / 0.5561 GB, free: 4.938 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.328e-05/0.1301, allocations: 4 kB / 0.5561 GB, free: 4.934 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.139e-05/0.1301, allocations: 7.938 kB / 0.5561 GB, free: 4.926 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.233e-05/0.1301, allocations: 0 / 0.5561 GB, free: 4.926 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.738e-06/0.1301, allocations: 4 kB / 0.5561 GB, free: 4.922 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.33e-05/0.1302, allocations: 19.97 kB / 0.5561 GB, free: 4.902 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.146e-05/0.1302, allocations: 11.92 kB / 0.5561 GB, free: 4.891 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.995e-05/0.1303, allocations: 7.938 kB / 0.5561 GB, free: 4.883 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 8.264e-05/0.1303, allocations: 11.98 kB / 0.5561 GB, free: 4.871 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1303, allocations: 0 / 0.5561 GB, free: 4.871 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1303, allocations: 4 kB / 0.5561 GB, free: 4.867 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1303, allocations: 3.984 kB / 0.5561 GB, free: 4.863 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.0003193/0.1307, allocations: 315.5 kB / 0.5564 GB, free: 4.504 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.1307, allocations: 8.031 kB / 0.5564 GB, free: 4.496 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.735e-05/0.1307, allocations: 34.75 kB / 0.5565 GB, free: 4.453 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.416e-05/0.1308, allocations: 8.922 kB / 0.5565 GB, free: 4.445 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.1309, allocations: 164.4 kB / 0.5566 GB, free: 4.246 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.1309, allocations: 384 / 0.5566 GB, free: 4.246 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.601e-05/0.1309, allocations: 384 / 0.5566 GB, free: 4.246 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.548e-05/0.131, allocations: 38.25 kB / 0.5567 GB, free: 4.203 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.131, allocations: 7.938 kB / 0.5567 GB, free: 4.195 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.131, allocations: 7.922 kB / 0.5567 GB, free: 4.188 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.131, allocations: 3.938 kB / 0.5567 GB, free: 4.184 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.534e-05/0.1311, allocations: 4 kB / 0.5567 GB, free: 4.18 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001623/0.1312, allocations: 157.7 kB / 0.5568 GB, free: 3.977 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/0.1314, allocations: 38.52 kB / 0.5569 GB, free: 3.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.026e-05/0.1314, allocations: 12.94 kB / 0.5569 GB, free: 3.914 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003537/0.1318, allocations: 109.1 kB / 0.557 GB, free: 3.789 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.1318, allocations: 34.56 kB / 0.557 GB, free: 3.746 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1318, allocations: 7.938 kB / 0.557 GB, free: 3.738 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.001299/0.1331, allocations: 185.3 kB / 0.5572 GB, free: 3.551 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.1331, allocations: 55.41 kB / 0.5573 GB, free: 3.484 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.998e-05/0.1332, allocations: 97.8 kB / 0.5574 GB, free: 3.379 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.1332, allocations: 29.7 kB / 0.5574 GB, free: 3.344 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.334e-05/0.1333, allocations: 80.14 kB / 0.5575 GB, free: 3.262 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.007e-05/0.1333, allocations: 15.89 kB / 0.5575 GB, free: 3.246 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.502e-05/0.1333, allocations: 21.7 kB / 0.5575 GB, free: 3.219 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.1335, allocations: 310.8 kB / 0.5578 GB, free: 2.906 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.773e-05/0.1336, allocations: 19.98 kB / 0.5578 GB, free: 2.887 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.512e-05/0.1336, allocations: 24.11 kB / 0.5578 GB, free: 2.863 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.1338, allocations: 41.02 kB / 0.5579 GB, free: 2.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.1338, allocations: 4 kB / 0.5579 GB, free: 2.816 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002145/0.134, allocations: 81.59 kB / 0.558 GB, free: 2.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.134, allocations: 4 kB / 0.558 GB, free: 2.727 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.134, allocations: 3.938 kB / 0.558 GB, free: 2.723 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.134, allocations: 0 / 0.558 GB, free: 2.723 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.1342, allocations: 19.98 kB / 0.558 GB, free: 2.703 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.1342, allocations: 0 / 0.558 GB, free: 2.703 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.543e-05/0.1342, allocations: 7.984 kB / 0.558 GB, free: 2.695 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.1343, allocations: 0 / 0.558 GB, free: 2.695 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.938e-05/0.1343, allocations: 113.8 kB / 0.5581 GB, free: 2.574 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.513e-05/0.1344, allocations: 7.891 kB / 0.5581 GB, free: 2.566 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002632/0.1346, allocations: 89.2 kB / 0.5582 GB, free: 2.477 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1346, allocations: 4 kB / 0.5582 GB, free: 2.473 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.1346, allocations: 3.938 kB / 0.5582 GB, free: 2.469 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1346, allocations: 0 / 0.5582 GB, free: 2.469 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007155/0.1353, allocations: 355.3 kB / 0.5585 GB, free: 2.062 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1353, allocations: 4 kB / 0.5585 GB, free: 2.059 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.341e-05/0.1354, allocations: 15.92 kB / 0.5586 GB, free: 2.043 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-06/0.1354, allocations: 0 / 0.5586 GB, free: 2.043 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.1354, allocations: 7.938 kB / 0.5586 GB, free: 2.035 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1354, allocations: 0 / 0.5586 GB, free: 2.035 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1354, allocations: 0 / 0.5586 GB, free: 2.035 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002562/0.1357, allocations: 188.3 kB / 0.5588 GB, free: 1.832 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.453e-05/0.1358, allocations: 81.06 kB / 0.5588 GB, free: 1.734 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.1358, allocations: 192 / 0.5588 GB, free: 1.734 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.1359, allocations: 11.98 kB / 0.5588 GB, free: 1.723 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.768e-05/0.1359, allocations: 8.266 kB / 0.5588 GB, free: 1.715 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.1359, allocations: 0 / 0.5588 GB, free: 1.715 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.64e-05/0.1359, allocations: 75.28 kB / 0.5589 GB, free: 1.641 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1359, allocations: 4.094 kB / 0.5589 GB, free: 1.637 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002324/0.1362, allocations: 19.92 kB / 0.5589 GB, free: 1.617 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.0005813/0.1367, allocations: 0.7055 MB / 0.5596 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002167/0.137, allocations: 51.89 kB / 0.5597 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.137, allocations: 0 / 0.5597 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.536e-05/0.137, allocations: 23.97 kB / 0.5597 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002082/0.1373, allocations: 8 kB / 0.5597 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005357/0.1378, allocations: 163.4 kB / 0.5599 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.1381, allocations: 0.6768 MB / 0.5605 GB, free: 15.89 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.073e-05/0.1381, allocations: 7.984 kB / 0.5605 GB, free: 15.88 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.215e-05/0.1382, allocations: 7.438 kB / 0.5605 GB, free: 15.88 MB / 430.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1382, allocations: 4 kB / 0.5605 GB, free: 15.87 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0214/0.1596, allocations: 1.479 MB / 0.562 GB, free: 14.47 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.693/7.853, allocations: 8.953 kB / 0.562 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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.csv --start-time 0 --stop-time 1.3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000259896 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.csv","/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.886837592930533]