Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.000803/0.000803, allocations: 80.53 kB / 19.93 MB, free: 4.633 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.0008174/0.0008174, allocations: 169.9 kB / 23.21 MB, free: 1.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.828/0.828, allocations: 158.6 MB / 185 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1307/0.1307, allocations: 32.37 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.42e-07/9.42e-07, allocations: 0 / 406.8 MB, free: 2.258 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.925e-06/8.867e-06, allocations: 6.281 kB / 406.8 MB, free: 2.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.0008211/0.00083, allocations: 0.4987 MB / 407.3 MB, free: 1.754 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00135/0.00218, allocations: 1.345 MB / 408.7 MB, free: 396 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.376e-05/0.002193, allocations: 0 / 408.7 MB, free: 396 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 9.798e-06/0.002203, allocations: 3.938 kB / 408.7 MB, free: 392 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 1.606e-05/0.002219, allocations: 0 / 408.7 MB, free: 392 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003879/0.002607, allocations: 215.9 kB / 408.9 MB, free: 176 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.257e-05/0.00264, allocations: 11.94 kB / 408.9 MB, free: 164 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.607e-05/0.002666, allocations: 3.984 kB / 408.9 MB, free: 160 kB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.881e-05/0.002685, allocations: 4 kB / 408.9 MB, free: 156 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.857e-05/0.002713, allocations: 0 / 408.9 MB, free: 156 kB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.977e-06/0.002722, allocations: 0 / 408.9 MB, free: 156 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003283/0.00305, allocations: 267.7 kB / 409.2 MB, free: 15.89 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 9.007e-06/0.003059, allocations: 0 / 409.2 MB, free: 15.89 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.114e-05/0.003071, allocations: 3.906 kB / 409.2 MB, free: 15.89 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001674/0.003238, allocations: 199.5 kB / 409.4 MB, free: 15.69 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.202e-06/0.003239, allocations: 0 / 409.4 MB, free: 15.69 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.00324, allocations: 0 / 409.4 MB, free: 15.69 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.585e-06/0.003242, allocations: 0 / 409.4 MB, free: 15.69 MB / 394.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.0002188/0.003461, allocations: 266.2 kB / 409.6 MB, free: 15.4 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.017e-05/0.003491, allocations: 11.97 kB / 409.6 MB, free: 15.39 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.159e-05/0.003513, allocations: 34.75 kB / 409.7 MB, free: 15.35 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.811e-05/0.003531, allocations: 4.938 kB / 409.7 MB, free: 15.34 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.434e-05/0.003585, allocations: 105.8 kB / 409.8 MB, free: 15.21 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.352e-06/0.003592, allocations: 384 / 409.8 MB, free: 15.21 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.252e-06/0.003598, allocations: 4.375 kB / 409.8 MB, free: 15.21 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.553e-05/0.003663, allocations: 55.91 kB / 409.8 MB, free: 15.14 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.00367, allocations: 8.172 kB / 409.8 MB, free: 15.14 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-06/0.003677, allocations: 4.125 kB / 409.8 MB, free: 15.13 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.845e-06/0.00368, allocations: 0 / 409.8 MB, free: 15.13 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.245e-05/0.003692, allocations: 0 / 409.8 MB, free: 15.13 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.225e-05/0.003774, allocations: 124.8 kB / 410 MB, free: 14.97 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.699e-05/0.003801, allocations: 22.61 kB / 410 MB, free: 14.94 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.506e-05/0.003817, allocations: 4.859 kB / 410 MB, free: 14.93 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.492e-06/0.003823, allocations: 0 / 410 MB, free: 14.93 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.619e-05/0.003839, allocations: 30.62 kB / 410 MB, free: 14.89 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 4.7e-07/0.00384, allocations: 7.938 kB / 410 MB, free: 14.88 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 8.379e-05/0.003923, allocations: 37.64 kB / 410.1 MB, free: 14.84 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.039e-05/0.003944, allocations: 55.39 kB / 410.1 MB, free: 14.77 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.995e-05/0.003984, allocations: 93.86 kB / 410.2 MB, free: 14.67 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.005e-06/0.003992, allocations: 25.7 kB / 410.2 MB, free: 14.64 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.845e-05/0.00401, allocations: 84.39 kB / 410.3 MB, free: 14.55 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.552e-05/0.004026, allocations: 11.95 kB / 410.3 MB, free: 14.54 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.84e-05/0.004044, allocations: 9.719 kB / 410.3 MB, free: 14.53 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.015e-05/0.004104, allocations: 310.8 kB / 410.6 MB, free: 14.21 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.133e-06/0.004111, allocations: 4 kB / 410.7 MB, free: 14.21 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.681e-06/0.004117, allocations: 3.984 kB / 410.7 MB, free: 14.21 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.672e-05/0.004134, allocations: 12.8 kB / 410.7 MB, free: 14.19 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.004135, allocations: 3.938 kB / 410.7 MB, free: 14.19 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.188e-05/0.004167, allocations: 41.7 kB / 410.7 MB, free: 14.14 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.235e-06/0.004175, allocations: 8.094 kB / 410.7 MB, free: 14.13 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.815e-06/0.004178, allocations: 0 / 410.7 MB, free: 14.13 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.286e-06/0.004186, allocations: 3.938 kB / 410.7 MB, free: 14.13 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.949e-05/0.004226, allocations: 4 kB / 410.7 MB, free: 14.12 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-06/0.004229, allocations: 0 / 410.7 MB, free: 14.12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.282e-06/0.004235, allocations: 0 / 410.7 MB, free: 14.12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.00424, allocations: 3.984 kB / 410.7 MB, free: 14.12 MB / 394.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.012e-05/0.004281, allocations: 109.8 kB / 410.8 MB, free: 14 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.116e-06/0.004284, allocations: 0 / 410.8 MB, free: 14 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.717e-05/0.004351, allocations: 48.8 kB / 410.9 MB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.004354, allocations: 7.922 kB / 410.9 MB, free: 13.94 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.004356, allocations: 0 / 410.9 MB, free: 13.94 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-06/0.004358, allocations: 3.938 kB / 410.9 MB, free: 13.94 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.766e-05/0.004406, allocations: 116.8 kB / 411 MB, free: 13.78 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.004408, allocations: 0 / 411 MB, free: 13.78 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.143e-06/0.00441, allocations: 4 kB / 411 MB, free: 13.78 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-07/0.00441, allocations: 0 / 411 MB, free: 13.78 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.666e-06/0.004414, allocations: 0 / 411 MB, free: 13.78 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.004415, allocations: 7.969 kB / 411 MB, free: 13.77 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.71e-07/0.004416, allocations: 0 / 411 MB, free: 13.77 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.744e-05/0.004453, allocations: 61.12 kB / 411.1 MB, free: 13.69 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.747e-06/0.004457, allocations: 7.938 kB / 411.1 MB, free: 13.68 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.941e-06/0.004463, allocations: 0 / 411.1 MB, free: 13.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.319e-05/0.004506, allocations: 3.938 kB / 411.1 MB, free: 13.68 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.748e-06/0.004516, allocations: 7.984 kB / 411.1 MB, free: 13.67 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.004518, allocations: 0 / 411.1 MB, free: 13.67 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.907e-05/0.004538, allocations: 75.28 kB / 411.2 MB, free: 13.6 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004538, allocations: 128 / 411.2 MB, free: 13.6 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001482/0.004686, allocations: 43.94 kB / 411.2 MB, free: 13.55 MB / 394.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.0003091/0.004995, allocations: 0.6514 MB / 411.9 MB, free: 12.88 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 4.473e-05/0.00504, allocations: 7.938 kB / 411.9 MB, free: 12.87 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.005041, allocations: 0 / 411.9 MB, free: 12.87 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.926e-05/0.00506, allocations: 29.7 kB / 411.9 MB, free: 12.83 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.96e-05/0.00515, allocations: 11.81 kB / 411.9 MB, free: 12.82 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002102/0.00536, allocations: 122.5 kB / 412 MB, free: 12.66 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.558e-05/0.005386, allocations: 59.52 kB / 412.1 MB, free: 12.58 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 1.149e-05/0.005397, allocations: 7.984 kB / 412.1 MB, free: 12.57 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.53e-05/0.005412, allocations: 8.5 kB / 412.1 MB, free: 12.57 MB / 394.7 MB Notification: Performance of SimCode: time 2.6e-07/0.005413, allocations: 0 / 412.1 MB, free: 12.57 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01413/0.01954, allocations: 2.508 MB / 414.6 MB, free: 10.04 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.637/6.657, allocations: 4 kB / 414.6 MB, free: 10.04 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_Test01RegFun3_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_Test01RegFun3.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.48152208328247]