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.001517/0.001517, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001698/0.001698, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.448/1.448, allocations: 230.6 MB / 258.3 MB, free: 8.012 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.2519/0.2519, allocations: 46.93 MB / 361.6 MB, free: 4.266 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 64.09 kB / 0.4969 GB, free: 7.91 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.3316, allocations: 66.03 MB / 0.5614 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001757/0.3334, allocations: 0.5383 MB / 0.5619 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004439/0.3338, allocations: 155.5 kB / 0.5621 GB, free: 3.785 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.298e-05/0.3338, allocations: 0 / 0.5621 GB, free: 3.785 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.569e-05/0.3339, allocations: 3.938 kB / 0.5621 GB, free: 3.781 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002419/0.3341, allocations: 47.81 kB / 0.5621 GB, free: 3.734 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.887e-06/0.3341, allocations: 0 / 0.5621 GB, free: 3.734 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.28e-05/0.3342, allocations: 23.92 kB / 0.5622 GB, free: 3.711 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.99e-05/0.3342, allocations: 0 / 0.5622 GB, free: 3.711 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.198e-05/0.3342, allocations: 11.88 kB / 0.5622 GB, free: 3.699 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.847e-05/0.3343, allocations: 15.92 kB / 0.5622 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.3343, allocations: 3.984 kB / 0.5622 GB, free: 3.68 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001155/0.3344, allocations: 51.94 kB / 0.5622 GB, free: 3.629 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.264e-05/0.3344, allocations: 4 kB / 0.5622 GB, free: 3.625 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.734e-05/0.3344, allocations: 7.938 kB / 0.5622 GB, free: 3.617 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001143/0.3346, allocations: 57.66 kB / 0.5623 GB, free: 3.562 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3346, allocations: 0 / 0.5623 GB, free: 3.562 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3346, allocations: 0 / 0.5623 GB, free: 3.562 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.3346, allocations: 0 / 0.5623 GB, free: 3.562 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.0003064/0.3349, allocations: 270.2 kB / 0.5626 GB, free: 3.266 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.3349, allocations: 8.031 kB / 0.5626 GB, free: 3.258 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.458e-05/0.3349, allocations: 4.188 kB / 0.5626 GB, free: 3.254 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.498e-05/0.335, allocations: 34.73 kB / 0.5626 GB, free: 3.211 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.216e-05/0.335, allocations: 4.938 kB / 0.5626 GB, free: 3.207 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.205e-05/0.3351, allocations: 106.5 kB / 0.5627 GB, free: 3.078 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.3351, allocations: 8.375 kB / 0.5627 GB, free: 3.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.3351, allocations: 384 / 0.5627 GB, free: 3.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.3352, allocations: 65.92 kB / 0.5628 GB, free: 3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.3352, allocations: 0 / 0.5628 GB, free: 3 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.3352, allocations: 4 kB / 0.5628 GB, free: 2.996 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.3352, allocations: 0 / 0.5628 GB, free: 2.996 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.813e-05/0.3353, allocations: 51.95 kB / 0.5628 GB, free: 2.945 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001761/0.3355, allocations: 148.6 kB / 0.563 GB, free: 2.758 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001425/0.3357, allocations: 78.58 kB / 0.563 GB, free: 2.672 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.311e-05/0.3357, allocations: 28.84 kB / 0.5631 GB, free: 2.641 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002245/0.3359, allocations: 19.98 kB / 0.5631 GB, free: 2.621 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.336, allocations: 34.5 kB / 0.5631 GB, free: 2.578 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.336, allocations: 0 / 0.5631 GB, free: 2.578 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002329/0.3362, allocations: 109.8 kB / 0.5632 GB, free: 2.465 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.313e-05/0.3362, allocations: 51.78 kB / 0.5633 GB, free: 2.402 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.173e-05/0.3363, allocations: 93.86 kB / 0.5634 GB, free: 2.301 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.3363, allocations: 25.7 kB / 0.5634 GB, free: 2.27 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.314e-05/0.3364, allocations: 80.14 kB / 0.5635 GB, free: 2.188 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.238e-05/0.3364, allocations: 43.61 kB / 0.5635 GB, free: 2.145 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.144e-05/0.3364, allocations: 25.72 kB / 0.5635 GB, free: 2.113 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.3366, allocations: 315 kB / 0.5638 GB, free: 1.797 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.224e-05/0.3366, allocations: 16 kB / 0.5639 GB, free: 1.781 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.562e-05/0.3366, allocations: 31.86 kB / 0.5639 GB, free: 1.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.03e-05/0.3367, allocations: 44.86 kB / 0.5639 GB, free: 1.703 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.3367, allocations: 3.984 kB / 0.5639 GB, free: 1.699 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001285/0.3369, allocations: 89.58 kB / 0.564 GB, free: 1.605 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.3369, allocations: 7.938 kB / 0.564 GB, free: 1.598 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.484e-06/0.3369, allocations: 0 / 0.564 GB, free: 1.598 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.3369, allocations: 4 kB / 0.564 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.873e-05/0.337, allocations: 16 kB / 0.564 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.337, allocations: 0 / 0.564 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.396e-05/0.337, allocations: 7.984 kB / 0.564 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.337, allocations: 8 kB / 0.5641 GB, free: 1.562 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 7.946e-05/0.3371, allocations: 113.7 kB / 0.5642 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.953e-05/0.3371, allocations: 19.88 kB / 0.5642 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001882/0.3373, allocations: 89.86 kB / 0.5643 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.666e-06/0.3373, allocations: 4.094 kB / 0.5643 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.3373, allocations: 3.938 kB / 0.5643 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.3373, allocations: 3.938 kB / 0.5643 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/0.3374, allocations: 148.7 kB / 0.5644 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3374, allocations: 0 / 0.5644 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.504e-05/0.3375, allocations: 12 kB / 0.5644 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.3375, allocations: 3.938 kB / 0.5644 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.3375, allocations: 11.98 kB / 0.5644 GB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3375, allocations: 0 / 0.5644 GB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.3375, allocations: 0 / 0.5644 GB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.3377, allocations: 109 kB / 0.5646 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.674e-06/0.3377, allocations: 7.938 kB / 0.5646 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.3377, allocations: 8 kB / 0.5646 GB, free: 0.957 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.492e-05/0.3377, allocations: 3.984 kB / 0.5646 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.632e-05/0.3377, allocations: 0 / 0.5646 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.3377, allocations: 4 kB / 0.5646 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.2e-05/0.3378, allocations: 83.27 kB / 0.5647 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3378, allocations: 0 / 0.5647 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0001939/0.338, allocations: 12 kB / 0.5647 GB, free: 0.8555 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.0004854/0.3385, allocations: 0.667 MB / 0.5653 GB, free: 164 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001342/0.3386, allocations: 52.11 kB / 0.5654 GB, free: 112 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.3386, allocations: 192 / 0.5654 GB, free: 112 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.675e-05/0.3387, allocations: 31.86 kB / 0.5654 GB, free: 80 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001353/0.3388, allocations: 8 kB / 0.5654 GB, free: 72 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000446/0.3392, allocations: 170.9 kB / 0.5656 GB, free: 15.86 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/0.3395, allocations: 0.6807 MB / 0.5662 GB, free: 15.15 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.612e-05/0.3396, allocations: 15.77 kB / 0.5662 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.644e-05/0.3396, allocations: 15.44 kB / 0.5663 GB, free: 15.12 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3396, allocations: 0 / 0.5663 GB, free: 15.12 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0202/0.3598, allocations: 1.74 MB / 0.568 GB, free: 13.52 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/11.05, allocations: 10.41 kB / 0.568 GB, free: 13.52 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.134009061031975]