Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009427/0.0009427, allocations: 95.09 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00109/0.00109, allocations: 207 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.323/1.323, allocations: 227.7 MB / 247.5 MB, free: 11.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1941/0.1941, allocations: 46.18 MB / 345.9 MB, free: 11.36 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002797/0.0002797, allocations: 8 kB / 420.2 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1043, allocations: 63.56 MB / 483.7 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.0005809/0.1049, allocations: 223 kB / 483.9 MB, free: 3.938 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003323/0.1052, allocations: 110.2 kB / 484.1 MB, free: 3.832 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.345e-05/0.1053, allocations: 0 / 484.1 MB, free: 3.832 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.124e-05/0.1053, allocations: 0 / 484.1 MB, free: 3.832 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001871/0.1055, allocations: 19.92 kB / 484.1 MB, free: 3.812 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.56e-05/0.1055, allocations: 0 / 484.1 MB, free: 3.812 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.102e-05/0.1056, allocations: 8 kB / 484.1 MB, free: 3.805 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.556e-05/0.1056, allocations: 0 / 484.1 MB, free: 3.805 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.75e-05/0.1056, allocations: 4 kB / 484.1 MB, free: 3.801 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.693e-05/0.1057, allocations: 11.88 kB / 484.1 MB, free: 3.789 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.908e-06/0.1057, allocations: 0 / 484.1 MB, free: 3.789 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.718e-05/0.1058, allocations: 23.97 kB / 484.1 MB, free: 3.766 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.189e-05/0.1058, allocations: 3.984 kB / 484.1 MB, free: 3.762 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.793e-05/0.1058, allocations: 29.64 kB / 484.1 MB, free: 3.727 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.781e-05/0.1059, allocations: 7.984 kB / 484.2 MB, free: 3.719 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.1059, allocations: 8 kB / 484.2 MB, free: 3.711 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1059, allocations: 0 / 484.2 MB, free: 3.711 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.1059, allocations: 0 / 484.2 MB, free: 3.711 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.0002798/0.1062, allocations: 319.6 kB / 484.5 MB, free: 3.348 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.1063, allocations: 8.875 kB / 484.5 MB, free: 3.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.976e-05/0.1063, allocations: 0.9375 kB / 484.5 MB, free: 3.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.1064, allocations: 164.3 kB / 484.6 MB, free: 3.141 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.1064, allocations: 4.375 kB / 484.7 MB, free: 3.137 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.1065, allocations: 384 / 484.7 MB, free: 3.137 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.122e-05/0.1066, allocations: 38.25 kB / 484.7 MB, free: 3.094 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.487e-06/0.1066, allocations: 192 / 484.7 MB, free: 3.094 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.1066, allocations: 3.938 kB / 484.7 MB, free: 3.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1066, allocations: 0 / 484.7 MB, free: 3.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.782e-05/0.1066, allocations: 11.94 kB / 484.7 MB, free: 3.078 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001567/0.1068, allocations: 154 kB / 484.9 MB, free: 2.879 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.107, allocations: 38.61 kB / 484.9 MB, free: 2.832 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.792e-05/0.107, allocations: 8.859 kB / 484.9 MB, free: 2.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003681/0.1074, allocations: 129.1 kB / 485 MB, free: 2.676 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.1074, allocations: 34.56 kB / 485.1 MB, free: 2.633 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1074, allocations: 0 / 485.1 MB, free: 2.633 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.001256/0.1087, allocations: 221.2 kB / 485.3 MB, free: 2.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.181e-05/0.1088, allocations: 51.41 kB / 485.3 MB, free: 2.348 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.285e-05/0.1088, allocations: 97.86 kB / 485.4 MB, free: 2.242 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.1088, allocations: 25.7 kB / 485.4 MB, free: 2.211 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.321e-05/0.1089, allocations: 80.14 kB / 485.5 MB, free: 2.129 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.102e-05/0.1089, allocations: 11.92 kB / 485.5 MB, free: 2.117 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.82e-05/0.109, allocations: 21.72 kB / 485.6 MB, free: 2.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.341e-05/0.1091, allocations: 314.8 kB / 485.9 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.453e-05/0.1091, allocations: 23.98 kB / 485.9 MB, free: 1.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.852e-05/0.1092, allocations: 23.98 kB / 485.9 MB, free: 1.727 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001685/0.1094, allocations: 52.83 kB / 486 MB, free: 1.672 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1094, allocations: 0 / 486 MB, free: 1.672 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002148/0.1096, allocations: 85.84 kB / 486 MB, free: 1.582 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.1097, allocations: 18.44 kB / 486.1 MB, free: 1.566 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1097, allocations: 0 / 486.1 MB, free: 1.566 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.1097, allocations: 0 / 486.1 MB, free: 1.566 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.1098, allocations: 23.86 kB / 486.1 MB, free: 1.543 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.1098, allocations: 0 / 486.1 MB, free: 1.543 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.935e-05/0.1099, allocations: 11.98 kB / 486.1 MB, free: 1.531 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.1099, allocations: 0 / 486.1 MB, free: 1.531 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 7.901e-05/0.11, allocations: 113.8 kB / 486.2 MB, free: 1.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.809e-05/0.1101, allocations: 15.84 kB / 486.2 MB, free: 1.395 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002645/0.1103, allocations: 97.14 kB / 486.3 MB, free: 1.297 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.1103, allocations: 0 / 486.3 MB, free: 1.297 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1103, allocations: 4 kB / 486.3 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.1104, allocations: 288 / 486.3 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007325/0.1111, allocations: 387.2 kB / 486.7 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1111, allocations: 0 / 486.7 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.665e-05/0.1112, allocations: 19.92 kB / 486.7 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.1112, allocations: 0 / 486.7 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/0.1112, allocations: 0 / 486.7 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.1112, allocations: 4 kB / 486.7 MB, free: 0.832 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.1112, allocations: 0 / 486.7 MB, free: 0.832 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002611/0.1115, allocations: 188.3 kB / 486.9 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.699e-05/0.1116, allocations: 81.02 kB / 487 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.1116, allocations: 4 kB / 487 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.1117, allocations: 12.17 kB / 487 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.714e-05/0.1117, allocations: 4 kB / 487 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.625e-06/0.1117, allocations: 4 kB / 487 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.958e-05/0.1118, allocations: 79.27 kB / 487.1 MB, free: 440 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1118, allocations: 4 kB / 487.1 MB, free: 436 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002342/0.112, allocations: 8 kB / 487.1 MB, free: 428 kB / 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.0001423/0.1122, allocations: 103.7 kB / 487.2 MB, free: 312 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002166/0.1124, allocations: 59.98 kB / 487.3 MB, free: 252 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1124, allocations: 0 / 487.3 MB, free: 252 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.493e-05/0.1125, allocations: 31.92 kB / 487.3 MB, free: 220 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/0.1127, allocations: 8 kB / 487.3 MB, free: 212 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000428/0.1131, allocations: 169.3 kB / 487.5 MB, free: 4 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.1135, allocations: 0.677 MB / 488.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.326e-05/0.1135, allocations: 11.44 kB / 488.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1135, allocations: 0 / 488.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of Templates: time 0.002059/0.1156, allocations: 0.6662 MB / 488.8 MB, free: 14.62 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches