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.000873/0.0008729, allocations: 96.31 kB / 17.35 MB, free: 6.344 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.0009187/0.0009191, allocations: 168.5 kB / 18.25 MB, free: 5.508 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.316/1.316, allocations: 223.3 MB / 242.3 MB, free: 208 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.1941/0.1941, allocations: 44.25 MB / 337.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002969/0.0002969, allocations: 8 kB / 410.3 MB, free: 27.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1064, allocations: 61.93 MB / 472.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.0005768/0.107, allocations: 222.8 kB / 472.5 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000338/0.1073, allocations: 99.64 kB / 472.6 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.398e-05/0.1074, allocations: 4 kB / 472.6 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.429e-05/0.1074, allocations: 0 / 472.6 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001892/0.1076, allocations: 15.92 kB / 472.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.699e-05/0.1076, allocations: 7.938 kB / 472.6 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.635e-05/0.1076, allocations: 0 / 472.6 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.706e-05/0.1077, allocations: 7.984 kB / 472.6 MB, free: 13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.742e-05/0.1077, allocations: 0 / 472.6 MB, free: 13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.743e-05/0.1078, allocations: 4 kB / 472.6 MB, free: 13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.1078, allocations: 4 kB / 472.6 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.412e-05/0.1079, allocations: 23.92 kB / 472.6 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.273e-05/0.1079, allocations: 7.969 kB / 472.6 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.965e-05/0.1079, allocations: 29.7 kB / 472.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.194e-05/0.108, allocations: 15.92 kB / 472.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.108, allocations: 0 / 472.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.108, allocations: 0 / 472.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.566e-06/0.108, allocations: 0 / 472.7 MB, free: 12.91 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.0002954/0.1083, allocations: 315.5 kB / 473 MB, free: 12.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.1084, allocations: 16.09 kB / 473 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.482e-05/0.1084, allocations: 0.9375 kB / 473 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.1085, allocations: 164.3 kB / 473.2 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.1086, allocations: 384 / 473.2 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/0.1086, allocations: 4.375 kB / 473.2 MB, free: 12.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.653e-05/0.1087, allocations: 38.25 kB / 473.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.1087, allocations: 192 / 473.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.1087, allocations: 3.938 kB / 473.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1087, allocations: 0 / 473.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.195e-05/0.1088, allocations: 4 kB / 473.2 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001525/0.1089, allocations: 158 kB / 473.4 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001668/0.1091, allocations: 42.53 kB / 473.4 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.734e-05/0.1091, allocations: 8.859 kB / 473.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003657/0.1095, allocations: 133.1 kB / 473.6 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.1095, allocations: 34.56 kB / 473.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1095, allocations: 0 / 473.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.001278/0.1108, allocations: 225.2 kB / 473.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/0.1109, allocations: 51.41 kB / 473.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.514e-05/0.1109, allocations: 93.86 kB / 474 MB, free: 11.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.111, allocations: 29.7 kB / 474 MB, free: 11.4 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.348e-05/0.111, allocations: 80.14 kB / 474.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.87e-05/0.111, allocations: 19.78 kB / 474.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.496e-05/0.1111, allocations: 17.84 kB / 474.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.365e-05/0.1112, allocations: 310.8 kB / 474.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.724e-05/0.1112, allocations: 19.98 kB / 474.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.757e-05/0.1113, allocations: 27.97 kB / 474.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/0.1115, allocations: 56.78 kB / 474.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1115, allocations: 0 / 474.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002034/0.1117, allocations: 89.5 kB / 474.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.1117, allocations: 11.94 kB / 474.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.1118, allocations: 7.938 kB / 474.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.1118, allocations: 0 / 474.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.1119, allocations: 15.98 kB / 474.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.1119, allocations: 0 / 474.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.702e-05/0.112, allocations: 7.984 kB / 474.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.112, allocations: 4 kB / 474.6 MB, free: 10.71 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.0001036/0.1121, allocations: 114.4 kB / 474.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.302e-05/0.1122, allocations: 11.94 kB / 474.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002547/0.1124, allocations: 97.14 kB / 474.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.1124, allocations: 0 / 474.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1124, allocations: 4 kB / 474.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.1124, allocations: 0 / 474.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000697/0.1131, allocations: 375.3 kB / 475.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1132, allocations: 4 kB / 475.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.521e-05/0.1133, allocations: 15.98 kB / 475.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.1133, allocations: 0 / 475.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.1133, allocations: 320 / 475.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.1133, allocations: 4 kB / 475.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1133, allocations: 4 kB / 475.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002357/0.1135, allocations: 192.3 kB / 475.4 MB, free: 9.816 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.235e-05/0.1136, allocations: 81.02 kB / 475.5 MB, free: 9.719 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/0.1136, allocations: 0 / 475.5 MB, free: 9.719 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.1137, allocations: 15.98 kB / 475.5 MB, free: 9.703 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.454e-05/0.1137, allocations: 0 / 475.5 MB, free: 9.703 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.1137, allocations: 4 kB / 475.5 MB, free: 9.699 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.052e-05/0.1138, allocations: 79.27 kB / 475.6 MB, free: 9.621 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1138, allocations: 0 / 475.6 MB, free: 9.621 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002264/0.114, allocations: 12 kB / 475.6 MB, free: 9.609 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.0001198/0.1141, allocations: 99.19 kB / 475.7 MB, free: 9.504 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002093/0.1144, allocations: 63.92 kB / 475.8 MB, free: 9.441 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.1144, allocations: 4 kB / 475.8 MB, free: 9.438 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.297e-05/0.1145, allocations: 23.98 kB / 475.8 MB, free: 9.414 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002081/0.1147, allocations: 8 kB / 475.8 MB, free: 9.406 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003767/0.1151, allocations: 143.8 kB / 476 MB, free: 9.234 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002036/0.1153, allocations: 0.6809 MB / 476.6 MB, free: 8.527 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.669e-05/0.1153, allocations: 8 kB / 476.7 MB, free: 8.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.85e-05/0.1154, allocations: 11.44 kB / 476.7 MB, free: 8.508 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1154, allocations: 0 / 476.7 MB, free: 8.508 MB / 350.1 MB Notification: Performance of Templates: time 0.00253/0.1179, allocations: 0.6352 MB / 477.3 MB, free: 7.875 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