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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0015/0.0015, allocations: 179.3 kB / 8.005 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.381/1.381, allocations: 205.3 MB / 213.7 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008193/0.0008193, allocations: 78.64 kB / 261.7 MB, free: 1.617 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2092/0.2092, allocations: 43.5 MB / 353.2 MB, free: 268 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.768e-05/1.77e-05, allocations: 4 kB / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1163, allocations: 58.86 MB / 477.1 MB, free: 1.645 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3803/0.4966, allocations: 83.23 MB / 0.5472 GB, free: 9.035 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001934/0.4969, allocations: 69.52 kB / 0.5473 GB, free: 9.035 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001514/0.4984, allocations: 0.6216 MB / 0.5479 GB, free: 8.703 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.4984, allocations: 0 / 0.5479 GB, free: 8.703 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.4984, allocations: 7.969 kB / 0.5479 GB, free: 8.699 MB / 362.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.0001785/0.4986, allocations: 309.6 kB / 0.5482 GB, free: 8.359 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.4987, allocations: 7.594 kB / 0.5482 GB, free: 8.359 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.487e-05/0.4987, allocations: 0 / 0.5482 GB, free: 8.359 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.621e-05/0.4988, allocations: 174 kB / 0.5484 GB, free: 8.152 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.4988, allocations: 3.875 kB / 0.5484 GB, free: 8.152 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.4988, allocations: 0 / 0.5484 GB, free: 8.152 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.451e-05/0.4989, allocations: 3.875 kB / 0.5484 GB, free: 8.152 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.407e-05/0.499, allocations: 35.88 kB / 0.5484 GB, free: 8.121 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.499, allocations: 4 kB / 0.5484 GB, free: 8.117 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-06/0.499, allocations: 0 / 0.5484 GB, free: 8.117 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.499, allocations: 0 / 0.5484 GB, free: 8.117 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000107/0.4991, allocations: 136.5 kB / 0.5485 GB, free: 7.957 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.4993, allocations: 30.14 kB / 0.5486 GB, free: 7.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.109e-05/0.4993, allocations: 12.45 kB / 0.5486 GB, free: 7.922 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002577/0.4996, allocations: 122.8 kB / 0.5487 GB, free: 7.824 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.385e-05/0.4996, allocations: 34.47 kB / 0.5487 GB, free: 7.785 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.4996, allocations: 0 / 0.5487 GB, free: 7.785 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.001003/0.5006, allocations: 165.7 kB / 0.5489 GB, free: 7.746 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.768e-05/0.5006, allocations: 55.34 kB / 0.5489 GB, free: 7.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.716e-05/0.5007, allocations: 98.72 kB / 0.549 GB, free: 7.582 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.318e-06/0.5007, allocations: 25.7 kB / 0.549 GB, free: 7.551 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.123e-05/0.5007, allocations: 84.02 kB / 0.5491 GB, free: 7.469 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.5007, allocations: 7.812 kB / 0.5491 GB, free: 7.461 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.249e-06/0.5008, allocations: 0 / 0.5491 GB, free: 7.461 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.732e-05/0.5008, allocations: 316.5 kB / 0.5494 GB, free: 7.148 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.841e-05/0.5008, allocations: 13.5 kB / 0.5494 GB, free: 7.148 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.634e-05/0.5008, allocations: 9.094 kB / 0.5495 GB, free: 7.148 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.869e-05/0.5009, allocations: 19.94 kB / 0.5495 GB, free: 7.148 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.5009, allocations: 4.125 kB / 0.5495 GB, free: 7.145 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001045/0.501, allocations: 60.75 kB / 0.5495 GB, free: 7.109 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.5011, allocations: 7.656 kB / 0.5495 GB, free: 7.109 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.5011, allocations: 0 / 0.5495 GB, free: 7.109 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.5011, allocations: 0 / 0.5495 GB, free: 7.109 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.5012, allocations: 17.03 kB / 0.5496 GB, free: 7.109 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.5012, allocations: 3.938 kB / 0.5496 GB, free: 7.105 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.521e-05/0.5013, allocations: 6.375 kB / 0.5496 GB, free: 7.105 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.5013, allocations: 10.81 kB / 0.5496 GB, free: 7.102 MB / 362.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.686e-05/0.5014, allocations: 104.9 kB / 0.5497 GB, free: 6.992 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.091e-05/0.5014, allocations: 10.67 kB / 0.5497 GB, free: 6.988 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001582/0.5015, allocations: 74.66 kB / 0.5498 GB, free: 6.945 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.5016, allocations: 0 / 0.5498 GB, free: 6.945 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.5016, allocations: 0 / 0.5498 GB, free: 6.945 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.5016, allocations: 4 kB / 0.5498 GB, free: 6.941 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004475/0.502, allocations: 321.2 kB / 0.5501 GB, free: 6.664 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.502, allocations: 320 / 0.5501 GB, free: 6.664 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.734e-05/0.5021, allocations: 14.41 kB / 0.5501 GB, free: 6.664 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.5021, allocations: 3.984 kB / 0.5501 GB, free: 6.66 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-06/0.5022, allocations: 11.97 kB / 0.5501 GB, free: 6.652 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.5022, allocations: 0 / 0.5501 GB, free: 6.652 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.5022, allocations: 3.891 kB / 0.5501 GB, free: 6.652 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001253/0.5023, allocations: 177 kB / 0.5503 GB, free: 6.492 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.523e-05/0.5023, allocations: 80.11 kB / 0.5504 GB, free: 6.398 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.5024, allocations: 0 / 0.5504 GB, free: 6.398 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.5025, allocations: 18.22 kB / 0.5504 GB, free: 6.395 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.135e-05/0.5025, allocations: 0 / 0.5504 GB, free: 6.395 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.5025, allocations: 3.938 kB / 0.5504 GB, free: 6.395 MB / 362.7 MB Notification: Performance of sorting global known variables: time 1.627e-05/0.5025, allocations: 79.22 kB / 0.5504 GB, free: 6.316 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5025, allocations: 0 / 0.5504 GB, free: 6.316 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000219/0.5027, allocations: 11.72 kB / 0.5505 GB, free: 6.312 MB / 362.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001293/0.5029, allocations: 97.72 kB / 0.5506 GB, free: 6.227 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.485e-05/0.503, allocations: 34.31 kB / 0.5506 GB, free: 6.219 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.503, allocations: 3.938 kB / 0.5506 GB, free: 6.215 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.093e-05/0.503, allocations: 10.58 kB / 0.5506 GB, free: 6.215 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001345/0.5031, allocations: 12.64 kB / 0.5506 GB, free: 6.211 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002937/0.5034, allocations: 84.7 kB / 0.5507 GB, free: 6.137 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/0.5036, allocations: 0.6834 MB / 0.5514 GB, free: 5.434 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.783e-05/0.5036, allocations: 6.812 kB / 0.5514 GB, free: 5.434 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.77e-05/0.5037, allocations: 11.34 kB / 0.5514 GB, free: 5.426 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5037, allocations: 4 kB / 0.5514 GB, free: 5.422 MB / 362.7 MB Notification: Performance of Templates: time 0.002077/0.5057, allocations: 0.5639 MB / 0.5519 GB, free: 5.375 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches