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/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 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 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 104.1 kB / 17.63 MB, free: 5.477 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.001255/0.001255, allocations: 188 kB / 18.55 MB, free: 4.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.254/1.254, allocations: 222.9 MB / 242.2 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1915/0.1915, allocations: 44.19 MB / 336.6 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001275, allocations: 76.78 kB / 408.4 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1071, allocations: 60.83 MB / 469.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001843/0.109, allocations: 499.5 kB / 469.7 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002897/0.1093, allocations: 107.6 kB / 469.8 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.281e-05/0.1094, allocations: 0 / 469.8 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.057e-05/0.1094, allocations: 0 / 469.8 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002204/0.1096, allocations: 15.92 kB / 469.9 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.068e-05/0.1097, allocations: 4 kB / 469.9 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.963e-05/0.1097, allocations: 4 kB / 469.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.045e-05/0.1098, allocations: 11.94 kB / 469.9 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.89e-05/0.1098, allocations: 3.984 kB / 469.9 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.678e-05/0.1098, allocations: 4 kB / 469.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.08e-05/0.1098, allocations: 3.938 kB / 469.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.06e-05/0.1099, allocations: 15.98 kB / 469.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.376e-05/0.11, allocations: 3.984 kB / 469.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.625e-05/0.11, allocations: 4 kB / 469.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.995e-05/0.1101, allocations: 19.91 kB / 469.9 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1101, allocations: 0 / 469.9 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1101, allocations: 4 kB / 469.9 MB, free: 13.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.1101, allocations: 0 / 469.9 MB, free: 13.7 MB / 350.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.0003192/0.1104, allocations: 323.6 kB / 470.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.1105, allocations: 8.031 kB / 470.3 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.109e-05/0.1105, allocations: 4.938 kB / 470.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.1106, allocations: 160.4 kB / 470.4 MB, free: 13.13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-06/0.1106, allocations: 384 / 470.4 MB, free: 13.13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.287e-05/0.1107, allocations: 384 / 470.4 MB, free: 13.13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.1108, allocations: 42.19 kB / 470.5 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.1108, allocations: 4.172 kB / 470.5 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.1108, allocations: 7.938 kB / 470.5 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.1108, allocations: 4 kB / 470.5 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.645e-05/0.1109, allocations: 4 kB / 470.5 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001867/0.1111, allocations: 160.5 kB / 470.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000196/0.1113, allocations: 34.61 kB / 470.7 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.001e-05/0.1113, allocations: 8.859 kB / 470.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003579/0.1117, allocations: 113.2 kB / 470.8 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.1117, allocations: 42.48 kB / 470.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1117, allocations: 0 / 470.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.001258/0.113, allocations: 193.2 kB / 471 MB, free: 12.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.113, allocations: 55.41 kB / 471.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.499e-05/0.1131, allocations: 89.86 kB / 471.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.1131, allocations: 29.7 kB / 471.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.066e-05/0.1132, allocations: 84.12 kB / 471.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.418e-05/0.1132, allocations: 15.8 kB / 471.3 MB, free: 12.13 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.753e-05/0.1132, allocations: 17.72 kB / 471.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.1133, allocations: 315 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.354e-05/0.1134, allocations: 19.98 kB / 471.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.674e-05/0.1135, allocations: 23.97 kB / 471.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/0.1137, allocations: 44.83 kB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1137, allocations: 0 / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001946/0.1139, allocations: 77.52 kB / 471.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.1139, allocations: 15.88 kB / 471.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1139, allocations: 0 / 471.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.1139, allocations: 0 / 471.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.1141, allocations: 15.98 kB / 471.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.1141, allocations: 3.984 kB / 471.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.482e-05/0.1142, allocations: 8 kB / 471.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-06/0.1142, allocations: 4 kB / 471.8 MB, free: 11.57 MB / 350.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 8.003e-05/0.1143, allocations: 105.8 kB / 471.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.629e-05/0.1143, allocations: 11.92 kB / 471.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002781/0.1146, allocations: 89.41 kB / 472 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.1146, allocations: 0 / 472 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.1146, allocations: 4.062 kB / 472 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1146, allocations: 0 / 472 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006953/0.1153, allocations: 363.3 kB / 472.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1153, allocations: 0 / 472.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.976e-05/0.1154, allocations: 11.98 kB / 472.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.1154, allocations: 4 kB / 472.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.1155, allocations: 0 / 472.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1155, allocations: 0 / 472.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1155, allocations: 0 / 472.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002288/0.1157, allocations: 184.3 kB / 472.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.244e-05/0.1157, allocations: 81.02 kB / 472.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.1158, allocations: 8.25 kB / 472.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.551e-05/0.1159, allocations: 4 kB / 472.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.39e-05/0.1159, allocations: 8 kB / 472.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.1159, allocations: 3.984 kB / 472.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.219e-05/0.116, allocations: 79.28 kB / 472.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.116, allocations: 0 / 472.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002257/0.1162, allocations: 12 kB / 472.8 MB, free: 10.51 MB / 350.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.0001277/0.1163, allocations: 107.1 kB / 472.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00022/0.1166, allocations: 59.81 kB / 472.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1166, allocations: 4.094 kB / 472.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.584e-05/0.1167, allocations: 23.98 kB / 473 MB, free: 10.31 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002061/0.1169, allocations: 2.953 kB / 473 MB, free: 10.31 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003873/0.1173, allocations: 137.7 kB / 473.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000248/0.1175, allocations: 0.6729 MB / 473.8 MB, free: 9.445 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.45e-05/0.1176, allocations: 8 kB / 473.8 MB, free: 9.438 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.317e-05/0.1176, allocations: 11.42 kB / 473.8 MB, free: 9.426 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1176, allocations: 3.938 kB / 473.8 MB, free: 9.422 MB / 350.1 MB Notification: Performance of Templates: time 0.002682/0.1203, allocations: 0.6546 MB / 474.5 MB, free: 8.77 MB / 350.1 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches