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.001016/0.001016, allocations: 92.22 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 188 kB / 16.92 MB, free: 6.691 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.489/1.489, allocations: 205.4 MB / 223.1 MB, free: 5.234 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.3111/0.3111, allocations: 43.57 MB / 314.9 MB, free: 9.266 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.0005456/0.0005456, allocations: 12 kB / 384.6 MB, free: 7.883 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1149, allocations: 58.87 MB / 443.4 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.0007236/0.1156, allocations: 284.3 kB / 443.7 MB, free: 12.63 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000312/0.116, allocations: 69.41 kB / 443.8 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.423e-05/0.116, allocations: 0 / 443.8 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.451e-05/0.116, allocations: 0 / 443.8 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002185/0.1162, allocations: 15.91 kB / 443.8 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.62e-05/0.1163, allocations: 0 / 443.8 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.286e-05/0.1163, allocations: 8 kB / 443.8 MB, free: 12.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.449e-05/0.1164, allocations: 0 / 443.8 MB, free: 12.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.936e-05/0.1164, allocations: 8 kB / 443.8 MB, free: 12.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.733e-05/0.1165, allocations: 7.922 kB / 443.8 MB, free: 12.53 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.1165, allocations: 0 / 443.8 MB, free: 12.53 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.572e-05/0.1166, allocations: 19.98 kB / 443.8 MB, free: 12.51 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.202e-05/0.1166, allocations: 0 / 443.8 MB, free: 12.51 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.962e-05/0.1166, allocations: 29.69 kB / 443.9 MB, free: 12.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.823e-05/0.1167, allocations: 23.91 kB / 443.9 MB, free: 12.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.1167, allocations: 0 / 443.9 MB, free: 12.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1168, allocations: 0 / 443.9 MB, free: 12.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.1168, allocations: 0 / 443.9 MB, free: 12.45 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.0003281/0.1171, allocations: 323.5 kB / 444.2 MB, free: 12.08 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.1171, allocations: 8.031 kB / 444.2 MB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.452e-05/0.1172, allocations: 0.9375 kB / 444.2 MB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.1173, allocations: 172.6 kB / 444.4 MB, free: 11.87 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.1173, allocations: 4.375 kB / 444.4 MB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/0.1174, allocations: 384 / 444.4 MB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.553e-05/0.1174, allocations: 30.27 kB / 444.4 MB, free: 11.83 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.1175, allocations: 192 / 444.4 MB, free: 11.83 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.1175, allocations: 7.922 kB / 444.4 MB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.207e-06/0.1175, allocations: 4 kB / 444.4 MB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.178e-05/0.1175, allocations: 12 kB / 444.4 MB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001498/0.1177, allocations: 145.7 kB / 444.6 MB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000162/0.1178, allocations: 38.52 kB / 444.6 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.531e-05/0.1179, allocations: 16.94 kB / 444.6 MB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003428/0.1182, allocations: 125.1 kB / 444.8 MB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.1183, allocations: 30.56 kB / 444.8 MB, free: 11.37 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.81e-07/0.1183, allocations: 0 / 444.8 MB, free: 11.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.001211/0.1195, allocations: 229.5 kB / 445 MB, free: 11.14 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.1195, allocations: 55.41 kB / 445.1 MB, free: 11.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.835e-05/0.1196, allocations: 93.8 kB / 445.2 MB, free: 10.97 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.1196, allocations: 25.7 kB / 445.2 MB, free: 10.94 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.902e-05/0.1197, allocations: 80.27 kB / 445.3 MB, free: 10.86 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.889e-05/0.1197, allocations: 23.75 kB / 445.3 MB, free: 10.83 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.394e-05/0.1197, allocations: 9.719 kB / 445.3 MB, free: 10.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.893e-05/0.1198, allocations: 318.8 kB / 445.6 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.397e-05/0.1199, allocations: 19.98 kB / 445.6 MB, free: 10.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.624e-05/0.12, allocations: 23.98 kB / 445.7 MB, free: 10.45 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.1202, allocations: 60.95 kB / 445.7 MB, free: 10.39 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1202, allocations: 4 kB / 445.7 MB, free: 10.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002155/0.1204, allocations: 89.66 kB / 445.8 MB, free: 10.29 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.1204, allocations: 7.938 kB / 445.8 MB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.1204, allocations: 0 / 445.8 MB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.1205, allocations: 0 / 445.8 MB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.1206, allocations: 15.98 kB / 445.8 MB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.1206, allocations: 0 / 445.8 MB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.424e-05/0.1207, allocations: 11.98 kB / 445.8 MB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.862e-06/0.1207, allocations: 0 / 445.8 MB, free: 10.26 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 7.755e-05/0.1208, allocations: 125.7 kB / 446 MB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.071e-05/0.1208, allocations: 3.938 kB / 446 MB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002635/0.1211, allocations: 93.2 kB / 446.1 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1211, allocations: 4 kB / 446.1 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.1211, allocations: 0 / 446.1 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1211, allocations: 4 kB / 446.1 MB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006717/0.1218, allocations: 379.2 kB / 446.4 MB, free: 9.582 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.1218, allocations: 3.984 kB / 446.4 MB, free: 9.578 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.072e-05/0.1219, allocations: 12 kB / 446.5 MB, free: 9.566 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.1219, allocations: 3.984 kB / 446.5 MB, free: 9.562 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.1219, allocations: 4 kB / 446.5 MB, free: 9.559 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1219, allocations: 0 / 446.5 MB, free: 9.559 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.1219, allocations: 3.938 kB / 446.5 MB, free: 9.555 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002316/0.1222, allocations: 188.3 kB / 446.6 MB, free: 9.352 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.963e-05/0.1222, allocations: 81.11 kB / 446.7 MB, free: 9.254 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.1222, allocations: 192 / 446.7 MB, free: 9.254 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.1223, allocations: 15.98 kB / 446.7 MB, free: 9.238 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.546e-05/0.1224, allocations: 8 kB / 446.8 MB, free: 9.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.1224, allocations: 0 / 446.8 MB, free: 9.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.881e-05/0.1224, allocations: 79.28 kB / 446.8 MB, free: 9.152 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1224, allocations: 3.938 kB / 446.8 MB, free: 9.148 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002193/0.1226, allocations: 8 kB / 446.8 MB, free: 9.141 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.0001324/0.1228, allocations: 107.3 kB / 446.9 MB, free: 9.027 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002115/0.123, allocations: 63.84 kB / 447 MB, free: 8.965 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.123, allocations: 3.938 kB / 447 MB, free: 8.961 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.391e-05/0.1231, allocations: 27.97 kB / 447 MB, free: 8.934 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/0.1233, allocations: 12 kB / 447.1 MB, free: 8.922 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003821/0.1237, allocations: 143.5 kB / 447.2 MB, free: 8.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002051/0.1239, allocations: 0.677 MB / 447.9 MB, free: 8.047 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.525e-05/0.124, allocations: 8 kB / 447.9 MB, free: 8.039 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.868e-05/0.124, allocations: 11.44 kB / 447.9 MB, free: 8.031 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.124, allocations: 0 / 447.9 MB, free: 8.031 MB / 382.1 MB Notification: Performance of Templates: time 0.002439/0.1264, allocations: 0.6315 MB / 448.5 MB, free: 7.402 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