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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001721/0.002862, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001548/0.002562, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8488/0.8488, allocations: 173.4 MB / 186 MB, free: 7.539 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1455/0.9943, allocations: 52.5 MB / 238.5 MB, free: 7.621 MB / 234.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.1516/0.1516, allocations: 32.8 MB / 272 MB, free: 6.297 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02077/0.1723, allocations: 12.53 MB / 284.5 MB, free: 9.719 MB / 282.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.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=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.142e-06/1.142e-06, allocations: 0 / 285.8 MB, free: 8.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.52e-05/1.634e-05, allocations: 2.312 kB / 285.8 MB, free: 8.441 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001353/0.001369, allocations: 0.5653 MB / 286.4 MB, free: 7.883 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001458/0.001515, allocations: 107.6 kB / 286.5 MB, free: 7.777 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.784e-05/0.001533, allocations: 0 / 286.5 MB, free: 7.777 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.847e-06/0.001536, allocations: 0 / 286.5 MB, free: 7.777 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.928e-05/0.001616, allocations: 15.92 kB / 286.5 MB, free: 7.762 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.241e-05/0.001628, allocations: 3.938 kB / 286.5 MB, free: 7.758 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 3.924e-05/0.001667, allocations: 7.984 kB / 286.5 MB, free: 7.75 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.283e-05/0.0017, allocations: 3.984 kB / 286.5 MB, free: 7.746 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.637e-05/0.001737, allocations: 11.94 kB / 286.5 MB, free: 7.734 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.09e-05/0.001777, allocations: 0 / 286.5 MB, free: 7.734 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.071e-05/0.001788, allocations: 4 kB / 286.5 MB, free: 7.73 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.783e-05/0.001866, allocations: 19.98 kB / 286.6 MB, free: 7.711 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.109e-05/0.001877, allocations: 4 kB / 286.6 MB, free: 7.707 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.408e-06/0.001886, allocations: 3.938 kB / 286.6 MB, free: 7.703 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 7.072e-05/0.001957, allocations: 15.92 kB / 286.6 MB, free: 7.688 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.033e-05/0.001968, allocations: 3.984 kB / 286.6 MB, free: 7.684 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.001968, allocations: 0 / 286.6 MB, free: 7.684 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.001977, allocations: 4 kB / 286.6 MB, free: 7.68 MB / 282.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.0002176/0.002194, allocations: 216.7 kB / 286.8 MB, free: 7.441 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.601e-05/0.00222, allocations: 8.031 kB / 286.8 MB, free: 7.434 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.305e-05/0.002243, allocations: 4.922 kB / 286.8 MB, free: 7.43 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.659e-05/0.00231, allocations: 113.8 kB / 286.9 MB, free: 7.293 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.865e-06/0.002318, allocations: 384 / 286.9 MB, free: 7.293 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.002336, allocations: 384 / 286.9 MB, free: 7.293 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.429e-05/0.002401, allocations: 38.23 kB / 287 MB, free: 7.25 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.002408, allocations: 192 / 287 MB, free: 7.25 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.009e-06/0.002413, allocations: 384 / 287 MB, free: 7.25 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.002418, allocations: 4.375 kB / 287 MB, free: 7.246 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.674e-05/0.002434, allocations: 7.875 kB / 287 MB, free: 7.238 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.99e-05/0.002504, allocations: 57.05 kB / 287 MB, free: 7.168 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.002628, allocations: 34.61 kB / 287.1 MB, free: 7.125 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.434e-05/0.002642, allocations: 12.86 kB / 287.1 MB, free: 7.109 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001528/0.002795, allocations: 28.05 kB / 287.1 MB, free: 7.082 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.716e-05/0.002812, allocations: 34.56 kB / 287.1 MB, free: 7.039 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.002813, allocations: 0 / 287.1 MB, free: 7.039 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006209/0.003434, allocations: 267.1 kB / 287.4 MB, free: 6.75 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/0.003465, allocations: 55.41 kB / 287.5 MB, free: 6.684 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.622e-05/0.003511, allocations: 94.72 kB / 287.5 MB, free: 6.578 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.003522, allocations: 25.7 kB / 287.6 MB, free: 6.547 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.913e-05/0.003541, allocations: 80.14 kB / 287.6 MB, free: 6.465 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.82e-05/0.003569, allocations: 15.89 kB / 287.7 MB, free: 6.449 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.315e-05/0.003602, allocations: 21.66 kB / 287.7 MB, free: 6.422 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.303e-05/0.003675, allocations: 318.8 kB / 288 MB, free: 6.102 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.84e-05/0.003694, allocations: 8.172 kB / 288 MB, free: 6.094 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.538e-05/0.003709, allocations: 16 kB / 288 MB, free: 6.078 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.564e-05/0.003745, allocations: 16.84 kB / 288 MB, free: 6.059 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.003746, allocations: 0 / 288 MB, free: 6.059 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.131e-05/0.003817, allocations: 53.62 kB / 288.1 MB, free: 6 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.003828, allocations: 4 kB / 288.1 MB, free: 5.996 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.003832, allocations: 0 / 288.1 MB, free: 5.996 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.003843, allocations: 4 kB / 288.1 MB, free: 5.992 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.446e-05/0.003937, allocations: 11.98 kB / 288.1 MB, free: 5.98 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.406e-06/0.003941, allocations: 0 / 288.1 MB, free: 5.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.947e-05/0.00398, allocations: 11.94 kB / 288.1 MB, free: 5.969 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.003985, allocations: 0 / 288.1 MB, free: 5.969 MB / 282.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.313e-05/0.004039, allocations: 113.8 kB / 288.2 MB, free: 5.848 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.776e-06/0.004047, allocations: 0 / 288.2 MB, free: 5.848 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.606e-05/0.004143, allocations: 65.27 kB / 288.3 MB, free: 5.773 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.004145, allocations: 0 / 288.3 MB, free: 5.773 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.004146, allocations: 0 / 288.3 MB, free: 5.773 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.004149, allocations: 0 / 288.3 MB, free: 5.773 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003122/0.004461, allocations: 231.5 kB / 288.5 MB, free: 5.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.004463, allocations: 256 / 288.5 MB, free: 5.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.064e-05/0.004513, allocations: 15.98 kB / 288.5 MB, free: 5.504 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.843e-06/0.00452, allocations: 8 kB / 288.5 MB, free: 5.496 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.004524, allocations: 3.984 kB / 288.5 MB, free: 5.492 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.613e-06/0.004531, allocations: 4.328 kB / 288.6 MB, free: 5.488 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.004535, allocations: 3.938 kB / 288.6 MB, free: 5.484 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.004536, allocations: 0 / 288.6 MB, free: 5.484 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.588e-05/0.004621, allocations: 152.4 kB / 288.7 MB, free: 5.316 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.056e-05/0.004632, allocations: 3.984 kB / 288.7 MB, free: 5.312 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.738e-05/0.004699, allocations: 11.98 kB / 288.7 MB, free: 5.301 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.102e-05/0.00471, allocations: 3.938 kB / 288.7 MB, free: 5.297 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.02e-06/0.004715, allocations: 4 kB / 288.7 MB, free: 5.293 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.837e-06/0.004724, allocations: 4.859 kB / 288.7 MB, free: 5.285 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004724, allocations: 0 / 288.7 MB, free: 5.285 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001389/0.004863, allocations: 11.94 kB / 288.7 MB, free: 5.273 MB / 282.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 9.751e-05/0.004961, allocations: 92.33 kB / 288.8 MB, free: 5.176 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.294e-05/0.005024, allocations: 32.94 kB / 288.9 MB, free: 5.141 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.005028, allocations: 0 / 288.9 MB, free: 5.141 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.042e-05/0.005048, allocations: 20.8 kB / 288.9 MB, free: 5.117 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.994e-05/0.005148, allocations: 11.98 kB / 288.9 MB, free: 5.105 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001926/0.005341, allocations: 129.4 kB / 289 MB, free: 4.949 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.612e-05/0.005367, allocations: 55.36 kB / 289.1 MB, free: 4.875 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.73e-05/0.005394, allocations: 12.08 kB / 289.1 MB, free: 4.863 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.822e-05/0.005432, allocations: 51.38 kB / 289.1 MB, free: 4.812 MB / 282.7 MB Notification: Performance of SimCode: time 5.11e-07/0.005433, allocations: 0 / 289.1 MB, free: 4.812 MB / 282.7 MB Notification: Performance of Templates: time 0.00191/0.007343, allocations: 0.7886 MB / 289.9 MB, free: 4.027 MB / 282.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.449905624613166]