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.0007372/0.0007372, allocations: 89.42 kB / 18 MB, free: 5.734 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.0008299/0.0008299, allocations: 176.6 kB / 18.91 MB, free: 4.871 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.319/1.319, allocations: 223.3 MB / 242.9 MB, free: 24 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1853/0.1853, allocations: 44.25 MB / 338.3 MB, free: 2.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003312/0.0003312, allocations: 8 kB / 411 MB, free: 27.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1118, allocations: 61.92 MB / 472.9 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.0006241/0.1125, allocations: 223 kB / 473.1 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003542/0.1129, allocations: 111.6 kB / 473.2 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.346e-05/0.1129, allocations: 0 / 473.2 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.144e-05/0.1129, allocations: 0 / 473.2 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001873/0.1131, allocations: 15.92 kB / 473.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.201e-05/0.1131, allocations: 4 kB / 473.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.119e-05/0.1132, allocations: 4 kB / 473.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.128e-05/0.1132, allocations: 0 / 473.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.413e-05/0.1133, allocations: 7.984 kB / 473.3 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.894e-05/0.1133, allocations: 3.984 kB / 473.3 MB, free: 13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.1133, allocations: 0 / 473.3 MB, free: 13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.1135, allocations: 23.92 kB / 473.3 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.212e-05/0.1135, allocations: 4 kB / 473.3 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.88e-05/0.1135, allocations: 29.7 kB / 473.3 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.918e-05/0.1136, allocations: 7.984 kB / 473.3 MB, free: 12.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.1136, allocations: 4 kB / 473.3 MB, free: 12.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1136, allocations: 0 / 473.3 MB, free: 12.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.1136, allocations: 0 / 473.3 MB, free: 12.93 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.0003612/0.114, allocations: 311.5 kB / 473.6 MB, free: 12.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.1141, allocations: 12.09 kB / 473.7 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.203e-05/0.1141, allocations: 0.9375 kB / 473.7 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.1143, allocations: 168.3 kB / 473.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.1143, allocations: 4.375 kB / 473.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.047e-05/0.1144, allocations: 8.359 kB / 473.8 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.1145, allocations: 30.27 kB / 473.9 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.1145, allocations: 4.125 kB / 473.9 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.1145, allocations: 3.938 kB / 473.9 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.1145, allocations: 4 kB / 473.9 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.622e-05/0.1146, allocations: 11.98 kB / 473.9 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002669/0.1148, allocations: 146 kB / 474 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002347/0.1151, allocations: 46.55 kB / 474.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.489e-05/0.1151, allocations: 12.86 kB / 474.1 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004277/0.1156, allocations: 129.1 kB / 474.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.408e-05/0.1156, allocations: 34.55 kB / 474.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.1156, allocations: 0 / 474.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.001357/0.117, allocations: 225.2 kB / 474.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.1171, allocations: 51.41 kB / 474.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.206e-05/0.1171, allocations: 97.84 kB / 474.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.1172, allocations: 25.7 kB / 474.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.884e-05/0.1172, allocations: 80.14 kB / 474.7 MB, free: 11.33 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.929e-05/0.1173, allocations: 15.8 kB / 474.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.932e-05/0.1173, allocations: 13.72 kB / 474.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.1174, allocations: 318.9 kB / 475.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.374e-05/0.1176, allocations: 27.97 kB / 475.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.785e-05/0.1176, allocations: 19.98 kB / 475.1 MB, free: 10.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/0.1178, allocations: 60.77 kB / 475.2 MB, free: 10.87 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1178, allocations: 0 / 475.2 MB, free: 10.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002317/0.1181, allocations: 85.56 kB / 475.2 MB, free: 10.78 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.1181, allocations: 11.94 kB / 475.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1181, allocations: 0 / 475.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.1181, allocations: 0 / 475.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.1183, allocations: 23.98 kB / 475.3 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.1183, allocations: 0 / 475.3 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.767e-05/0.1184, allocations: 8 kB / 475.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.1184, allocations: 3.984 kB / 475.3 MB, free: 10.73 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 0.0001046/0.1185, allocations: 110.4 kB / 475.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.653e-05/0.1185, allocations: 7.938 kB / 475.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002803/0.1188, allocations: 101.1 kB / 475.5 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.1188, allocations: 0 / 475.5 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.1189, allocations: 0 / 475.5 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.391e-06/0.1189, allocations: 320 / 475.5 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008135/0.1197, allocations: 379.2 kB / 475.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.1197, allocations: 8.031 kB / 475.9 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.532e-05/0.1198, allocations: 15.98 kB / 475.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.1198, allocations: 0 / 475.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.1198, allocations: 0 / 475.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.1198, allocations: 4 kB / 475.9 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.1198, allocations: 3.984 kB / 475.9 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002705/0.1201, allocations: 188.3 kB / 476.1 MB, free: 9.836 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.731e-05/0.1202, allocations: 85 kB / 476.2 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.1202, allocations: 4 kB / 476.2 MB, free: 9.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.846e-05/0.1203, allocations: 4 kB / 476.2 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.704e-05/0.1203, allocations: 7.984 kB / 476.2 MB, free: 9.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.1203, allocations: 8 kB / 476.2 MB, free: 9.711 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.357e-05/0.1204, allocations: 75.28 kB / 476.3 MB, free: 9.637 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1204, allocations: 0 / 476.3 MB, free: 9.637 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002267/0.1206, allocations: 8 kB / 476.3 MB, free: 9.629 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.0001371/0.1208, allocations: 99.19 kB / 476.4 MB, free: 9.523 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002974/0.1211, allocations: 67.92 kB / 476.4 MB, free: 9.457 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1211, allocations: 0 / 476.4 MB, free: 9.457 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.761e-05/0.1212, allocations: 27.98 kB / 476.5 MB, free: 9.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002176/0.1214, allocations: 7.984 kB / 476.5 MB, free: 9.422 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004829/0.1219, allocations: 173.5 kB / 476.6 MB, free: 9.215 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.1222, allocations: 0.677 MB / 477.3 MB, free: 8.512 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.224e-05/0.1223, allocations: 15.42 kB / 477.3 MB, free: 8.496 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1223, allocations: 3.938 kB / 477.3 MB, free: 8.492 MB / 350.1 MB Notification: Performance of Templates: time 0.002126/0.1244, allocations: 0.6656 MB / 478 MB, free: 7.828 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins1/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