Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009258/0.0009258, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.001093/0.001093, allocations: 169 kB / 24.14 MB, free: 356 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.879/0.879, allocations: 158.6 MB / 186 MB, free: 2.773 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1287/0.1287, allocations: 32.37 MB / 270.7 MB, free: 14.61 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 299.1 MB, free: 2.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.851e-05/2.032e-05, allocations: 6.312 kB / 299.1 MB, free: 2.18 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.00106/0.00108, allocations: 0.5566 MB / 299.6 MB, free: 1.625 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001993/0.001279, allocations: 67.72 kB / 299.7 MB, free: 1.559 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.425e-05/0.001303, allocations: 0 / 299.7 MB, free: 1.559 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.564e-05/0.001319, allocations: 3.938 kB / 299.7 MB, free: 1.555 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001883/0.001507, allocations: 11.98 kB / 299.7 MB, free: 1.543 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.209e-05/0.001519, allocations: 3.984 kB / 299.7 MB, free: 1.539 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.057e-05/0.00156, allocations: 15.94 kB / 299.7 MB, free: 1.523 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.266e-05/0.001593, allocations: 0 / 299.7 MB, free: 1.523 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.948e-05/0.001622, allocations: 11.92 kB / 299.8 MB, free: 1.512 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.859e-05/0.001661, allocations: 0 / 299.8 MB, free: 1.512 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.102e-05/0.001672, allocations: 0 / 299.8 MB, free: 1.512 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.975e-05/0.001742, allocations: 23.92 kB / 299.8 MB, free: 1.488 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.182e-05/0.001753, allocations: 0 / 299.8 MB, free: 1.488 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.168e-06/0.001763, allocations: 0 / 299.8 MB, free: 1.488 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 7.166e-05/0.001834, allocations: 27.89 kB / 299.8 MB, free: 1.461 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.202e-06/0.001835, allocations: 0 / 299.8 MB, free: 1.461 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.02e-07/0.001836, allocations: 0 / 299.8 MB, free: 1.461 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.835e-06/0.001839, allocations: 0 / 299.8 MB, free: 1.461 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.0001941/0.002033, allocations: 220.7 kB / 300 MB, free: 1.219 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.002064, allocations: 8.031 kB / 300 MB, free: 1.211 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.58e-05/0.00209, allocations: 8.938 kB / 300 MB, free: 1.203 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.721e-05/0.002157, allocations: 101.8 kB / 300.1 MB, free: 1.078 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.837e-06/0.002166, allocations: 384 / 300.1 MB, free: 1.078 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.002184, allocations: 4.719 kB / 300.1 MB, free: 1.074 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.261e-05/0.002236, allocations: 30.25 kB / 300.2 MB, free: 1.039 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.002245, allocations: 8.125 kB / 300.2 MB, free: 1.031 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.11e-06/0.002251, allocations: 384 / 300.2 MB, free: 1.031 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.002255, allocations: 384 / 300.2 MB, free: 1.031 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.936e-05/0.002275, allocations: 15.92 kB / 300.2 MB, free: 1.016 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.961e-05/0.002354, allocations: 68.98 kB / 300.3 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.002478, allocations: 22.72 kB / 300.3 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.415e-05/0.002492, allocations: 12.84 kB / 300.3 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001483/0.00264, allocations: 23.97 kB / 300.3 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/0.002659, allocations: 34.56 kB / 300.4 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.00266, allocations: 0 / 300.4 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004985/0.003158, allocations: 150.1 kB / 300.5 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/0.003187, allocations: 55.34 kB / 300.6 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.181e-05/0.003228, allocations: 98.72 kB / 300.7 MB, free: 500 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.003239, allocations: 29.7 kB / 300.7 MB, free: 464 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.922e-05/0.003258, allocations: 80.14 kB / 300.8 MB, free: 380 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.003282, allocations: 15.88 kB / 300.8 MB, free: 364 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.522e-05/0.003308, allocations: 17.84 kB / 300.8 MB, free: 340 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.125e-05/0.003379, allocations: 322.8 kB / 301.1 MB, free: 8 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.335e-05/0.003392, allocations: 7.984 kB / 301.1 MB, free: 0 / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.126/0.1294, allocations: 3.203 kB / 301.1 MB, free: 19.85 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.764e-05/0.1295, allocations: 19.69 kB / 301.1 MB, free: 19.84 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1295, allocations: 0.5 kB / 301.1 MB, free: 19.84 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.007e-05/0.1296, allocations: 46.16 kB / 301.2 MB, free: 19.81 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.1296, allocations: 5.969 kB / 301.2 MB, free: 19.81 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.1296, allocations: 3.047 kB / 301.2 MB, free: 19.81 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.1296, allocations: 0 / 301.2 MB, free: 19.81 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.1297, allocations: 14.83 kB / 301.2 MB, free: 19.81 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.296e-06/0.1297, allocations: 0.6562 kB / 301.2 MB, free: 19.81 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.46e-05/0.1297, allocations: 13.06 kB / 301.2 MB, free: 19.81 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.1298, allocations: 5.406 kB / 301.2 MB, free: 19.81 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 4.046e-05/0.1298, allocations: 108.3 kB / 301.3 MB, free: 19.7 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.967e-06/0.1298, allocations: 2.984 kB / 301.3 MB, free: 19.7 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.878e-05/0.1299, allocations: 65.38 kB / 301.4 MB, free: 19.66 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.1299, allocations: 2.188 kB / 301.4 MB, free: 19.66 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.1299, allocations: 2.016 kB / 301.4 MB, free: 19.66 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1299, allocations: 6 kB / 301.4 MB, free: 19.66 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002714/0.1302, allocations: 221.6 kB / 301.6 MB, free: 19.47 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1302, allocations: 0 / 301.6 MB, free: 19.47 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.593e-05/0.1302, allocations: 12.77 kB / 301.6 MB, free: 19.47 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.1302, allocations: 1.188 kB / 301.6 MB, free: 19.47 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-06/0.1302, allocations: 2.641 kB / 301.6 MB, free: 19.47 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.1302, allocations: 4.953 kB / 301.7 MB, free: 19.47 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1302, allocations: 1.562 kB / 301.7 MB, free: 19.47 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.212e-05/0.1303, allocations: 154.7 kB / 301.8 MB, free: 19.33 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.861e-06/0.1303, allocations: 6.734 kB / 301.8 MB, free: 19.33 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.065e-06/0.1303, allocations: 2.625 kB / 301.8 MB, free: 19.33 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.763e-05/0.1303, allocations: 4.828 kB / 301.8 MB, free: 19.33 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.221e-05/0.1304, allocations: 12.05 kB / 301.8 MB, free: 19.33 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-06/0.1304, allocations: 2.469 kB / 301.8 MB, free: 19.33 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.827e-06/0.1304, allocations: 9.203 kB / 301.8 MB, free: 19.32 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1304, allocations: 0 / 301.8 MB, free: 19.32 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001235/0.1305, allocations: 15 kB / 301.9 MB, free: 19.32 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.673e-05/0.1306, allocations: 81.08 kB / 301.9 MB, free: 19.25 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.299e-05/0.1307, allocations: 28.61 kB / 302 MB, free: 19.25 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1307, allocations: 1.375 kB / 302 MB, free: 19.25 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.508e-05/0.1307, allocations: 16.41 kB / 302 MB, free: 19.24 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.936e-05/0.1308, allocations: 8.453 kB / 302 MB, free: 19.24 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002025/0.131, allocations: 129.2 kB / 302.1 MB, free: 19.12 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.208e-05/0.131, allocations: 55.55 kB / 302.2 MB, free: 19.05 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.407e-05/0.131, allocations: 7.25 kB / 302.2 MB, free: 19.05 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.484e-05/0.1311, allocations: 52.05 kB / 302.2 MB, free: 19 MB / 282.7 MB Notification: Performance of SimCode: time 7.81e-07/0.1311, allocations: 3.719 kB / 302.2 MB, free: 19 MB / 282.7 MB Notification: Performance of Templates: time 0.002262/0.1333, allocations: 0.7795 MB / 303 MB, free: 18.95 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8496857578866184]