Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.0008315/0.0008315, 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.0007732/0.0007732, allocations: 156.9 kB / 23.94 MB, free: 0.6172 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.8454/0.8454, allocations: 177 MB / 204.1 MB, free: 5.738 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.2189/0.2189, allocations: 34.23 MB / 294.8 MB, free: 0.6758 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.Test02RegFun3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_Test02RegFun3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_Test02RegFun3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 442.1 MB, free: 1.578 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.016e-05/1.143e-05, allocations: 2.281 kB / 442.1 MB, free: 1.574 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.0008609/0.0008724, allocations: 0.4894 MB / 442.6 MB, free: 1.086 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1562/0.157, allocations: 1.348 MB / 444 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.358e-05/0.1571, allocations: 0 / 444 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.403e-05/0.1571, allocations: 0 / 444 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.666e-05/0.1571, allocations: 0 / 444 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005126/0.1576, allocations: 223.9 kB / 444.2 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.806e-05/0.1577, allocations: 8.016 kB / 444.2 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.986e-05/0.1577, allocations: 2.812 kB / 444.2 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.032e-05/0.1577, allocations: 13.27 kB / 444.2 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.408e-05/0.1578, allocations: 1.125 kB / 444.2 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.209e-05/0.1578, allocations: 2.688 kB / 444.2 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002591/0.158, allocations: 261.2 kB / 444.5 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.102e-05/0.1581, allocations: 0 / 444.5 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.441e-05/0.1581, allocations: 3.344 kB / 444.5 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000172/0.1582, allocations: 195.7 kB / 444.7 MB, free: 43.28 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1582, allocations: 0 / 444.7 MB, free: 43.28 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1582, allocations: 0 / 444.7 MB, free: 43.28 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.748e-06/0.1582, allocations: 0 / 444.7 MB, free: 43.28 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.0002223/0.1585, allocations: 267.7 kB / 444.9 MB, free: 43.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.1585, allocations: 14.44 kB / 444.9 MB, free: 43.02 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.971e-05/0.1585, allocations: 34.75 kB / 445 MB, free: 42.97 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.307e-05/0.1586, allocations: 7.484 kB / 445 MB, free: 42.97 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.645e-05/0.1586, allocations: 104.4 kB / 445.1 MB, free: 42.85 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.306e-06/0.1586, allocations: 384 / 445.1 MB, free: 42.85 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.832e-06/0.1586, allocations: 3.281 kB / 445.1 MB, free: 42.85 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.824e-05/0.1587, allocations: 64.69 kB / 445.2 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.1587, allocations: 3.062 kB / 445.2 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-06/0.1587, allocations: 4.125 kB / 445.2 MB, free: 42.78 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.1587, allocations: 0 / 445.2 MB, free: 42.78 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.413e-05/0.1587, allocations: 9.5 kB / 445.2 MB, free: 42.78 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002183/0.159, allocations: 209.4 kB / 445.4 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.942e-05/0.159, allocations: 29.8 kB / 445.4 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.035e-05/0.159, allocations: 4.859 kB / 445.4 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.316e-06/0.159, allocations: 3.031 kB / 445.4 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.366e-05/0.159, allocations: 37.31 kB / 445.4 MB, free: 42.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.159, allocations: 0 / 445.4 MB, free: 42.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 9.862e-05/0.1591, allocations: 33.36 kB / 445.5 MB, free: 42.45 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.53e-05/0.1591, allocations: 54.12 kB / 445.5 MB, free: 42.38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.905e-05/0.1592, allocations: 100.8 kB / 445.6 MB, free: 42.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.428e-06/0.1592, allocations: 25.95 kB / 445.7 MB, free: 42.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.685e-05/0.1592, allocations: 89.47 kB / 445.7 MB, free: 42.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.958e-06/0.1592, allocations: 2.844 kB / 445.7 MB, free: 42.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.024e-05/0.1592, allocations: 16.52 kB / 445.8 MB, free: 42.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.132e-05/0.1592, allocations: 314 kB / 446.1 MB, free: 41.83 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.085e-06/0.1592, allocations: 10.28 kB / 446.1 MB, free: 41.83 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.292e-05/0.1593, allocations: 17.55 kB / 446.1 MB, free: 41.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.995e-05/0.1593, allocations: 25.7 kB / 446.1 MB, free: 41.78 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.1593, allocations: 0 / 446.1 MB, free: 41.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 3.329e-05/0.1593, allocations: 59.91 kB / 446.2 MB, free: 41.74 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.1593, allocations: 5.594 kB / 446.2 MB, free: 41.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.1593, allocations: 2.562 kB / 446.2 MB, free: 41.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.1593, allocations: 2.844 kB / 446.2 MB, free: 41.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.876e-05/0.1594, allocations: 10.16 kB / 446.2 MB, free: 41.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.1594, allocations: 2.875 kB / 446.2 MB, free: 41.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.061e-05/0.1594, allocations: 3.938 kB / 446.2 MB, free: 41.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.1594, allocations: 3.031 kB / 446.2 MB, free: 41.73 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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 2.948e-05/0.1594, allocations: 113.5 kB / 446.3 MB, free: 41.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.044e-05/0.1594, allocations: 7.938 kB / 446.3 MB, free: 41.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.774e-05/0.1595, allocations: 44.16 kB / 446.4 MB, free: 41.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1595, allocations: 0 / 446.4 MB, free: 41.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.1595, allocations: 0 / 446.4 MB, free: 41.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.1595, allocations: 0 / 446.4 MB, free: 41.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.776e-05/0.1596, allocations: 123.8 kB / 446.5 MB, free: 41.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.1596, allocations: 5.422 kB / 446.5 MB, free: 41.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.71e-07/0.1596, allocations: 3.938 kB / 446.5 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.1596, allocations: 4.031 kB / 446.5 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-06/0.1596, allocations: 0 / 446.5 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.1596, allocations: 1.875 kB / 446.5 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1596, allocations: 2.812 kB / 446.5 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.395e-05/0.1596, allocations: 137.8 kB / 446.6 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.128e-06/0.1596, allocations: 0 / 446.6 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.133e-06/0.1596, allocations: 1.875 kB / 446.6 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.324e-05/0.1597, allocations: 3 kB / 446.6 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.916e-06/0.1597, allocations: 0 / 446.6 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-06/0.1597, allocations: 0 / 446.6 MB, free: 41.28 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.588e-06/0.1597, allocations: 85.58 kB / 446.7 MB, free: 41.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1597, allocations: 0 / 446.7 MB, free: 41.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001778/0.1599, allocations: 41.91 kB / 446.8 MB, free: 41.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002322/0.1601, allocations: 0.7096 MB / 447.5 MB, free: 40.53 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.396e-05/0.1601, allocations: 12.12 kB / 447.5 MB, free: 40.53 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.1601, allocations: 0 / 447.5 MB, free: 40.53 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.765e-05/0.1602, allocations: 35.53 kB / 447.5 MB, free: 40.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001374/0.1603, allocations: 7.188 kB / 447.5 MB, free: 40.49 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000244/0.1605, allocations: 130.6 kB / 447.7 MB, free: 40.35 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.315e-05/0.1606, allocations: 57.39 kB / 447.7 MB, free: 40.28 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.701e-05/0.1606, allocations: 7.234 kB / 447.7 MB, free: 40.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.654e-05/0.1606, allocations: 11.47 kB / 447.7 MB, free: 40.27 MB / 410.7 MB Notification: Performance of SimCode: time 3.4e-07/0.1606, allocations: 0 / 447.7 MB, free: 40.27 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01301/0.1736, allocations: 2.501 MB / 450.2 MB, free: 39.38 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.868/7.042, allocations: 7.203 kB / 450.2 MB, free: 39.38 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_Test02RegFun3_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_Test02RegFun3.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/Test02RegFun3/Test02RegFun3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.831921455450356]