Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001699/0.001699, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002168/0.002168, allocations: 216.8 kB / 24.52 MB, free: 3.91 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.465/1.465, allocations: 230.6 MB / 258.3 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] 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.2246/0.2246, allocations: 44.94 MB / 359.6 MB, free: 6.051 MB / 286.1 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.TestRegFunctions,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 67.89 kB / 0.4938 GB, free: 10.55 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3329, allocations: 65.47 MB / 0.5577 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001731/0.3346, allocations: 0.5208 MB / 0.5582 GB, free: 7.137 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004372/0.3351, allocations: 154.6 kB / 0.5584 GB, free: 7.023 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.605e-05/0.3351, allocations: 0 / 0.5584 GB, free: 7.023 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.386e-05/0.3351, allocations: 0 / 0.5584 GB, free: 7.023 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002565/0.3354, allocations: 39.83 kB / 0.5584 GB, free: 6.984 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.817e-06/0.3354, allocations: 0 / 0.5584 GB, free: 6.984 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.249e-05/0.3354, allocations: 23.92 kB / 0.5584 GB, free: 6.961 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.895e-05/0.3355, allocations: 0 / 0.5584 GB, free: 6.961 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.262e-05/0.3355, allocations: 11.88 kB / 0.5584 GB, free: 6.949 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.225e-05/0.3355, allocations: 19.91 kB / 0.5585 GB, free: 6.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.3356, allocations: 0 / 0.5585 GB, free: 6.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.3357, allocations: 51.94 kB / 0.5585 GB, free: 6.879 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.444e-05/0.3357, allocations: 7.938 kB / 0.5585 GB, free: 6.871 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.055e-05/0.3357, allocations: 7.938 kB / 0.5585 GB, free: 6.863 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000117/0.3358, allocations: 45.92 kB / 0.5586 GB, free: 6.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3358, allocations: 4 kB / 0.5586 GB, free: 6.816 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3358, allocations: 0 / 0.5586 GB, free: 6.816 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.3358, allocations: 0 / 0.5586 GB, free: 6.816 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.0003176/0.3361, allocations: 266.2 kB / 0.5588 GB, free: 6.523 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.3362, allocations: 12.03 kB / 0.5588 GB, free: 6.512 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.88e-05/0.3362, allocations: 8.172 kB / 0.5589 GB, free: 6.504 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.228e-05/0.3362, allocations: 30.75 kB / 0.5589 GB, free: 6.465 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.174e-05/0.3363, allocations: 4.938 kB / 0.5589 GB, free: 6.461 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.3364, allocations: 106.5 kB / 0.559 GB, free: 6.332 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.3364, allocations: 4.375 kB / 0.559 GB, free: 6.328 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.3364, allocations: 8.375 kB / 0.559 GB, free: 6.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.3365, allocations: 61.92 kB / 0.5591 GB, free: 6.254 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.3366, allocations: 3.984 kB / 0.5591 GB, free: 6.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.3366, allocations: 15.94 kB / 0.5591 GB, free: 6.234 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.3366, allocations: 0 / 0.5591 GB, free: 6.234 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/0.3367, allocations: 47.95 kB / 0.5591 GB, free: 6.188 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000191/0.3369, allocations: 148.6 kB / 0.5593 GB, free: 6 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/0.337, allocations: 70.59 kB / 0.5593 GB, free: 5.922 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.315e-05/0.3371, allocations: 28.84 kB / 0.5594 GB, free: 5.891 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002322/0.3373, allocations: 27.97 kB / 0.5594 GB, free: 5.863 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.132e-05/0.3374, allocations: 38.5 kB / 0.5594 GB, free: 5.816 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.3374, allocations: 0 / 0.5594 GB, free: 5.816 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002552/0.3376, allocations: 101.8 kB / 0.5595 GB, free: 5.711 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/0.3377, allocations: 55.39 kB / 0.5596 GB, free: 5.645 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.785e-05/0.3377, allocations: 93.86 kB / 0.5597 GB, free: 5.543 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.3378, allocations: 25.7 kB / 0.5597 GB, free: 5.512 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.715e-05/0.3378, allocations: 80.14 kB / 0.5598 GB, free: 5.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.795e-05/0.3378, allocations: 43.61 kB / 0.5598 GB, free: 5.387 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.404e-05/0.3379, allocations: 25.84 kB / 0.5598 GB, free: 5.355 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.338, allocations: 314.8 kB / 0.5601 GB, free: 5.039 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.772e-05/0.3381, allocations: 19.98 kB / 0.5601 GB, free: 5.02 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.771e-05/0.3381, allocations: 23.92 kB / 0.5602 GB, free: 4.996 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.692e-05/0.3382, allocations: 49.42 kB / 0.5602 GB, free: 4.945 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.3382, allocations: 3.938 kB / 0.5602 GB, free: 4.941 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001375/0.3383, allocations: 85.58 kB / 0.5603 GB, free: 4.852 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.3384, allocations: 7.938 kB / 0.5603 GB, free: 4.844 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.3384, allocations: 0 / 0.5603 GB, free: 4.844 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.3384, allocations: 4 kB / 0.5603 GB, free: 4.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.3385, allocations: 15.98 kB / 0.5603 GB, free: 4.824 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.3385, allocations: 4 kB / 0.5603 GB, free: 4.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.373e-05/0.3385, allocations: 0 / 0.5603 GB, free: 4.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.3385, allocations: 8 kB / 0.5603 GB, free: 4.812 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.429e-05/0.3386, allocations: 117.7 kB / 0.5605 GB, free: 4.688 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.478e-05/0.3386, allocations: 7.891 kB / 0.5605 GB, free: 4.68 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002248/0.3389, allocations: 101.6 kB / 0.5606 GB, free: 4.57 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3389, allocations: 3.938 kB / 0.5606 GB, free: 4.566 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.3389, allocations: 0 / 0.5606 GB, free: 4.566 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.3389, allocations: 0 / 0.5606 GB, free: 4.566 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001509/0.339, allocations: 136.8 kB / 0.5607 GB, free: 4.391 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.339, allocations: 4 kB / 0.5607 GB, free: 4.387 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.057e-05/0.3391, allocations: 12 kB / 0.5607 GB, free: 4.375 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.656e-06/0.3391, allocations: 7.938 kB / 0.5607 GB, free: 4.367 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.3391, allocations: 8 kB / 0.5607 GB, free: 4.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3391, allocations: 0 / 0.5607 GB, free: 4.359 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3391, allocations: 0 / 0.5607 GB, free: 4.359 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001589/0.3393, allocations: 113.2 kB / 0.5608 GB, free: 4.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.106e-05/0.3393, allocations: 11.88 kB / 0.5608 GB, free: 4.219 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.3393, allocations: 4.094 kB / 0.5608 GB, free: 4.215 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.379e-05/0.3393, allocations: 3.938 kB / 0.5609 GB, free: 4.211 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.187e-05/0.3393, allocations: 7.984 kB / 0.5609 GB, free: 4.203 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.3393, allocations: 4 kB / 0.5609 GB, free: 4.199 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.09e-05/0.3394, allocations: 83.28 kB / 0.5609 GB, free: 4.117 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3394, allocations: 0 / 0.5609 GB, free: 4.117 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002008/0.3396, allocations: 15.94 kB / 0.561 GB, free: 4.102 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.0005649/0.3402, allocations: 0.663 MB / 0.5616 GB, free: 3.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001473/0.3403, allocations: 51.92 kB / 0.5617 GB, free: 3.359 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3403, allocations: 0 / 0.5617 GB, free: 3.359 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.383e-05/0.3404, allocations: 27.92 kB / 0.5617 GB, free: 3.332 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001503/0.3405, allocations: 14.59 kB / 0.5617 GB, free: 3.32 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004897/0.341, allocations: 166.6 kB / 0.5619 GB, free: 3.117 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.231e-05/0.3411, allocations: 67.34 kB / 0.5619 GB, free: 3.031 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.576e-05/0.3411, allocations: 11.77 kB / 0.5619 GB, free: 3.02 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.141e-05/0.3411, allocations: 23.36 kB / 0.562 GB, free: 2.996 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3411, allocations: 0 / 0.562 GB, free: 2.996 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02138/0.3625, allocations: 1.726 MB / 0.5636 GB, free: 1.41 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.53, allocations: 15.86 kB / 0.5637 GB, free: 1.398 MB / 398.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegFunctions_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegFunctions.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.545828263042495]