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) 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 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 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: 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001955/0.001956, allocations: 103.7 kB / 15.98 MB, free: 6.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001782/0.001782, allocations: 190.7 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.437/1.437, allocations: 205.1 MB / 222.8 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3138/0.3138, allocations: 43.49 MB / 313.6 MB, free: 8.289 MB / 254.1 MB 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.001397/0.001397, allocations: 64.47 kB / 382.2 MB, free: 8.402 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1077, allocations: 57.79 MB / 440 MB, free: 14.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001726/0.1095, allocations: 0.5931 MB / 440.6 MB, free: 13.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002389/0.1097, allocations: 69.39 kB / 440.7 MB, free: 13.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.565e-05/0.1098, allocations: 4 kB / 440.7 MB, free: 13.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.402e-05/0.1098, allocations: 0 / 440.7 MB, free: 13.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002103/0.11, allocations: 15.97 kB / 440.7 MB, free: 13.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.543e-05/0.11, allocations: 0 / 440.7 MB, free: 13.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.165e-05/0.1101, allocations: 11.88 kB / 440.7 MB, free: 13.81 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.463e-05/0.1101, allocations: 0 / 440.7 MB, free: 13.81 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.715e-05/0.1102, allocations: 4 kB / 440.7 MB, free: 13.81 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.511e-05/0.1102, allocations: 0 / 440.7 MB, free: 13.81 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.658e-06/0.1102, allocations: 0 / 440.7 MB, free: 13.81 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.776e-05/0.1103, allocations: 27.97 kB / 440.7 MB, free: 13.78 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.578e-06/0.1103, allocations: 7.984 kB / 440.7 MB, free: 13.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.631e-05/0.1103, allocations: 3.938 kB / 440.7 MB, free: 13.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 7.03e-05/0.1104, allocations: 15.98 kB / 440.8 MB, free: 13.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1104, allocations: 0 / 440.8 MB, free: 13.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.806e-06/0.1104, allocations: 3.984 kB / 440.8 MB, free: 13.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.1104, allocations: 0 / 440.8 MB, free: 13.75 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.000277/0.1107, allocations: 315.5 kB / 441.1 MB, free: 13.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.1108, allocations: 15.89 kB / 441.1 MB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.562e-05/0.1108, allocations: 4.875 kB / 441.1 MB, free: 13.37 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.371e-05/0.1109, allocations: 172.6 kB / 441.3 MB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.1109, allocations: 4.312 kB / 441.3 MB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.479e-05/0.1109, allocations: 8.375 kB / 441.3 MB, free: 13.15 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.279e-05/0.111, allocations: 34.2 kB / 441.3 MB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.1111, allocations: 4.188 kB / 441.3 MB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.1111, allocations: 3.938 kB / 441.3 MB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.1111, allocations: 0 / 441.3 MB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.429e-05/0.1111, allocations: 7.984 kB / 441.3 MB, free: 13.1 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001525/0.1113, allocations: 153.7 kB / 441.5 MB, free: 12.9 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.1115, allocations: 34.58 kB / 441.5 MB, free: 12.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.972e-05/0.1115, allocations: 24.88 kB / 441.5 MB, free: 12.83 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003206/0.1118, allocations: 109.1 kB / 441.6 MB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.1119, allocations: 30.56 kB / 441.7 MB, free: 12.66 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1119, allocations: 4 kB / 441.7 MB, free: 12.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.001231/0.1131, allocations: 193.4 kB / 441.9 MB, free: 12.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/0.1131, allocations: 51.41 kB / 441.9 MB, free: 12.4 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.376e-05/0.1132, allocations: 93.86 kB / 442 MB, free: 12.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.1132, allocations: 29.7 kB / 442 MB, free: 12.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.676e-05/0.1133, allocations: 80.14 kB / 442.1 MB, free: 12.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.853e-05/0.1133, allocations: 15.8 kB / 442.1 MB, free: 12.17 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.873e-05/0.1133, allocations: 17.7 kB / 442.1 MB, free: 12.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.1135, allocations: 318.8 kB / 442.4 MB, free: 11.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.545e-05/0.1135, allocations: 15.98 kB / 442.5 MB, free: 11.81 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.016e-05/0.1136, allocations: 20.11 kB / 442.5 MB, free: 11.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.1138, allocations: 44.83 kB / 442.5 MB, free: 11.74 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.1138, allocations: 0 / 442.5 MB, free: 11.74 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001907/0.114, allocations: 81.59 kB / 442.6 MB, free: 11.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.114, allocations: 11.94 kB / 442.6 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.114, allocations: 0 / 442.6 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.114, allocations: 0 / 442.6 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.1141, allocations: 15.98 kB / 442.6 MB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.1142, allocations: 4 kB / 442.6 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.284e-05/0.1142, allocations: 3.984 kB / 442.6 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.1143, allocations: 4 kB / 442.6 MB, free: 11.62 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.974e-05/0.1143, allocations: 117.8 kB / 442.8 MB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.346e-05/0.1144, allocations: 11.88 kB / 442.8 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002359/0.1146, allocations: 97.39 kB / 442.9 MB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1146, allocations: 0 / 442.9 MB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1146, allocations: 0 / 442.9 MB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1146, allocations: 0 / 442.9 MB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006658/0.1153, allocations: 363.2 kB / 443.2 MB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1153, allocations: 0 / 443.2 MB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.563e-05/0.1154, allocations: 15.98 kB / 443.2 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.1154, allocations: 3.938 kB / 443.2 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.1154, allocations: 0 / 443.2 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1154, allocations: 0 / 443.2 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.1154, allocations: 4 kB / 443.2 MB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002162/0.1157, allocations: 184.3 kB / 443.4 MB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.858e-05/0.1157, allocations: 77.11 kB / 443.5 MB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.1157, allocations: 4 kB / 443.5 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.1158, allocations: 11.98 kB / 443.5 MB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.138e-05/0.1158, allocations: 0 / 443.5 MB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.1159, allocations: 4 kB / 443.5 MB, free: 10.63 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.655e-05/0.1159, allocations: 75.28 kB / 443.6 MB, free: 10.55 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1159, allocations: 96 / 443.6 MB, free: 10.55 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002245/0.1161, allocations: 12 kB / 443.6 MB, free: 10.54 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.0001134/0.1162, allocations: 107.2 kB / 443.7 MB, free: 10.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001966/0.1164, allocations: 55.83 kB / 443.8 MB, free: 10.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1165, allocations: 0 / 443.8 MB, free: 10.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.078e-05/0.1166, allocations: 23.98 kB / 443.8 MB, free: 10.35 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002062/0.1168, allocations: 4.062 kB / 443.8 MB, free: 10.35 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00041/0.1172, allocations: 151.3 kB / 443.9 MB, free: 10.17 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00021/0.1174, allocations: 0.6806 MB / 444.6 MB, free: 9.465 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.758e-05/0.1175, allocations: 8 kB / 444.6 MB, free: 9.457 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.044e-05/0.1175, allocations: 7.438 kB / 444.6 MB, free: 9.449 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1175, allocations: 0 / 444.6 MB, free: 9.449 MB / 382.1 MB Notification: Performance of Templates: time 0.002436/0.1199, allocations: 0.6614 MB / 445.3 MB, free: 8.789 MB / 382.1 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