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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008262/0.0008262, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003209/0.003209, allocations: 162 kB / 24.7 MB, free: 9.426 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8843/0.8843, allocations: 177.1 MB / 205 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.267/0.267, allocations: 32.79 MB / 294.2 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 440.8 MB, free: 3.773 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.205e-05/2.348e-05, allocations: 6.219 kB / 440.8 MB, free: 3.766 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.0009751/0.0009986, allocations: 0.4915 MB / 441.3 MB, free: 3.277 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002624/0.001261, allocations: 99.66 kB / 441.4 MB, free: 3.18 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.457e-05/0.001286, allocations: 0 / 441.4 MB, free: 3.18 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.427e-05/0.0013, allocations: 0 / 441.4 MB, free: 3.18 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002282/0.001528, allocations: 19.86 kB / 441.4 MB, free: 3.16 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.555e-05/0.001544, allocations: 0 / 441.4 MB, free: 3.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.793e-05/0.001601, allocations: 7.984 kB / 441.4 MB, free: 3.152 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.529e-05/0.001647, allocations: 0 / 441.4 MB, free: 3.152 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.124e-05/0.001678, allocations: 7.984 kB / 441.5 MB, free: 3.145 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.139e-05/0.001719, allocations: 3.938 kB / 441.5 MB, free: 3.141 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.001734, allocations: 0 / 441.5 MB, free: 3.141 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.497e-05/0.001809, allocations: 31.91 kB / 441.5 MB, free: 3.109 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.349e-05/0.001823, allocations: 4 kB / 441.5 MB, free: 3.105 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.216e-05/0.001835, allocations: 0 / 441.5 MB, free: 3.105 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 8.348e-05/0.001918, allocations: 23.91 kB / 441.5 MB, free: 3.082 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.001921, allocations: 0 / 441.5 MB, free: 3.082 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.001922, allocations: 0 / 441.5 MB, free: 3.082 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.001926, allocations: 4 kB / 441.5 MB, free: 3.078 MB / 410.7 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.0002462/0.002172, allocations: 238.4 kB / 441.8 MB, free: 2.812 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.002205, allocations: 8.031 kB / 441.8 MB, free: 2.805 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.165e-05/0.002237, allocations: 8.891 kB / 441.8 MB, free: 2.797 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.132e-05/0.002308, allocations: 105.8 kB / 441.9 MB, free: 2.668 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.002319, allocations: 8.359 kB / 441.9 MB, free: 2.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.00234, allocations: 4.375 kB / 441.9 MB, free: 2.656 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.967e-05/0.00242, allocations: 30.27 kB / 441.9 MB, free: 2.621 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.00243, allocations: 4.125 kB / 441.9 MB, free: 2.617 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.002439, allocations: 4.375 kB / 441.9 MB, free: 2.613 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.002444, allocations: 384 / 441.9 MB, free: 2.613 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.545e-05/0.00248, allocations: 15.86 kB / 441.9 MB, free: 2.598 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000111/0.002591, allocations: 101.3 kB / 442 MB, free: 2.469 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001734/0.002764, allocations: 38.59 kB / 442.1 MB, free: 2.422 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.256e-05/0.002786, allocations: 16.86 kB / 442.1 MB, free: 2.402 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002075/0.002994, allocations: 40.03 kB / 442.1 MB, free: 2.363 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.657e-05/0.003011, allocations: 30.56 kB / 442.2 MB, free: 2.324 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.003011, allocations: 0 / 442.2 MB, free: 2.324 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006665/0.003678, allocations: 189.3 kB / 442.3 MB, free: 2.133 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.003708, allocations: 55.34 kB / 442.4 MB, free: 2.066 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.803e-05/0.003756, allocations: 93.86 kB / 442.5 MB, free: 1.965 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.003767, allocations: 25.7 kB / 442.5 MB, free: 1.934 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.879e-05/0.003786, allocations: 80.14 kB / 442.6 MB, free: 1.852 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.667e-05/0.003813, allocations: 19.89 kB / 442.6 MB, free: 1.832 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.786e-05/0.00384, allocations: 17.72 kB / 442.6 MB, free: 1.809 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.019e-05/0.003911, allocations: 310.8 kB / 442.9 MB, free: 1.496 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.36e-05/0.003954, allocations: 28.05 kB / 443 MB, free: 1.469 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.674e-05/0.003991, allocations: 19.97 kB / 443 MB, free: 1.449 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.89e-05/0.00407, allocations: 49.02 kB / 443 MB, free: 1.398 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.004071, allocations: 4 kB / 443 MB, free: 1.395 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001027/0.004174, allocations: 69.67 kB / 443.1 MB, free: 1.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.004185, allocations: 4 kB / 443.1 MB, free: 1.316 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.00419, allocations: 0 / 443.1 MB, free: 1.316 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.004202, allocations: 7.984 kB / 443.1 MB, free: 1.309 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.996e-05/0.004262, allocations: 19.92 kB / 443.1 MB, free: 1.289 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.004267, allocations: 3.938 kB / 443.1 MB, free: 1.285 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.149e-05/0.004299, allocations: 4 kB / 443.1 MB, free: 1.281 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.004304, allocations: 0 / 443.1 MB, free: 1.281 MB / 410.7 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 5.138e-05/0.004356, allocations: 118.5 kB / 443.3 MB, free: 1.156 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.891e-06/0.004361, allocations: 3.953 kB / 443.3 MB, free: 1.152 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001615/0.004523, allocations: 89.31 kB / 443.3 MB, free: 1.055 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.004525, allocations: 0 / 443.3 MB, free: 1.055 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.00453, allocations: 3.938 kB / 443.3 MB, free: 1.051 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.004533, allocations: 3.984 kB / 443.4 MB, free: 1.047 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003558/0.004889, allocations: 295 kB / 443.6 MB, free: 0.7188 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.004891, allocations: 0 / 443.6 MB, free: 0.7188 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.733e-05/0.004928, allocations: 16.02 kB / 443.7 MB, free: 0.7031 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.00493, allocations: 7.938 kB / 443.7 MB, free: 0.6953 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.004938, allocations: 3.938 kB / 443.7 MB, free: 0.6914 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.00494, allocations: 3.938 kB / 443.7 MB, free: 0.6875 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.004941, allocations: 3.938 kB / 443.7 MB, free: 0.6836 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000122/0.005063, allocations: 176.5 kB / 443.8 MB, free: 0.4922 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.587e-06/0.005067, allocations: 64 / 443.8 MB, free: 0.4922 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.005081, allocations: 11.94 kB / 443.9 MB, free: 492 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.417e-05/0.005125, allocations: 7.984 kB / 443.9 MB, free: 484 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.333e-05/0.005138, allocations: 7.984 kB / 443.9 MB, free: 476 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.005143, allocations: 4 kB / 443.9 MB, free: 472 kB / 410.7 MB Notification: Performance of sorting global known variables: time 2.146e-05/0.005165, allocations: 79.28 kB / 444 MB, free: 392 kB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005165, allocations: 0 / 444 MB, free: 392 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001502/0.005315, allocations: 8 kB / 444 MB, free: 384 kB / 410.7 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.0001055/0.005421, allocations: 103.1 kB / 444.1 MB, free: 272 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001268/0.005547, allocations: 47.95 kB / 444.1 MB, free: 224 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.005549, allocations: 4.094 kB / 444.1 MB, free: 220 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.687e-05/0.005586, allocations: 23.92 kB / 444.1 MB, free: 196 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000143/0.005729, allocations: 7.938 kB / 444.1 MB, free: 188 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1461/0.1518, allocations: 164.8 kB / 444.3 MB, free: 46.34 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.206e-05/0.1519, allocations: 59.45 kB / 444.4 MB, free: 46.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.259e-05/0.1519, allocations: 16.69 kB / 444.4 MB, free: 46.27 MB / 410.7 MB Notification: Performance of SimCode: time 1.002e-06/0.1519, allocations: 0 / 444.4 MB, free: 46.27 MB / 410.7 MB Notification: Performance of Templates: time 0.001454/0.1534, allocations: 0.6827 MB / 445.1 MB, free: 46.26 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.353644267655909]