Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.0008449/0.0008449, allocations: 79.69 kB / 20.67 MB, free: 3.891 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.0008627/0.0008627, allocations: 170 kB / 23.95 MB, free: 0.6133 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.8985/0.8985, allocations: 177.1 MB / 204.3 MB, free: 5.727 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.2341/0.2341, allocations: 32.79 MB / 293.5 MB, free: 1.262 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.Test02RegFun3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_Test02RegFun3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_Test02RegFun3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 3.938 kB / 439.6 MB, free: 4.305 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.223e-05/1.334e-05, allocations: 2.281 kB / 439.6 MB, free: 4.301 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.000928/0.0009413, allocations: 0.4917 MB / 440.1 MB, free: 3.812 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001314/0.002256, allocations: 1.358 MB / 441.4 MB, free: 2.434 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.027e-05/0.002276, allocations: 0 / 441.4 MB, free: 2.434 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.488e-05/0.002291, allocations: 0 / 441.4 MB, free: 2.434 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.132e-05/0.002312, allocations: 0 / 441.4 MB, free: 2.434 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005073/0.002819, allocations: 222.9 kB / 441.6 MB, free: 2.223 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.601e-05/0.002865, allocations: 15.94 kB / 441.6 MB, free: 2.207 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.749e-05/0.002903, allocations: 4 kB / 441.6 MB, free: 2.203 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.019e-05/0.002933, allocations: 11.92 kB / 441.7 MB, free: 2.191 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.051e-05/0.002974, allocations: 0 / 441.7 MB, free: 2.191 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.002986, allocations: 0 / 441.7 MB, free: 2.191 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003073/0.003293, allocations: 259.6 kB / 441.9 MB, free: 1.938 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.171e-05/0.003305, allocations: 0 / 441.9 MB, free: 1.938 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.437e-05/0.003319, allocations: 0 / 441.9 MB, free: 1.938 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002005/0.00352, allocations: 203.5 kB / 442.1 MB, free: 1.738 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.003521, allocations: 0 / 442.1 MB, free: 1.738 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.003522, allocations: 0 / 442.1 MB, free: 1.738 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.397e-06/0.003526, allocations: 4 kB / 442.1 MB, free: 1.734 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.0002587/0.003784, allocations: 262.3 kB / 442.4 MB, free: 1.449 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.003821, allocations: 12.03 kB / 442.4 MB, free: 1.438 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.738e-05/0.003849, allocations: 30.75 kB / 442.4 MB, free: 1.398 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.404e-05/0.003873, allocations: 4.891 kB / 442.4 MB, free: 1.395 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.041e-05/0.003923, allocations: 105.8 kB / 442.5 MB, free: 1.266 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.003934, allocations: 4.375 kB / 442.5 MB, free: 1.262 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.935e-06/0.003941, allocations: 4.312 kB / 442.5 MB, free: 1.258 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/0.004048, allocations: 59.97 kB / 442.6 MB, free: 1.188 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.034e-06/0.004055, allocations: 192 / 442.6 MB, free: 1.188 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.004065, allocations: 12.05 kB / 442.6 MB, free: 1.176 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.289e-06/0.004069, allocations: 8 kB / 442.6 MB, free: 1.168 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.753e-05/0.004097, allocations: 8 kB / 442.6 MB, free: 1.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002807/0.004377, allocations: 204.1 kB / 442.8 MB, free: 0.918 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.788e-05/0.004415, allocations: 22.45 kB / 442.8 MB, free: 0.8867 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.388e-05/0.004429, allocations: 8.922 kB / 442.8 MB, free: 0.875 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.816e-06/0.004438, allocations: 0 / 442.8 MB, free: 0.875 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.004459, allocations: 38.55 kB / 442.9 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.00446, allocations: 0 / 442.9 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001221/0.004582, allocations: 33.7 kB / 442.9 MB, free: 0.7891 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.576e-05/0.004608, allocations: 55.53 kB / 443 MB, free: 0.7227 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.165e-05/0.004659, allocations: 97.8 kB / 443.1 MB, free: 0.6172 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.004669, allocations: 29.7 kB / 443.1 MB, free: 0.582 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.43e-05/0.004703, allocations: 88.08 kB / 443.2 MB, free: 0.4922 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.86e-06/0.004708, allocations: 3.953 kB / 443.2 MB, free: 500 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.278e-05/0.004731, allocations: 17.66 kB / 443.2 MB, free: 476 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.93e-05/0.00481, allocations: 318.8 kB / 443.5 MB, free: 148 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.158e-06/0.004819, allocations: 0 / 443.5 MB, free: 148 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.042e-05/0.00484, allocations: 26.5 kB / 443.5 MB, free: 112 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.969e-05/0.004869, allocations: 30.7 kB / 443.6 MB, free: 72 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.004872, allocations: 0 / 443.6 MB, free: 72 kB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.676e-05/0.004918, allocations: 49.56 kB / 443.6 MB, free: 16 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.00493, allocations: 7.938 kB / 443.6 MB, free: 8 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.004941, allocations: 4 kB / 443.6 MB, free: 4 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.004952, allocations: 0 / 443.6 MB, free: 4 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1496/0.1546, allocations: 4.078 kB / 443.6 MB, free: 46.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.1546, allocations: 0 / 443.6 MB, free: 46.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.977e-05/0.1546, allocations: 6.5 kB / 443.6 MB, free: 46.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.1546, allocations: 0 / 443.6 MB, free: 46.33 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 4.934e-05/0.1547, allocations: 110.6 kB / 443.7 MB, free: 46.21 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.136e-05/0.1547, allocations: 6.5 kB / 443.8 MB, free: 46.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001147/0.1548, allocations: 49.09 kB / 443.8 MB, free: 46.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1548, allocations: 0 / 443.8 MB, free: 46.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.1548, allocations: 4.281 kB / 443.8 MB, free: 46.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.1548, allocations: 0 / 443.8 MB, free: 46.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.055e-05/0.1549, allocations: 120.2 kB / 443.9 MB, free: 46.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.1549, allocations: 0.7188 kB / 443.9 MB, free: 46.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.71e-07/0.1549, allocations: 2.953 kB / 443.9 MB, free: 46.03 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.624e-06/0.1549, allocations: 0.5625 kB / 443.9 MB, free: 46.03 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-06/0.1549, allocations: 6.688 kB / 443.9 MB, free: 46.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.1549, allocations: 0.5625 kB / 443.9 MB, free: 46.03 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1549, allocations: 2.688 kB / 443.9 MB, free: 46.03 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.276e-05/0.155, allocations: 134.5 kB / 444.1 MB, free: 45.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.262e-06/0.155, allocations: 3.266 kB / 444.1 MB, free: 45.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.507e-06/0.155, allocations: 7.844 kB / 444.1 MB, free: 45.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.245e-05/0.155, allocations: 3.281 kB / 444.1 MB, free: 45.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.044e-05/0.155, allocations: 0 / 444.1 MB, free: 45.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.155, allocations: 2.938 kB / 444.1 MB, free: 45.89 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.338e-05/0.1551, allocations: 79.62 kB / 444.2 MB, free: 45.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1551, allocations: 0 / 444.2 MB, free: 45.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002098/0.1553, allocations: 39.83 kB / 444.2 MB, free: 45.82 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.0002516/0.1555, allocations: 0.7098 MB / 444.9 MB, free: 45.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.237e-05/0.1556, allocations: 15.95 kB / 444.9 MB, free: 45.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.1556, allocations: 0.9844 kB / 444.9 MB, free: 45.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.761e-05/0.1556, allocations: 31.48 kB / 445 MB, free: 45.13 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001447/0.1557, allocations: 3.469 kB / 445 MB, free: 45.13 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002659/0.156, allocations: 125.2 kB / 445.1 MB, free: 45.01 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.461e-05/0.156, allocations: 59.66 kB / 445.1 MB, free: 44.94 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.845e-05/0.156, allocations: 0 / 445.1 MB, free: 44.94 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.919e-05/0.1561, allocations: 14.17 kB / 445.2 MB, free: 44.93 MB / 410.7 MB Notification: Performance of SimCode: time 3.8e-07/0.1561, allocations: 0 / 445.2 MB, free: 44.93 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01226/0.1683, allocations: 2.503 MB / 447.7 MB, free: 44.1 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.635/6.804, allocations: 3.406 kB / 447.7 MB, free: 44.1 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_Test02RegFun3_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_Test02RegFun3.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/Test02RegFun3/Test02RegFun3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.681610397994518]