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.001542/0.001542, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.002132/0.002132, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.403/1.403, allocations: 230.6 MB / 257.5 MB, free: 8.043 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.2241/0.2241, allocations: 46.93 MB / 360.9 MB, free: 4.301 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.001924/0.001924, allocations: 75.88 kB / 0.4962 GB, free: 7.945 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3235, allocations: 66.04 MB / 0.5606 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001688/0.3252, allocations: 0.5305 MB / 0.5612 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004342/0.3256, allocations: 167.4 kB / 0.5613 GB, free: 3.816 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.918e-05/0.3256, allocations: 0 / 0.5613 GB, free: 3.816 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.812e-05/0.3257, allocations: 4 kB / 0.5613 GB, free: 3.812 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000266/0.3259, allocations: 35.84 kB / 0.5614 GB, free: 3.777 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.579e-06/0.3259, allocations: 0 / 0.5614 GB, free: 3.777 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.494e-05/0.326, allocations: 23.91 kB / 0.5614 GB, free: 3.754 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.759e-05/0.326, allocations: 4 kB / 0.5614 GB, free: 3.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.279e-05/0.3261, allocations: 11.88 kB / 0.5614 GB, free: 3.738 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.127e-05/0.3261, allocations: 15.92 kB / 0.5614 GB, free: 3.723 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.012e-05/0.3261, allocations: 4 kB / 0.5614 GB, free: 3.719 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.3262, allocations: 47.94 kB / 0.5615 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.181e-05/0.3263, allocations: 4 kB / 0.5615 GB, free: 3.668 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.426e-05/0.3263, allocations: 15.86 kB / 0.5615 GB, free: 3.652 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000116/0.3264, allocations: 45.64 kB / 0.5615 GB, free: 3.609 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.3264, allocations: 4 kB / 0.5615 GB, free: 3.605 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3264, allocations: 0 / 0.5615 GB, free: 3.605 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.619e-06/0.3264, allocations: 0 / 0.5615 GB, free: 3.605 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.0003399/0.3268, allocations: 272.7 kB / 0.5618 GB, free: 3.309 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.3268, allocations: 12.03 kB / 0.5618 GB, free: 3.297 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.423e-05/0.3268, allocations: 38.73 kB / 0.5618 GB, free: 3.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.629e-05/0.3269, allocations: 4.938 kB / 0.5618 GB, free: 3.246 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.961e-05/0.327, allocations: 102.5 kB / 0.5619 GB, free: 3.121 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.327, allocations: 4.375 kB / 0.5619 GB, free: 3.117 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.327, allocations: 8.375 kB / 0.562 GB, free: 3.109 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.3271, allocations: 58.17 kB / 0.562 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.3272, allocations: 3.938 kB / 0.562 GB, free: 3.043 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-06/0.3272, allocations: 0 / 0.562 GB, free: 3.043 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.3272, allocations: 4 kB / 0.562 GB, free: 3.039 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.3273, allocations: 55.95 kB / 0.5621 GB, free: 2.984 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002073/0.3275, allocations: 144.6 kB / 0.5622 GB, free: 2.801 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.3276, allocations: 78.58 kB / 0.5623 GB, free: 2.715 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.876e-05/0.3277, allocations: 24.84 kB / 0.5623 GB, free: 2.688 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002429/0.3279, allocations: 23.98 kB / 0.5623 GB, free: 2.664 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.049e-05/0.328, allocations: 34.56 kB / 0.5624 GB, free: 2.621 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.328, allocations: 0 / 0.5624 GB, free: 2.621 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002307/0.3282, allocations: 105.7 kB / 0.5625 GB, free: 2.512 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.3282, allocations: 55.41 kB / 0.5625 GB, free: 2.445 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.466e-05/0.3283, allocations: 89.86 kB / 0.5626 GB, free: 2.348 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.3283, allocations: 29.7 kB / 0.5626 GB, free: 2.312 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.968e-05/0.3284, allocations: 84.12 kB / 0.5627 GB, free: 2.227 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.103e-05/0.3284, allocations: 35.64 kB / 0.5627 GB, free: 2.191 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.911e-05/0.3285, allocations: 30.2 kB / 0.5628 GB, free: 2.156 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.3286, allocations: 314.8 kB / 0.5631 GB, free: 1.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.69e-05/0.3286, allocations: 19.98 kB / 0.5631 GB, free: 1.82 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.995e-05/0.3287, allocations: 15.94 kB / 0.5631 GB, free: 1.805 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.941e-05/0.3288, allocations: 60.78 kB / 0.5632 GB, free: 1.742 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3288, allocations: 0 / 0.5632 GB, free: 1.742 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001398/0.3289, allocations: 85.58 kB / 0.5632 GB, free: 1.652 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.3289, allocations: 7.938 kB / 0.5633 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3289, allocations: 4 kB / 0.5633 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.3289, allocations: 4 kB / 0.5633 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.329, allocations: 19.98 kB / 0.5633 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.329, allocations: 0 / 0.5633 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.459e-05/0.3291, allocations: 4 kB / 0.5633 GB, free: 1.613 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.3291, allocations: 0 / 0.5633 GB, free: 1.613 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 8.466e-05/0.3292, allocations: 113.8 kB / 0.5634 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.374e-05/0.3292, allocations: 11.83 kB / 0.5634 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001925/0.3294, allocations: 97.58 kB / 0.5635 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.3294, allocations: 4 kB / 0.5635 GB, free: 1.371 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.3294, allocations: 0 / 0.5635 GB, free: 1.371 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.3294, allocations: 8.344 kB / 0.5635 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001376/0.3295, allocations: 148.6 kB / 0.5637 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3295, allocations: 0 / 0.5637 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.026e-05/0.3296, allocations: 15.98 kB / 0.5637 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.3296, allocations: 11.88 kB / 0.5637 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.3296, allocations: 0 / 0.5637 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3296, allocations: 0 / 0.5637 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3296, allocations: 0 / 0.5637 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001514/0.3297, allocations: 117 kB / 0.5638 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.496e-06/0.3298, allocations: 7.984 kB / 0.5638 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.3298, allocations: 3.938 kB / 0.5638 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.592e-05/0.3298, allocations: 4 kB / 0.5638 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.034e-05/0.3298, allocations: 7.984 kB / 0.5638 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.3298, allocations: 0 / 0.5638 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.529e-05/0.3299, allocations: 75.28 kB / 0.5639 GB, free: 0.918 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3299, allocations: 4.094 kB / 0.5639 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0001908/0.3301, allocations: 19.94 kB / 0.5639 GB, free: 0.8945 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.0004924/0.3305, allocations: 0.6552 MB / 0.5645 GB, free: 216 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001331/0.3307, allocations: 51.92 kB / 0.5646 GB, free: 164 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.3307, allocations: 0 / 0.5646 GB, free: 164 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.389e-05/0.3307, allocations: 32.3 kB / 0.5646 GB, free: 132 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001351/0.3309, allocations: 8 kB / 0.5646 GB, free: 124 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004609/0.3313, allocations: 170.8 kB / 0.5648 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.3316, allocations: 0.6807 MB / 0.5655 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.388e-05/0.3317, allocations: 11.78 kB / 0.5655 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.532e-05/0.3317, allocations: 15.44 kB / 0.5655 GB, free: 15.18 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3317, allocations: 4 kB / 0.5655 GB, free: 15.18 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02545/0.3572, allocations: 1.695 MB / 0.5671 GB, free: 13.61 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.44/10.8, allocations: 18.84 kB / 0.5672 GB, free: 13.59 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: 13.603880074806511]