Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00162/0.00162, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 222.9 MB / 241.6 MB, free: 10.95 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 97.48 kB / 291.9 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.305/0.305, allocations: 44.13 MB / 386.1 MB, free: 37.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009939/0.0009939, allocations: 56.11 kB / 457.7 MB, free: 2.266 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.2775, allocations: 60.81 MB / 0.5064 GB, free: 38.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001548/0.2791, allocations: 0.5473 MB / 0.5069 GB, free: 37.88 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002721/0.2794, allocations: 103.3 kB / 0.507 GB, free: 37.82 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.6e-05/0.2794, allocations: 4 kB / 0.507 GB, free: 37.82 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.288e-05/0.2794, allocations: 3.938 kB / 0.507 GB, free: 37.81 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001667/0.2796, allocations: 18.17 kB / 0.5071 GB, free: 37.8 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.572e-05/0.2796, allocations: 2.938 kB / 0.5071 GB, free: 37.8 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.574e-05/0.2797, allocations: 3.688 kB / 0.5071 GB, free: 37.8 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.765e-05/0.2797, allocations: 0.75 kB / 0.5071 GB, free: 37.8 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.576e-05/0.2797, allocations: 4.688 kB / 0.5071 GB, free: 37.8 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.373e-05/0.2798, allocations: 3.188 kB / 0.5071 GB, free: 37.8 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.839e-06/0.2798, allocations: 0 / 0.5071 GB, free: 37.8 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.066e-05/0.2799, allocations: 25.8 kB / 0.5071 GB, free: 37.79 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.648e-06/0.2799, allocations: 7.938 kB / 0.5071 GB, free: 37.78 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.593e-05/0.2799, allocations: 4.641 kB / 0.5071 GB, free: 37.78 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 9.051e-05/0.28, allocations: 12.31 kB / 0.5071 GB, free: 37.78 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.28, allocations: 1.062 kB / 0.5071 GB, free: 37.78 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.28, allocations: 3.938 kB / 0.5071 GB, free: 37.77 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.28, allocations: 3.938 kB / 0.5071 GB, free: 37.77 MB / 378.7 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.0002438/0.2803, allocations: 324.7 kB / 0.5074 GB, free: 37.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.2803, allocations: 8.344 kB / 0.5074 GB, free: 37.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.072e-05/0.2804, allocations: 2.375 kB / 0.5074 GB, free: 37.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.746e-05/0.2804, allocations: 172.7 kB / 0.5076 GB, free: 37.21 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.2804, allocations: 384 / 0.5076 GB, free: 37.21 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.2805, allocations: 1.969 kB / 0.5076 GB, free: 37.21 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.264e-05/0.2805, allocations: 41.38 kB / 0.5076 GB, free: 37.17 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.2806, allocations: 1.281 kB / 0.5076 GB, free: 37.17 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.724e-06/0.2806, allocations: 3.938 kB / 0.5077 GB, free: 37.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.2806, allocations: 1.125 kB / 0.5077 GB, free: 37.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.948e-05/0.2806, allocations: 4.594 kB / 0.5077 GB, free: 37.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001027/0.2807, allocations: 153.4 kB / 0.5078 GB, free: 36.97 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.2809, allocations: 41.06 kB / 0.5078 GB, free: 36.94 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.426e-05/0.2809, allocations: 12.86 kB / 0.5079 GB, free: 36.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003068/0.2812, allocations: 111.2 kB / 0.508 GB, free: 36.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.355e-05/0.2813, allocations: 38.69 kB / 0.508 GB, free: 36.79 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.2813, allocations: 4 kB / 0.508 GB, free: 36.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.001138/0.2824, allocations: 180.4 kB / 0.5082 GB, free: 36.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.902e-05/0.2824, allocations: 56.47 kB / 0.5082 GB, free: 36.67 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.759e-05/0.2825, allocations: 95.02 kB / 0.5083 GB, free: 36.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.105e-06/0.2825, allocations: 28.98 kB / 0.5083 GB, free: 36.54 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.969e-06/0.2825, allocations: 81.23 kB / 0.5084 GB, free: 36.45 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.321e-05/0.2825, allocations: 18.22 kB / 0.5084 GB, free: 36.44 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.23e-05/0.2826, allocations: 12.81 kB / 0.5085 GB, free: 36.42 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.587e-05/0.2826, allocations: 319.8 kB / 0.5088 GB, free: 36.11 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.775e-05/0.2827, allocations: 15.56 kB / 0.5088 GB, free: 36.11 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.888e-05/0.2828, allocations: 17.97 kB / 0.5088 GB, free: 36.1 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.2829, allocations: 50.48 kB / 0.5088 GB, free: 36.08 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.2829, allocations: 1.125 kB / 0.5088 GB, free: 36.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001778/0.2831, allocations: 81.11 kB / 0.5089 GB, free: 36.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.2831, allocations: 9 kB / 0.5089 GB, free: 36.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.2831, allocations: 288 / 0.5089 GB, free: 36.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.2832, allocations: 0.9375 kB / 0.5089 GB, free: 36.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.2833, allocations: 17.66 kB / 0.5089 GB, free: 36.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.2833, allocations: 4 kB / 0.5089 GB, free: 36.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.035e-05/0.2834, allocations: 9.172 kB / 0.509 GB, free: 36.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.2834, allocations: 0 / 0.509 GB, free: 36.02 MB / 378.7 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 4.303e-05/0.2834, allocations: 113.2 kB / 0.5091 GB, free: 35.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.222e-05/0.2835, allocations: 11.83 kB / 0.5091 GB, free: 35.89 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002273/0.2837, allocations: 101.8 kB / 0.5092 GB, free: 35.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.2837, allocations: 0 / 0.5092 GB, free: 35.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.2837, allocations: 3.938 kB / 0.5092 GB, free: 35.83 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.2837, allocations: 0 / 0.5092 GB, free: 35.83 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005734/0.2843, allocations: 356.6 kB / 0.5095 GB, free: 35.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2843, allocations: 4.031 kB / 0.5095 GB, free: 35.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.681e-05/0.2844, allocations: 15.05 kB / 0.5095 GB, free: 35.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.093e-06/0.2844, allocations: 0 / 0.5095 GB, free: 35.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.2844, allocations: 3.328 kB / 0.5095 GB, free: 35.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.2844, allocations: 3.062 kB / 0.5095 GB, free: 35.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2844, allocations: 0 / 0.5095 GB, free: 35.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003298/0.2848, allocations: 0.7372 MB / 0.5103 GB, free: 34.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.365e-05/0.2848, allocations: 79.98 kB / 0.5103 GB, free: 34.67 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/0.2848, allocations: 3.375 kB / 0.5103 GB, free: 34.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.625e-05/0.2849, allocations: 5.406 kB / 0.5103 GB, free: 34.67 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.672e-05/0.2849, allocations: 7.219 kB / 0.5104 GB, free: 34.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.2849, allocations: 6.594 kB / 0.5104 GB, free: 34.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.407e-05/0.285, allocations: 81.94 kB / 0.5104 GB, free: 34.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.285, allocations: 0 / 0.5104 GB, free: 34.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003105/0.2853, allocations: 5.688 kB / 0.5104 GB, free: 34.59 MB / 378.7 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 9.76e-05/0.2854, allocations: 102 kB / 0.5105 GB, free: 34.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001846/0.2856, allocations: 48.38 kB / 0.5106 GB, free: 34.49 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2856, allocations: 0 / 0.5106 GB, free: 34.49 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.409e-05/0.2857, allocations: 31.95 kB / 0.5106 GB, free: 34.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001929/0.2859, allocations: 0 / 0.5106 GB, free: 34.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003622/0.2862, allocations: 253.9 kB / 0.5109 GB, free: 34.24 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.813e-05/0.2863, allocations: 0.6752 MB / 0.5115 GB, free: 33.54 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.574e-05/0.2864, allocations: 10.88 kB / 0.5115 GB, free: 33.54 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.734e-05/0.2864, allocations: 13.56 kB / 0.5115 GB, free: 33.53 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2864, allocations: 0 / 0.5115 GB, free: 33.53 MB / 378.7 MB Notification: Performance of Templates: time 0.00213/0.2886, allocations: 0.6581 MB / 0.5122 GB, free: 33.45 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches