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.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.001886/0.001886, allocations: 116.7 kB / 17.84 MB, free: 5.242 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.002305/0.002305, allocations: 198.3 kB / 20.79 MB, free: 2.301 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.481/1.481, allocations: 207.6 MB / 231.2 MB, free: 4.098 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.3321/0.3321, allocations: 44.23 MB / 327.3 MB, free: 6.703 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.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.TestRegStep,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002343/0.002343, allocations: 67.91 kB / 463 MB, free: 0.8594 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2707, allocations: 61 MB / 0.5117 GB, free: 13.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.00175/0.2724, allocations: 0.5474 MB / 0.5122 GB, free: 12.94 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002635/0.2727, allocations: 62.53 kB / 0.5123 GB, free: 12.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.499e-05/0.2727, allocations: 1.406 kB / 0.5123 GB, free: 12.89 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.256e-05/0.2728, allocations: 0 / 0.5123 GB, free: 12.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002183/0.273, allocations: 23.83 kB / 0.5123 GB, free: 12.87 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.039e-05/0.273, allocations: 4.938 kB / 0.5123 GB, free: 12.87 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.274e-05/0.273, allocations: 7.234 kB / 0.5123 GB, free: 12.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.493e-05/0.2731, allocations: 9.109 kB / 0.5123 GB, free: 12.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.91e-05/0.2731, allocations: 2.375 kB / 0.5123 GB, free: 12.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.139e-05/0.2731, allocations: 1.125 kB / 0.5123 GB, free: 12.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.121e-05/0.2732, allocations: 0 / 0.5123 GB, free: 12.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.156e-05/0.2732, allocations: 19.58 kB / 0.5124 GB, free: 12.85 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.063e-05/0.2733, allocations: 3.938 kB / 0.5124 GB, free: 12.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.758e-05/0.2733, allocations: 1.188 kB / 0.5124 GB, free: 12.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.626e-05/0.2734, allocations: 26.64 kB / 0.5124 GB, free: 12.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2734, allocations: 4 kB / 0.5124 GB, free: 12.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2734, allocations: 0 / 0.5124 GB, free: 12.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.2734, allocations: 5.094 kB / 0.5124 GB, free: 12.82 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.0002785/0.2737, allocations: 324.7 kB / 0.5127 GB, free: 12.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.2737, allocations: 13.3 kB / 0.5127 GB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.356e-05/0.2737, allocations: 1.281 kB / 0.5127 GB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.759e-05/0.2737, allocations: 35.91 kB / 0.5128 GB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.249e-05/0.2737, allocations: 0.9375 kB / 0.5128 GB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.445e-05/0.2738, allocations: 168.6 kB / 0.5129 GB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.2738, allocations: 1.656 kB / 0.5129 GB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.2739, allocations: 1.438 kB / 0.5129 GB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.803e-05/0.2739, allocations: 42.59 kB / 0.513 GB, free: 12.17 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.274, allocations: 0 / 0.513 GB, free: 12.17 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.274, allocations: 0 / 0.513 GB, free: 12.17 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.274, allocations: 1.062 kB / 0.513 GB, free: 12.17 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.345e-05/0.274, allocations: 3.781 kB / 0.513 GB, free: 12.17 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001129/0.2741, allocations: 153.1 kB / 0.5131 GB, free: 11.97 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002098/0.2743, allocations: 44.27 kB / 0.5131 GB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.676e-05/0.2743, allocations: 8.297 kB / 0.5132 GB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000336/0.2747, allocations: 114.5 kB / 0.5133 GB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.491e-05/0.2747, allocations: 35.78 kB / 0.5133 GB, free: 11.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.123e-06/0.2747, allocations: 4 kB / 0.5133 GB, free: 11.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.00127/0.276, allocations: 180.1 kB / 0.5135 GB, free: 11.67 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.197e-05/0.276, allocations: 58.31 kB / 0.5135 GB, free: 11.6 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.675e-05/0.276, allocations: 97.86 kB / 0.5136 GB, free: 11.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.788e-06/0.276, allocations: 25.7 kB / 0.5136 GB, free: 11.46 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.176e-05/0.2761, allocations: 80.14 kB / 0.5137 GB, free: 11.38 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.7e-05/0.2761, allocations: 18.52 kB / 0.5137 GB, free: 11.37 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.55e-05/0.2761, allocations: 17.53 kB / 0.5138 GB, free: 11.35 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.409e-05/0.2762, allocations: 314.4 kB / 0.5141 GB, free: 11.04 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.217e-05/0.2762, allocations: 21.44 kB / 0.5141 GB, free: 11.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.029e-05/0.2763, allocations: 23.08 kB / 0.5141 GB, free: 11.01 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.2765, allocations: 52.52 kB / 0.5142 GB, free: 10.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.2765, allocations: 0 / 0.5142 GB, free: 10.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001982/0.2767, allocations: 82.3 kB / 0.5142 GB, free: 10.92 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.2767, allocations: 5.812 kB / 0.5142 GB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.2767, allocations: 0 / 0.5142 GB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.2767, allocations: 5.031 kB / 0.5142 GB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.2768, allocations: 18.02 kB / 0.5143 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.2768, allocations: 3.984 kB / 0.5143 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.394e-05/0.2769, allocations: 8.219 kB / 0.5143 GB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.2769, allocations: 5.578 kB / 0.5143 GB, free: 10.9 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 5.043e-05/0.277, allocations: 111.9 kB / 0.5144 GB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.356e-05/0.277, allocations: 5.125 kB / 0.5144 GB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002499/0.2772, allocations: 91.08 kB / 0.5145 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.2772, allocations: 0 / 0.5145 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.2772, allocations: 0 / 0.5145 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.2773, allocations: 5.422 kB / 0.5145 GB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007198/0.278, allocations: 357.7 kB / 0.5148 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.278, allocations: 4.031 kB / 0.5148 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.2781, allocations: 14.58 kB / 0.5148 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.2781, allocations: 1.812 kB / 0.5148 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.2781, allocations: 0 / 0.5148 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.287e-06/0.2781, allocations: 5.906 kB / 0.5148 GB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2781, allocations: 0 / 0.5148 GB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002161/0.2783, allocations: 185.1 kB / 0.515 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.808e-05/0.2783, allocations: 86.45 kB / 0.5151 GB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.2783, allocations: 1.5 kB / 0.5151 GB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.872e-05/0.2784, allocations: 5.344 kB / 0.5151 GB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.192e-05/0.2785, allocations: 5.641 kB / 0.5151 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.2785, allocations: 2.062 kB / 0.5151 GB, free: 10.05 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.785e-05/0.2785, allocations: 79.28 kB / 0.5152 GB, free: 9.977 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2785, allocations: 0 / 0.5152 GB, free: 9.977 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002373/0.2787, allocations: 16.47 kB / 0.5152 GB, free: 9.969 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.0003876/0.2791, allocations: 0.7165 MB / 0.5159 GB, free: 9.266 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002122/0.2793, allocations: 49.2 kB / 0.516 GB, free: 9.242 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2793, allocations: 0.875 kB / 0.516 GB, free: 9.242 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.016e-05/0.2794, allocations: 25.94 kB / 0.516 GB, free: 9.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002106/0.2796, allocations: 10.19 kB / 0.516 GB, free: 9.223 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005128/0.2801, allocations: 164.5 kB / 0.5161 GB, free: 9.051 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.733e-05/0.2802, allocations: 0.686 MB / 0.5168 GB, free: 8.344 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.831e-05/0.2803, allocations: 3 kB / 0.5168 GB, free: 8.344 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.28e-05/0.2803, allocations: 10.03 kB / 0.5168 GB, free: 8.336 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2803, allocations: 4 kB / 0.5168 GB, free: 8.332 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01648/0.2968, allocations: 1.516 MB / 0.5183 GB, free: 7.387 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.372/8.668, allocations: 7.406 kB / 0.5183 GB, free: 7.383 MB / 382.1 MB " [Timeout remaining time 651] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 11.565522265969776]