Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.002361/0.002361, allocations: 181.7 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.026/2.026, allocations: 205.2 MB / 219.4 MB, free: 14.29 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001108/0.001108, allocations: 98.56 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2754/0.2755, allocations: 43.5 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.895e-05/2.905e-05, allocations: 4 kB / 425.3 MB, free: 23.39 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1145, allocations: 58.86 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4786/0.5932, allocations: 83.89 MB / 0.5547 GB, free: 3.703 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002286/0.5935, allocations: 77.72 kB / 0.5548 GB, free: 3.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002186/0.5957, allocations: 0.6102 MB / 0.5554 GB, free: 3.094 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.5957, allocations: 0 / 0.5554 GB, free: 3.094 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.5957, allocations: 0 / 0.5554 GB, free: 3.094 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.0001977/0.5959, allocations: 310.6 kB / 0.5557 GB, free: 2.746 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.596, allocations: 8.031 kB / 0.5557 GB, free: 2.738 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.739e-05/0.596, allocations: 8 kB / 0.5557 GB, free: 2.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.665e-05/0.5961, allocations: 173.6 kB / 0.5559 GB, free: 2.527 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.5962, allocations: 0 / 0.5559 GB, free: 2.527 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.146e-05/0.5962, allocations: 0 / 0.5559 GB, free: 2.527 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.5963, allocations: 33.69 kB / 0.5559 GB, free: 2.488 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.5963, allocations: 7.938 kB / 0.5559 GB, free: 2.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.5963, allocations: 0 / 0.5559 GB, free: 2.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.5964, allocations: 0 / 0.5559 GB, free: 2.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.11e-05/0.5964, allocations: 7.875 kB / 0.5559 GB, free: 2.477 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001387/0.5966, allocations: 161.3 kB / 0.5561 GB, free: 2.273 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.5968, allocations: 30.56 kB / 0.5561 GB, free: 2.234 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.207e-05/0.5968, allocations: 16.88 kB / 0.5561 GB, free: 2.219 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004087/0.5972, allocations: 125 kB / 0.5562 GB, free: 2.078 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.618e-05/0.5973, allocations: 38.5 kB / 0.5563 GB, free: 2.031 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.733e-06/0.5973, allocations: 0 / 0.5563 GB, free: 2.031 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.001633/0.5989, allocations: 161.1 kB / 0.5564 GB, free: 1.879 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.599, allocations: 55.41 kB / 0.5565 GB, free: 1.812 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.045e-05/0.599, allocations: 85 kB / 0.5566 GB, free: 1.723 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.5991, allocations: 33.33 kB / 0.5566 GB, free: 1.688 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.426e-05/0.5991, allocations: 150.6 kB / 0.5567 GB, free: 1.539 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.931e-05/0.5991, allocations: 15.94 kB / 0.5567 GB, free: 1.523 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.184e-06/0.5992, allocations: 0 / 0.5567 GB, free: 1.523 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.851e-05/0.5992, allocations: 322.7 kB / 0.5571 GB, free: 1.203 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.068e-05/0.5993, allocations: 11.61 kB / 0.5571 GB, free: 1.195 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.824e-05/0.5993, allocations: 7.938 kB / 0.5571 GB, free: 1.191 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.428e-05/0.5994, allocations: 11.94 kB / 0.5571 GB, free: 1.184 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.5994, allocations: 0 / 0.5571 GB, free: 1.184 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001378/0.5995, allocations: 57.5 kB / 0.5571 GB, free: 1.129 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.5996, allocations: 4 kB / 0.5571 GB, free: 1.125 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.5996, allocations: 0 / 0.5571 GB, free: 1.125 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.5996, allocations: 4 kB / 0.5572 GB, free: 1.121 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002052/0.5998, allocations: 19.17 kB / 0.5572 GB, free: 1.105 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.5998, allocations: 3.938 kB / 0.5572 GB, free: 1.102 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/0.6, allocations: 11.98 kB / 0.5572 GB, free: 1.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.6, allocations: 0 / 0.5572 GB, free: 1.09 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 5.736e-05/0.6001, allocations: 116.6 kB / 0.5573 GB, free: 0.9727 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.358e-05/0.6001, allocations: 0 / 0.5573 GB, free: 0.9727 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002288/0.6003, allocations: 72.67 kB / 0.5574 GB, free: 0.9023 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.6004, allocations: 0 / 0.5574 GB, free: 0.9023 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.6004, allocations: 3.984 kB / 0.5574 GB, free: 0.8984 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.6004, allocations: 0 / 0.5574 GB, free: 0.8984 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006999/0.6011, allocations: 342.4 kB / 0.5577 GB, free: 0.5156 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.6011, allocations: 0 / 0.5577 GB, free: 0.5156 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001745/0.6013, allocations: 15.98 kB / 0.5577 GB, free: 0.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.6013, allocations: 0 / 0.5577 GB, free: 0.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.6013, allocations: 7.938 kB / 0.5577 GB, free: 0.4922 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.6013, allocations: 0 / 0.5577 GB, free: 0.4922 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.6014, allocations: 0 / 0.5577 GB, free: 0.4922 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001579/0.6015, allocations: 173.9 kB / 0.5579 GB, free: 316 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.274e-05/0.6016, allocations: 77.98 kB / 0.558 GB, free: 220 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.6016, allocations: 4 kB / 0.558 GB, free: 216 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001704/0.6018, allocations: 7.984 kB / 0.558 GB, free: 208 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.414e-05/0.6018, allocations: 4 kB / 0.558 GB, free: 204 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.6018, allocations: 11.92 kB / 0.558 GB, free: 196 kB / 362.7 MB Notification: Performance of sorting global known variables: time 2.57e-05/0.6019, allocations: 83.17 kB / 0.5581 GB, free: 112 kB / 362.7 MB Notification: Performance of sort global known variables: time 4e-07/0.6019, allocations: 7.938 kB / 0.5581 GB, free: 104 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004445/0.6023, allocations: 12 kB / 0.5581 GB, free: 92 kB / 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.0001745/0.6025, allocations: 99.19 kB / 0.5582 GB, free: 15.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001614/0.6027, allocations: 23.75 kB / 0.5582 GB, free: 15.97 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.6027, allocations: 0 / 0.5582 GB, free: 15.97 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.19e-05/0.6028, allocations: 27.58 kB / 0.5582 GB, free: 15.95 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001627/0.603, allocations: 4 kB / 0.5582 GB, free: 15.94 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005182/0.6035, allocations: 111.4 kB / 0.5583 GB, free: 15.81 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002721/0.6038, allocations: 0.677 MB / 0.559 GB, free: 15.11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.598e-05/0.6038, allocations: 11.44 kB / 0.559 GB, free: 15.09 MB / 378.7 MB Notification: Performance of SimCode: time 7.81e-07/0.6039, allocations: 0 / 0.559 GB, free: 15.09 MB / 378.7 MB Notification: Performance of Templates: time 0.00265/0.6065, allocations: 0.6766 MB / 0.5597 GB, free: 14.42 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches