Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001819/0.001819, allocations: 112.2 kB / 17.13 MB, free: 5.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002095/0.002095, allocations: 192.7 kB / 20.08 MB, free: 3.012 MB / 14.72 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 1.521/1.521, allocations: 207.6 MB / 230.4 MB, free: 4.027 MB / 174.1 MB " [Timeout remaining time 178] 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.3348/0.3348, allocations: 44.23 MB / 326.5 MB, free: 6.828 MB / 254.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002165/0.002165, allocations: 79.88 kB / 462.2 MB, free: 0.8672 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2775, allocations: 61 MB / 0.511 GB, free: 13.24 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001419/0.2789, allocations: 0.5481 MB / 0.5115 GB, free: 12.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002422/0.2791, allocations: 66.38 kB / 0.5116 GB, free: 12.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.76e-05/0.2792, allocations: 0 / 0.5116 GB, free: 12.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.683e-05/0.2792, allocations: 1.281 kB / 0.5116 GB, free: 12.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001995/0.2794, allocations: 19.36 kB / 0.5116 GB, free: 12.78 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.582e-05/0.2794, allocations: 2.719 kB / 0.5116 GB, free: 12.78 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.222e-05/0.2794, allocations: 5.844 kB / 0.5116 GB, free: 12.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.046e-05/0.2795, allocations: 5.797 kB / 0.5116 GB, free: 12.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.387e-05/0.2795, allocations: 1.344 kB / 0.5116 GB, free: 12.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.902e-05/0.2795, allocations: 5.109 kB / 0.5116 GB, free: 12.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.015e-05/0.2796, allocations: 5.094 kB / 0.5116 GB, free: 12.76 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.383e-05/0.2796, allocations: 26.22 kB / 0.5116 GB, free: 12.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.087e-06/0.2796, allocations: 0 / 0.5116 GB, free: 12.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.415e-05/0.2797, allocations: 1.188 kB / 0.5116 GB, free: 12.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 7.9e-05/0.2797, allocations: 27.31 kB / 0.5117 GB, free: 12.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2797, allocations: 4 kB / 0.5117 GB, free: 12.72 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2797, allocations: 0 / 0.5117 GB, free: 12.72 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.2797, allocations: 0 / 0.5117 GB, free: 12.72 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002331/0.28, allocations: 318.1 kB / 0.512 GB, free: 12.37 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.28, allocations: 17.44 kB / 0.512 GB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.825e-05/0.28, allocations: 30.75 kB / 0.512 GB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.238e-05/0.2801, allocations: 2.156 kB / 0.512 GB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.519e-05/0.2801, allocations: 168.3 kB / 0.5122 GB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.2801, allocations: 9.625 kB / 0.5122 GB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.2802, allocations: 5.594 kB / 0.5122 GB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.839e-05/0.2802, allocations: 33.75 kB / 0.5122 GB, free: 12.08 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.2802, allocations: 3.938 kB / 0.5122 GB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.134e-06/0.2803, allocations: 1.281 kB / 0.5122 GB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.2803, allocations: 0 / 0.5122 GB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.187e-05/0.2803, allocations: 8.812 kB / 0.5122 GB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001133/0.2804, allocations: 152.3 kB / 0.5124 GB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.2806, allocations: 44.36 kB / 0.5124 GB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.235e-05/0.2806, allocations: 12.45 kB / 0.5124 GB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003249/0.2809, allocations: 116.8 kB / 0.5125 GB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.644e-05/0.2809, allocations: 30.56 kB / 0.5126 GB, free: 11.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.312e-06/0.2809, allocations: 0 / 0.5126 GB, free: 11.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.001178/0.2821, allocations: 191 kB / 0.5128 GB, free: 11.56 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.457e-05/0.2821, allocations: 52.41 kB / 0.5128 GB, free: 11.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.345e-05/0.2822, allocations: 90.92 kB / 0.5129 GB, free: 11.4 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.2822, allocations: 30.89 kB / 0.5129 GB, free: 11.37 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.839e-05/0.2822, allocations: 80.14 kB / 0.513 GB, free: 11.29 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.279e-05/0.2823, allocations: 21.77 kB / 0.513 GB, free: 11.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.785e-05/0.2823, allocations: 18.72 kB / 0.513 GB, free: 11.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.608e-05/0.2824, allocations: 311.9 kB / 0.5133 GB, free: 10.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.244e-05/0.2824, allocations: 18.11 kB / 0.5134 GB, free: 10.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.234e-05/0.2825, allocations: 19.81 kB / 0.5134 GB, free: 10.92 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.2827, allocations: 52.02 kB / 0.5134 GB, free: 10.89 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2827, allocations: 0 / 0.5134 GB, free: 10.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002061/0.2829, allocations: 86.94 kB / 0.5135 GB, free: 10.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.2829, allocations: 5.719 kB / 0.5135 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.2829, allocations: 0 / 0.5135 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.2829, allocations: 5.078 kB / 0.5135 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.2831, allocations: 13.7 kB / 0.5135 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.2831, allocations: 1.156 kB / 0.5135 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.45e-05/0.2832, allocations: 7.594 kB / 0.5135 GB, free: 10.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.335e-06/0.2832, allocations: 1.25 kB / 0.5135 GB, free: 10.81 MB / 382.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 (5): * Single equations (assignments): 5 * 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 6.926e-05/0.2832, allocations: 115 kB / 0.5136 GB, free: 10.69 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.281e-05/0.2832, allocations: 5.281 kB / 0.5136 GB, free: 10.69 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002739/0.2835, allocations: 95.81 kB / 0.5137 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.2835, allocations: 0 / 0.5137 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.2835, allocations: 0 / 0.5137 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.2835, allocations: 6.234 kB / 0.5137 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006977/0.2842, allocations: 348.2 kB / 0.5141 GB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.2842, allocations: 1.562 kB / 0.5141 GB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.652e-05/0.2843, allocations: 18.78 kB / 0.5141 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.2843, allocations: 3.984 kB / 0.5141 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.2843, allocations: 6.031 kB / 0.5141 GB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.2843, allocations: 0 / 0.5141 GB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.2844, allocations: 0.8438 kB / 0.5141 GB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002404/0.2846, allocations: 177.6 kB / 0.5143 GB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.038e-05/0.2846, allocations: 88.81 kB / 0.5144 GB, free: 9.977 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.2846, allocations: 7.984 kB / 0.5144 GB, free: 9.969 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.977e-05/0.2847, allocations: 7.062 kB / 0.5144 GB, free: 9.965 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.503e-05/0.2847, allocations: 3.5 kB / 0.5144 GB, free: 9.965 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.2847, allocations: 3.984 kB / 0.5144 GB, free: 9.961 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.909e-05/0.2848, allocations: 78.66 kB / 0.5145 GB, free: 9.887 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2848, allocations: 0 / 0.5145 GB, free: 9.887 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002324/0.285, allocations: 5.312 kB / 0.5145 GB, free: 9.887 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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.0004187/0.2854, allocations: 0.7268 MB / 0.5152 GB, free: 9.172 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000218/0.2856, allocations: 44.27 kB / 0.5152 GB, free: 9.156 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2856, allocations: 4 kB / 0.5152 GB, free: 9.152 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.464e-05/0.2857, allocations: 26.45 kB / 0.5152 GB, free: 9.141 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002213/0.2859, allocations: 6.062 kB / 0.5153 GB, free: 9.137 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005189/0.2865, allocations: 167.7 kB / 0.5154 GB, free: 8.961 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001108/0.2866, allocations: 0.6768 MB / 0.5161 GB, free: 8.262 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.559e-05/0.2866, allocations: 8.375 kB / 0.5161 GB, free: 8.258 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.195e-05/0.2867, allocations: 13.84 kB / 0.5161 GB, free: 8.246 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2867, allocations: 0 / 0.5161 GB, free: 8.246 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02173/0.3084, allocations: 1.48 MB / 0.5175 GB, free: 7.32 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.791/8.099, allocations: 8.75 kB / 0.5175 GB, free: 7.316 MB / 382.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegStep_fmu --startTime=0 --stopTime=1.3 --stepSize=0.000259896 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegStep.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.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: 10.914236433804035]