Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.001802/0.001802, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.002238/0.002238, allocations: 212 kB / 23.73 MB, free: 4.387 MB / 14.72 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 1.443/1.443, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2194/0.2194, allocations: 46.96 MB / 360.9 MB, free: 4.02 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.TestRegFunctions,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 59.89 kB / 0.4961 GB, free: 7.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.3007, allocations: 66.03 MB / 0.5606 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001629/0.3023, allocations: 0.5227 MB / 0.5611 GB, free: 3.707 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004379/0.3028, allocations: 143.5 kB / 0.5612 GB, free: 3.566 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.114e-05/0.3028, allocations: 0 / 0.5612 GB, free: 3.566 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.64e-05/0.3028, allocations: 0 / 0.5612 GB, free: 3.566 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002451/0.3031, allocations: 47.77 kB / 0.5613 GB, free: 3.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.178e-06/0.3031, allocations: 0 / 0.5613 GB, free: 3.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.31e-05/0.3031, allocations: 23.86 kB / 0.5613 GB, free: 3.496 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.371e-05/0.3032, allocations: 8 kB / 0.5613 GB, free: 3.488 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.09e-05/0.3032, allocations: 7.922 kB / 0.5613 GB, free: 3.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.6e-05/0.3032, allocations: 15.92 kB / 0.5613 GB, free: 3.465 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.3033, allocations: 4 kB / 0.5613 GB, free: 3.461 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001152/0.3034, allocations: 43.95 kB / 0.5614 GB, free: 3.418 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.161e-05/0.3034, allocations: 3.984 kB / 0.5614 GB, free: 3.414 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.673e-05/0.3034, allocations: 15.88 kB / 0.5614 GB, free: 3.398 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001155/0.3035, allocations: 41.64 kB / 0.5614 GB, free: 3.359 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.3035, allocations: 4 kB / 0.5614 GB, free: 3.355 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3035, allocations: 0 / 0.5614 GB, free: 3.355 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.3035, allocations: 0 / 0.5614 GB, free: 3.355 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003275/0.3039, allocations: 266.2 kB / 0.5617 GB, free: 3.062 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.3039, allocations: 8.031 kB / 0.5617 GB, free: 3.055 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.232e-05/0.3039, allocations: 42.67 kB / 0.5617 GB, free: 3.004 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.509e-05/0.304, allocations: 4.938 kB / 0.5617 GB, free: 3 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.3041, allocations: 102.5 kB / 0.5618 GB, free: 2.875 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.908e-06/0.3041, allocations: 8.375 kB / 0.5618 GB, free: 2.867 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.3041, allocations: 4.375 kB / 0.5619 GB, free: 2.863 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.3042, allocations: 58.17 kB / 0.5619 GB, free: 2.801 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.3042, allocations: 3.938 kB / 0.5619 GB, free: 2.797 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.655e-06/0.3043, allocations: 7.938 kB / 0.5619 GB, free: 2.789 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3043, allocations: 4 kB / 0.5619 GB, free: 2.785 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001059/0.3044, allocations: 55.95 kB / 0.562 GB, free: 2.73 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001892/0.3046, allocations: 144.6 kB / 0.5621 GB, free: 2.547 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001597/0.3047, allocations: 78.58 kB / 0.5622 GB, free: 2.461 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.356e-05/0.3048, allocations: 28.84 kB / 0.5622 GB, free: 2.43 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002276/0.305, allocations: 23.97 kB / 0.5622 GB, free: 2.406 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.305, allocations: 30.56 kB / 0.5623 GB, free: 2.367 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.305, allocations: 0 / 0.5623 GB, free: 2.367 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002478/0.3053, allocations: 109.7 kB / 0.5624 GB, free: 2.254 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/0.3053, allocations: 55.41 kB / 0.5624 GB, free: 2.188 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.316e-05/0.3054, allocations: 93.86 kB / 0.5625 GB, free: 2.086 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.3054, allocations: 25.7 kB / 0.5625 GB, free: 2.055 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.09e-05/0.3055, allocations: 84.12 kB / 0.5626 GB, free: 1.969 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.128e-05/0.3055, allocations: 31.7 kB / 0.5627 GB, free: 1.938 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.005e-05/0.3055, allocations: 25.7 kB / 0.5627 GB, free: 1.906 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.3057, allocations: 318.8 kB / 0.563 GB, free: 1.586 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.746e-05/0.3057, allocations: 20.3 kB / 0.563 GB, free: 1.566 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.586e-05/0.3058, allocations: 19.94 kB / 0.563 GB, free: 1.547 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.612e-05/0.3059, allocations: 56.97 kB / 0.5631 GB, free: 1.488 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3059, allocations: 0 / 0.5631 GB, free: 1.488 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001388/0.306, allocations: 89.58 kB / 0.5632 GB, free: 1.395 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.306, allocations: 7.938 kB / 0.5632 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.306, allocations: 0 / 0.5632 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.306, allocations: 0 / 0.5632 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.3062, allocations: 15.98 kB / 0.5632 GB, free: 1.371 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.3062, allocations: 4 kB / 0.5632 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.48e-05/0.3062, allocations: 0 / 0.5632 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.3062, allocations: 4 kB / 0.5632 GB, free: 1.363 MB / 398.1 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 (10): * Single equations (assignments): 10 * 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 9.375e-05/0.3063, allocations: 117.8 kB / 0.5633 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.645e-05/0.3063, allocations: 11.89 kB / 0.5633 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000202/0.3065, allocations: 97.52 kB / 0.5634 GB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.3065, allocations: 4 kB / 0.5634 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.3065, allocations: 0 / 0.5634 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.3065, allocations: 3.984 kB / 0.5634 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/0.3067, allocations: 140.6 kB / 0.5635 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3067, allocations: 384 / 0.5635 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.965e-05/0.3067, allocations: 15.98 kB / 0.5636 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/0.3067, allocations: 3.938 kB / 0.5636 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.3068, allocations: 8 kB / 0.5636 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.3068, allocations: 7.938 kB / 0.5636 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3068, allocations: 0 / 0.5636 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001692/0.3069, allocations: 117 kB / 0.5637 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.46e-06/0.3069, allocations: 0 / 0.5637 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.3069, allocations: 7.938 kB / 0.5637 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.617e-05/0.307, allocations: 4 kB / 0.5637 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.107e-05/0.307, allocations: 3.984 kB / 0.5637 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.665e-06/0.307, allocations: 4 kB / 0.5637 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.812e-05/0.307, allocations: 75.28 kB / 0.5638 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.307, allocations: 0 / 0.5638 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002069/0.3072, allocations: 20.09 kB / 0.5638 GB, free: 0.6523 MB / 398.1 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 (10): * Single equations (assignments): 10 * 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.0006/0.3078, allocations: 0.663 MB / 0.5645 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001459/0.308, allocations: 51.97 kB / 0.5645 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.308, allocations: 3.938 kB / 0.5645 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.406e-05/0.308, allocations: 27.98 kB / 0.5645 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001518/0.3082, allocations: 7.062 kB / 0.5645 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004918/0.3087, allocations: 170.6 kB / 0.5647 GB, free: 15.67 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.385e-05/0.3088, allocations: 75.28 kB / 0.5648 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.839e-05/0.3088, allocations: 7.781 kB / 0.5648 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.117e-05/0.3088, allocations: 15.42 kB / 0.5648 GB, free: 15.55 MB / 414.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3088, allocations: 0 / 0.5648 GB, free: 15.55 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02734/0.3362, allocations: 2.055 MB / 0.5668 GB, free: 13.62 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.23, allocations: 11.81 kB / 0.5668 GB, free: 13.61 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_TestRegFunctions_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_TestRegFunctions.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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: 14.117899643722922]