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.001283/0.001283, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001296/0.001296, allocations: 194 kB / 18.77 MB, free: 4.742 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.362/1.362, allocations: 222.9 MB / 242.5 MB, free: 15.43 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.214/0.214, allocations: 44.17 MB / 336.8 MB, free: 3.004 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 67.27 kB / 408.3 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1146, allocations: 60.83 MB / 469.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001909/0.1166, allocations: 0.5565 MB / 469.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000382/0.117, allocations: 114.1 kB / 469.8 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.711e-05/0.117, allocations: 0 / 469.8 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.857e-05/0.117, allocations: 0 / 469.8 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002096/0.1173, allocations: 12 kB / 469.9 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.931e-05/0.1173, allocations: 0 / 469.9 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.722e-05/0.1174, allocations: 11.92 kB / 469.9 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.522e-05/0.1174, allocations: 0 / 469.9 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.881e-05/0.1174, allocations: 4 kB / 469.9 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.401e-05/0.1175, allocations: 4 kB / 469.9 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.1175, allocations: 3.938 kB / 469.9 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.425e-05/0.1176, allocations: 27.97 kB / 469.9 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.289e-05/0.1176, allocations: 3.984 kB / 469.9 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.912e-05/0.1177, allocations: 0 / 469.9 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.405e-05/0.1177, allocations: 11.98 kB / 469.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1177, allocations: 0 / 469.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1178, allocations: 0 / 469.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.1178, allocations: 0 / 469.9 MB, free: 14.11 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.0004312/0.1182, allocations: 315.6 kB / 470.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.1182, allocations: 8.031 kB / 470.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.92e-05/0.1183, allocations: 12.92 kB / 470.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.1184, allocations: 160.4 kB / 470.4 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.1184, allocations: 384 / 470.4 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.1185, allocations: 384 / 470.4 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.802e-05/0.1186, allocations: 50.11 kB / 470.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.1186, allocations: 4.188 kB / 470.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.1186, allocations: 3.938 kB / 470.5 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.1186, allocations: 0 / 470.5 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.51e-05/0.1186, allocations: 4 kB / 470.5 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001706/0.1188, allocations: 158 kB / 470.6 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002044/0.119, allocations: 38.45 kB / 470.7 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.506e-05/0.1191, allocations: 12.94 kB / 470.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000382/0.1195, allocations: 113.1 kB / 470.8 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.1195, allocations: 38.56 kB / 470.8 MB, free: 13.03 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1195, allocations: 0 / 470.8 MB, free: 13.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.001405/0.1209, allocations: 189.2 kB / 471 MB, free: 12.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.121, allocations: 55.41 kB / 471.1 MB, free: 12.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.145e-05/0.1211, allocations: 93.86 kB / 471.2 MB, free: 12.67 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.1211, allocations: 25.7 kB / 471.2 MB, free: 12.64 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.421e-05/0.1211, allocations: 80.14 kB / 471.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.407e-05/0.1212, allocations: 19.8 kB / 471.3 MB, free: 12.54 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.333e-05/0.1212, allocations: 21.7 kB / 471.3 MB, free: 12.51 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.1214, allocations: 314.8 kB / 471.6 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.444e-05/0.1215, allocations: 15.98 kB / 471.6 MB, free: 12.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.21e-05/0.1216, allocations: 28.09 kB / 471.6 MB, free: 12.15 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.1217, allocations: 40.84 kB / 471.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1217, allocations: 0 / 471.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002023/0.1219, allocations: 81.59 kB / 471.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.122, allocations: 7.938 kB / 471.8 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.122, allocations: 0 / 471.8 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.122, allocations: 4 kB / 471.8 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.1221, allocations: 16.23 kB / 471.8 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.1222, allocations: 0 / 471.8 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.45e-05/0.1223, allocations: 11.98 kB / 471.8 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.1223, allocations: 4 kB / 471.8 MB, free: 11.98 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.18e-05/0.1224, allocations: 106.4 kB / 471.9 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.609e-05/0.1224, allocations: 7.844 kB / 471.9 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002669/0.1227, allocations: 101.1 kB / 472 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.1227, allocations: 0 / 472 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.1227, allocations: 0 / 472 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1227, allocations: 3.938 kB / 472 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007581/0.1234, allocations: 359.3 kB / 472.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1235, allocations: 0 / 472.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.844e-05/0.1236, allocations: 11.98 kB / 472.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.1236, allocations: 4 kB / 472.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.1236, allocations: 0 / 472.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.1236, allocations: 0 / 472.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1236, allocations: 0 / 472.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002518/0.1239, allocations: 188.3 kB / 472.6 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.124, allocations: 77.44 kB / 472.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.124, allocations: 0 / 472.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.1241, allocations: 7.984 kB / 472.7 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.043e-05/0.1241, allocations: 11.94 kB / 472.7 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.1242, allocations: 3.984 kB / 472.7 MB, free: 11 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.402e-05/0.1242, allocations: 83.27 kB / 472.8 MB, free: 10.92 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1242, allocations: 4.094 kB / 472.8 MB, free: 10.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000227/0.1244, allocations: 8 kB / 472.8 MB, free: 10.91 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.0001343/0.1246, allocations: 99.19 kB / 472.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002326/0.1248, allocations: 55.83 kB / 472.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1248, allocations: 0 / 472.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.2e-05/0.1249, allocations: 23.98 kB / 472.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002062/0.1251, allocations: 4.062 kB / 472.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004195/0.1256, allocations: 165.6 kB / 473.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004015/0.126, allocations: 0.6809 MB / 473.8 MB, free: 9.812 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.467e-05/0.126, allocations: 11.38 kB / 473.8 MB, free: 9.801 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.126, allocations: 0 / 473.8 MB, free: 9.801 MB / 350.1 MB Notification: Performance of Templates: time 0.002357/0.1284, allocations: 0.6713 MB / 474.5 MB, free: 9.129 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