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.001871/0.001871, allocations: 105.7 kB / 17.98 MB, free: 5.215 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002205/0.002205, allocations: 213.8 kB / 18.92 MB, free: 4.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 227.4 MB / 247.1 MB, free: 10.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3873/0.3873, allocations: 46.13 MB / 344.5 MB, free: 11.7 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002265/0.002265, allocations: 79.86 kB / 417.8 MB, free: 7.371 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1263, allocations: 62.45 MB / 480.2 MB, free: 8.871 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.00182/0.1282, allocations: 0.5594 MB / 480.8 MB, free: 8.309 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003161/0.1285, allocations: 103.6 kB / 480.9 MB, free: 8.207 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.58e-05/0.1286, allocations: 0 / 480.9 MB, free: 8.207 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.684e-05/0.1286, allocations: 3.938 kB / 480.9 MB, free: 8.203 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002054/0.1288, allocations: 8 kB / 480.9 MB, free: 8.195 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.737e-05/0.1288, allocations: 4 kB / 480.9 MB, free: 8.191 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.066e-05/0.1289, allocations: 11.98 kB / 480.9 MB, free: 8.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.371e-05/0.1289, allocations: 7.984 kB / 480.9 MB, free: 8.172 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.608e-05/0.129, allocations: 0 / 480.9 MB, free: 8.172 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.093e-05/0.129, allocations: 7.875 kB / 480.9 MB, free: 8.164 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.129, allocations: 4 kB / 480.9 MB, free: 8.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.981e-05/0.1291, allocations: 19.97 kB / 480.9 MB, free: 8.141 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.142e-05/0.1291, allocations: 4 kB / 480.9 MB, free: 8.137 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.725e-05/0.1291, allocations: 4 kB / 480.9 MB, free: 8.133 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 6.88e-05/0.1292, allocations: 7.984 kB / 481 MB, free: 8.125 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.1292, allocations: 0 / 481 MB, free: 8.125 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1292, allocations: 4 kB / 481 MB, free: 8.121 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1292, allocations: 0 / 481 MB, free: 8.121 MB / 398.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.0003555/0.1296, allocations: 319.5 kB / 481.3 MB, free: 7.758 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.1296, allocations: 19.95 kB / 481.3 MB, free: 7.738 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.081e-05/0.1297, allocations: 0.9375 kB / 481.3 MB, free: 7.738 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.1298, allocations: 168.4 kB / 481.5 MB, free: 7.535 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.1299, allocations: 384 / 481.5 MB, free: 7.535 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.99e-05/0.1299, allocations: 4.375 kB / 481.5 MB, free: 7.531 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.13, allocations: 38.25 kB / 481.5 MB, free: 7.488 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.13, allocations: 4.188 kB / 481.5 MB, free: 7.484 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.13, allocations: 3.938 kB / 481.5 MB, free: 7.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.13, allocations: 0 / 481.5 MB, free: 7.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.374e-05/0.1301, allocations: 7.938 kB / 481.5 MB, free: 7.473 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001844/0.1303, allocations: 154 kB / 481.7 MB, free: 7.273 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.1304, allocations: 38.61 kB / 481.7 MB, free: 7.227 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.851e-05/0.1305, allocations: 8.859 kB / 481.7 MB, free: 7.215 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003504/0.1308, allocations: 113.2 kB / 481.8 MB, free: 7.086 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.1309, allocations: 34.55 kB / 481.9 MB, free: 7.043 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 2.915e-06/0.1309, allocations: 0 / 481.9 MB, free: 7.043 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.001328/0.1322, allocations: 193.2 kB / 482 MB, free: 6.848 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.1323, allocations: 51.41 kB / 482.1 MB, free: 6.785 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.984e-05/0.1324, allocations: 97.8 kB / 482.2 MB, free: 6.68 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.1324, allocations: 29.7 kB / 482.2 MB, free: 6.645 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.196e-05/0.1324, allocations: 80.14 kB / 482.3 MB, free: 6.562 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.66e-05/0.1325, allocations: 7.812 kB / 482.3 MB, free: 6.555 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.519e-05/0.1325, allocations: 33.77 kB / 482.3 MB, free: 6.516 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.1326, allocations: 314.8 kB / 482.6 MB, free: 6.199 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.923e-05/0.1327, allocations: 15.98 kB / 482.7 MB, free: 6.184 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.874e-05/0.1328, allocations: 23.97 kB / 482.7 MB, free: 6.16 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.133, allocations: 44.83 kB / 482.7 MB, free: 6.113 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.133, allocations: 0 / 482.7 MB, free: 6.113 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001945/0.1332, allocations: 73.67 kB / 482.8 MB, free: 6.035 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.1332, allocations: 11.94 kB / 482.8 MB, free: 6.023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.1332, allocations: 0 / 482.8 MB, free: 6.023 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.1332, allocations: 3.938 kB / 482.8 MB, free: 6.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.1334, allocations: 15.98 kB / 482.8 MB, free: 6.004 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.1334, allocations: 0 / 482.8 MB, free: 6.004 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.922e-05/0.1335, allocations: 8.234 kB / 482.8 MB, free: 5.996 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.1335, allocations: 4 kB / 482.8 MB, free: 5.992 MB / 398.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.251e-05/0.1336, allocations: 113.8 kB / 483 MB, free: 5.871 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.494e-05/0.1336, allocations: 11.94 kB / 483 MB, free: 5.859 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002575/0.1339, allocations: 85.2 kB / 483 MB, free: 5.773 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1339, allocations: 0 / 483 MB, free: 5.773 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.1339, allocations: 0 / 483 MB, free: 5.773 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.1339, allocations: 11.94 kB / 483.1 MB, free: 5.762 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007286/0.1346, allocations: 355.2 kB / 483.4 MB, free: 5.355 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1347, allocations: 336 / 483.4 MB, free: 5.355 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.1348, allocations: 19.92 kB / 483.4 MB, free: 5.336 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1348, allocations: 0 / 483.4 MB, free: 5.336 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.186e-06/0.1348, allocations: 0 / 483.4 MB, free: 5.336 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.1348, allocations: 8.031 kB / 483.4 MB, free: 5.328 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1348, allocations: 0 / 483.4 MB, free: 5.328 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002511/0.1351, allocations: 180.3 kB / 483.6 MB, free: 5.133 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.395e-05/0.1351, allocations: 81.11 kB / 483.7 MB, free: 5.035 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.1351, allocations: 0 / 483.7 MB, free: 5.035 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.1353, allocations: 11.98 kB / 483.7 MB, free: 5.023 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.509e-05/0.1353, allocations: 3.938 kB / 483.7 MB, free: 5.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.1353, allocations: 7.984 kB / 483.7 MB, free: 5.012 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.145e-05/0.1353, allocations: 75.28 kB / 483.8 MB, free: 4.938 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1354, allocations: 0 / 483.8 MB, free: 4.938 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002319/0.1356, allocations: 12 kB / 483.8 MB, free: 4.926 MB / 398.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.0001405/0.1357, allocations: 99.72 kB / 483.9 MB, free: 4.82 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002377/0.136, allocations: 55.98 kB / 484 MB, free: 4.766 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.136, allocations: 0 / 484 MB, free: 4.766 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.724e-05/0.1361, allocations: 23.92 kB / 484 MB, free: 4.742 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002114/0.1363, allocations: 4 kB / 484 MB, free: 4.738 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004323/0.1367, allocations: 183.4 kB / 484.2 MB, free: 4.523 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.137, allocations: 0.6729 MB / 484.8 MB, free: 3.824 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.503e-05/0.1371, allocations: 11.44 kB / 484.8 MB, free: 3.812 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1371, allocations: 0 / 484.8 MB, free: 3.812 MB / 398.1 MB Notification: Performance of Templates: time 0.002349/0.1394, allocations: 0.6664 MB / 485.5 MB, free: 3.148 MB / 398.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