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.0008565/0.0008565, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008913/0.0008913, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8776/0.8776, allocations: 177 MB / 204.1 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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.2218/0.2218, allocations: 34.24 MB / 294.8 MB, free: 0.7031 MB / 266.7 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 1.563e-06/1.563e-06, allocations: 0 / 442.1 MB, free: 1.613 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.927e-05/2.083e-05, allocations: 8.469 kB / 442.1 MB, free: 1.605 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001113/0.001134, allocations: 0.4973 MB / 442.6 MB, free: 1.109 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002643/0.001398, allocations: 91.67 kB / 442.7 MB, free: 1.02 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.549e-05/0.001423, allocations: 0 / 442.7 MB, free: 1.02 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.364e-05/0.001437, allocations: 3.938 kB / 442.7 MB, free: 1.016 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002112/0.001648, allocations: 15.92 kB / 442.7 MB, free: 1 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.494e-05/0.001663, allocations: 11.92 kB / 442.8 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.562e-05/0.001709, allocations: 8 kB / 442.8 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.919e-05/0.001748, allocations: 0 / 442.8 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.141e-05/0.001779, allocations: 7.938 kB / 442.8 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.907e-05/0.001818, allocations: 3.984 kB / 442.8 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.001831, allocations: 0 / 442.8 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.128e-05/0.001902, allocations: 19.98 kB / 442.8 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.107e-05/0.001913, allocations: 0 / 442.8 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.305e-05/0.001926, allocations: 0 / 442.8 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 8.003e-05/0.002006, allocations: 23.95 kB / 442.8 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.002008, allocations: 0 / 442.8 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.002009, allocations: 4 kB / 442.8 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.002013, allocations: 0 / 442.8 MB, free: 0.9219 MB / 410.7 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.0002444/0.002258, allocations: 250.4 kB / 443.1 MB, free: 0.6445 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.002301, allocations: 8.031 kB / 443.1 MB, free: 0.6367 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.567e-05/0.002327, allocations: 34.69 kB / 443.1 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.899e-05/0.002346, allocations: 0.9375 kB / 443.1 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.144e-05/0.002417, allocations: 109.7 kB / 443.2 MB, free: 472 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.258e-06/0.002426, allocations: 4.312 kB / 443.2 MB, free: 468 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.002445, allocations: 4.375 kB / 443.2 MB, free: 464 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.01e-05/0.002525, allocations: 46.17 kB / 443.3 MB, free: 412 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.002534, allocations: 4.188 kB / 443.3 MB, free: 408 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-06/0.002541, allocations: 384 / 443.3 MB, free: 408 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.002546, allocations: 4.125 kB / 443.3 MB, free: 404 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.142e-05/0.002578, allocations: 4 kB / 443.3 MB, free: 400 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001148/0.002693, allocations: 124.8 kB / 443.4 MB, free: 232 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001686/0.002861, allocations: 34.61 kB / 443.4 MB, free: 188 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.042e-05/0.002882, allocations: 8.859 kB / 443.4 MB, free: 176 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002141/0.003096, allocations: 47.98 kB / 443.5 MB, free: 128 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.596e-05/0.003112, allocations: 34.55 kB / 443.5 MB, free: 84 kB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.003113, allocations: 0 / 443.5 MB, free: 84 kB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.1555/0.1586, allocations: 179.7 kB / 443.7 MB, free: 44.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.329e-05/0.1586, allocations: 51.41 kB / 443.8 MB, free: 44.19 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.301e-05/0.1587, allocations: 92.48 kB / 443.8 MB, free: 44.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.232e-06/0.1587, allocations: 29.89 kB / 443.9 MB, free: 44.06 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.733e-06/0.1587, allocations: 80.14 kB / 444 MB, free: 43.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.198e-05/0.1587, allocations: 18.67 kB / 444 MB, free: 43.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.669e-05/0.1587, allocations: 18.98 kB / 444 MB, free: 43.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.62e-05/0.1587, allocations: 313.8 kB / 444.3 MB, free: 43.65 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.205e-05/0.1588, allocations: 24.27 kB / 444.3 MB, free: 43.65 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.508e-05/0.1588, allocations: 16.98 kB / 444.3 MB, free: 43.65 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.746e-05/0.1589, allocations: 53.28 kB / 444.4 MB, free: 43.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.1589, allocations: 0 / 444.4 MB, free: 43.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.619e-05/0.159, allocations: 79.92 kB / 444.5 MB, free: 43.61 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.159, allocations: 5.812 kB / 444.5 MB, free: 43.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.159, allocations: 3.188 kB / 444.5 MB, free: 43.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.159, allocations: 0 / 444.5 MB, free: 43.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.35e-05/0.1591, allocations: 14.23 kB / 444.5 MB, free: 43.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.1591, allocations: 4.406 kB / 444.5 MB, free: 43.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.491e-05/0.1591, allocations: 9.219 kB / 444.5 MB, free: 43.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.1591, allocations: 0 / 444.5 MB, free: 43.61 MB / 410.7 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 3.792e-05/0.1592, allocations: 115.6 kB / 444.6 MB, free: 43.49 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.402e-06/0.1592, allocations: 10.33 kB / 444.6 MB, free: 43.49 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001431/0.1593, allocations: 81.8 kB / 444.7 MB, free: 43.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1593, allocations: 8.75 kB / 444.7 MB, free: 43.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1593, allocations: 0 / 444.7 MB, free: 43.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1593, allocations: 3.234 kB / 444.7 MB, free: 43.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000331/0.1597, allocations: 322.2 kB / 445 MB, free: 43.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1597, allocations: 3.031 kB / 445 MB, free: 43.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.764e-05/0.1597, allocations: 14.34 kB / 445 MB, free: 43.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.1597, allocations: 3.281 kB / 445 MB, free: 43.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.1597, allocations: 5.656 kB / 445.1 MB, free: 43.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1597, allocations: 3.281 kB / 445.1 MB, free: 43.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1597, allocations: 2.781 kB / 445.1 MB, free: 43.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.687e-05/0.1598, allocations: 181.1 kB / 445.2 MB, free: 43.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.909e-06/0.1598, allocations: 11.33 kB / 445.2 MB, free: 43.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.112e-05/0.1598, allocations: 0.5625 kB / 445.2 MB, free: 43.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.33e-05/0.1599, allocations: 9.359 kB / 445.3 MB, free: 43.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.07e-05/0.1599, allocations: 4.125 kB / 445.3 MB, free: 43.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-06/0.1599, allocations: 2.812 kB / 445.3 MB, free: 43.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.206e-06/0.1599, allocations: 78.88 kB / 445.3 MB, free: 42.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1599, allocations: 0 / 445.3 MB, free: 42.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00015/0.16, allocations: 7.844 kB / 445.3 MB, free: 42.96 MB / 410.7 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.0002343/0.1603, allocations: 0.715 MB / 446.1 MB, free: 42.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001175/0.1604, allocations: 48.38 kB / 446.1 MB, free: 42.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1604, allocations: 0 / 446.1 MB, free: 42.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.435e-05/0.1604, allocations: 25.95 kB / 446.1 MB, free: 42.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001501/0.1606, allocations: 2.75 kB / 446.1 MB, free: 42.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003129/0.1609, allocations: 163.6 kB / 446.3 MB, free: 42.16 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.797e-05/0.1609, allocations: 64.16 kB / 446.4 MB, free: 42.08 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.757e-05/0.161, allocations: 5.719 kB / 446.4 MB, free: 42.08 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.391e-05/0.161, allocations: 18.08 kB / 446.4 MB, free: 42.08 MB / 410.7 MB Notification: Performance of SimCode: time 4.21e-07/0.161, allocations: 7.609 kB / 446.4 MB, free: 42.07 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01371/0.1747, allocations: 2.147 MB / 448.5 MB, free: 41.21 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.68/6.855, allocations: 10.91 kB / 448.6 MB, free: 41.2 MB / 410.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins/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: 8.714141903445125]