Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000848/0.000848, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008612/0.0008612, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8909/0.8909, allocations: 177.1 MB / 204.3 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2236/0.2236, allocations: 32.79 MB / 293.5 MB, free: 1.215 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 439.6 MB, free: 4.27 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.367e-05/1.508e-05, allocations: 8.672 kB / 439.6 MB, free: 4.262 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.0009498/0.0009649, allocations: 0.4934 MB / 440.1 MB, free: 3.77 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001239/0.002204, allocations: 1.35 MB / 441.4 MB, free: 2.398 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.046e-05/0.002225, allocations: 0 / 441.4 MB, free: 2.398 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.392e-05/0.002239, allocations: 4 kB / 441.4 MB, free: 2.395 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.331e-05/0.002262, allocations: 0 / 441.4 MB, free: 2.395 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005053/0.002767, allocations: 223.6 kB / 441.6 MB, free: 2.18 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.275e-05/0.00281, allocations: 7.984 kB / 441.6 MB, free: 2.172 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.582e-05/0.002846, allocations: 4 kB / 441.6 MB, free: 2.168 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.565e-05/0.002871, allocations: 3.938 kB / 441.6 MB, free: 2.164 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.26e-05/0.002914, allocations: 8 kB / 441.7 MB, free: 2.156 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.002926, allocations: 0 / 441.7 MB, free: 2.156 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003087/0.003235, allocations: 263.6 kB / 441.9 MB, free: 1.898 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.083e-05/0.003246, allocations: 4 kB / 441.9 MB, free: 1.895 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.556e-05/0.003261, allocations: 7.938 kB / 441.9 MB, free: 1.887 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002028/0.003464, allocations: 191.5 kB / 442.1 MB, free: 1.699 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.003466, allocations: 0 / 442.1 MB, free: 1.699 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.003467, allocations: 0 / 442.1 MB, free: 1.699 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.376e-06/0.00347, allocations: 0 / 442.1 MB, free: 1.699 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002595/0.00373, allocations: 266.2 kB / 442.4 MB, free: 1.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.003765, allocations: 8.031 kB / 442.4 MB, free: 1.402 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.532e-05/0.00379, allocations: 30.75 kB / 442.4 MB, free: 1.363 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.987e-05/0.00381, allocations: 4.938 kB / 442.4 MB, free: 1.359 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.289e-05/0.003903, allocations: 105.8 kB / 442.5 MB, free: 1.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.003911, allocations: 384 / 442.5 MB, free: 1.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.781e-06/0.003917, allocations: 384 / 442.5 MB, free: 1.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.639e-05/0.004003, allocations: 67.89 kB / 442.6 MB, free: 1.152 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.00401, allocations: 192 / 442.6 MB, free: 1.152 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.004018, allocations: 8.062 kB / 442.6 MB, free: 1.145 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.004021, allocations: 0 / 442.6 MB, free: 1.145 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.586e-05/0.004037, allocations: 4 kB / 442.6 MB, free: 1.141 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.394e-05/0.004131, allocations: 116.8 kB / 442.7 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.299e-05/0.004164, allocations: 22.58 kB / 442.7 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.334e-05/0.004178, allocations: 8.953 kB / 442.7 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.616e-06/0.004186, allocations: 3.938 kB / 442.7 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/0.004204, allocations: 34.55 kB / 442.8 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 5.11e-07/0.004204, allocations: 0 / 442.8 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001021/0.004307, allocations: 37.64 kB / 442.8 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.211e-05/0.004329, allocations: 51.41 kB / 442.9 MB, free: 0.7891 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.129e-05/0.00438, allocations: 97.86 kB / 443 MB, free: 0.6836 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.106e-06/0.004388, allocations: 25.7 kB / 443 MB, free: 0.6523 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.876e-05/0.004407, allocations: 84.39 kB / 443.1 MB, free: 0.5664 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.315e-05/0.00443, allocations: 11.88 kB / 443.1 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.032e-05/0.00445, allocations: 13.72 kB / 443.1 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.004575, allocations: 314.8 kB / 443.4 MB, free: 224 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.807e-06/0.004584, allocations: 4 kB / 443.4 MB, free: 220 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.123e-06/0.004591, allocations: 7.938 kB / 443.4 MB, free: 212 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.924e-05/0.00461, allocations: 8.859 kB / 443.4 MB, free: 200 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.004611, allocations: 0 / 443.4 MB, free: 200 kB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.303e-05/0.004644, allocations: 37.69 kB / 443.5 MB, free: 156 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.004655, allocations: 4.094 kB / 443.5 MB, free: 152 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.004658, allocations: 4 kB / 443.5 MB, free: 148 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.00467, allocations: 7.922 kB / 443.5 MB, free: 140 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.878e-05/0.004718, allocations: 4 kB / 443.5 MB, free: 136 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.004722, allocations: 0 / 443.5 MB, free: 136 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.254e-06/0.00473, allocations: 0 / 443.5 MB, free: 136 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-06/0.004735, allocations: 0 / 443.5 MB, free: 136 kB / 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 (1): * Single equations (assignments): 1 * 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 4.224e-05/0.004777, allocations: 105.8 kB / 443.6 MB, free: 20 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.208e-06/0.004781, allocations: 7.938 kB / 443.6 MB, free: 12 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1515/0.1563, allocations: 48.73 kB / 443.6 MB, free: 46.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.1563, allocations: 6.562 kB / 443.6 MB, free: 46.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1563, allocations: 0 / 443.6 MB, free: 46.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1563, allocations: 0 / 443.6 MB, free: 46.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.749e-05/0.1563, allocations: 120.1 kB / 443.8 MB, free: 46.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.1563, allocations: 0 / 443.8 MB, free: 46.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.062e-06/0.1563, allocations: 0 / 443.8 MB, free: 46.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.1563, allocations: 1.844 kB / 443.8 MB, free: 46.31 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.1563, allocations: 5.781 kB / 443.8 MB, free: 46.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.1563, allocations: 0 / 443.8 MB, free: 46.31 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1563, allocations: 0 / 443.8 MB, free: 46.31 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.78e-05/0.1564, allocations: 65.12 kB / 443.8 MB, free: 46.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.681e-06/0.1564, allocations: 6.781 kB / 443.8 MB, free: 46.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.947e-06/0.1564, allocations: 0 / 443.8 MB, free: 46.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.413e-05/0.1565, allocations: 3.328 kB / 443.8 MB, free: 46.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.112e-05/0.1565, allocations: 3.031 kB / 443.8 MB, free: 46.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.1565, allocations: 0 / 443.8 MB, free: 46.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.437e-05/0.1565, allocations: 85.81 kB / 443.9 MB, free: 46.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1565, allocations: 0 / 443.9 MB, free: 46.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001892/0.1567, allocations: 39.86 kB / 444 MB, free: 46.18 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.0002941/0.157, allocations: 0.6434 MB / 444.6 MB, free: 45.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.377e-05/0.1571, allocations: 9.125 kB / 444.6 MB, free: 45.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1571, allocations: 0 / 444.6 MB, free: 45.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.209e-05/0.1571, allocations: 33.44 kB / 444.6 MB, free: 45.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001137/0.1572, allocations: 1.562 kB / 444.7 MB, free: 45.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002697/0.1575, allocations: 124.4 kB / 444.8 MB, free: 45.43 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.075e-05/0.1575, allocations: 62.56 kB / 444.8 MB, free: 45.36 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.454e-05/0.1575, allocations: 0 / 444.8 MB, free: 45.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.179e-05/0.1575, allocations: 14.45 kB / 444.8 MB, free: 45.36 MB / 410.7 MB Notification: Performance of SimCode: time 8.22e-07/0.1575, allocations: 1.688 kB / 444.8 MB, free: 45.36 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01307/0.1706, allocations: 2.507 MB / 447.4 MB, free: 44.53 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.747/6.918, allocations: 5.328 kB / 447.4 MB, free: 44.53 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_Test01RegFun3_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_Test01RegFun3.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.774198334664106]