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.0009938/0.0009938, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.001516/0.001516, allocations: 174.6 kB / 24.92 MB, free: 8.246 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.9822/0.9822, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.2373/0.2373, allocations: 32.8 MB / 294.6 MB, free: 1.234 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.433e-06/1.433e-06, allocations: 0 / 323.2 MB, free: 9.688 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.025e-05/2.168e-05, allocations: 2.312 kB / 323.2 MB, free: 9.684 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001215/0.001237, allocations: 0.5522 MB / 323.8 MB, free: 9.133 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002425/0.001479, allocations: 100.3 kB / 323.9 MB, free: 9.035 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.413e-05/0.001503, allocations: 0 / 323.9 MB, free: 9.035 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.114e-05/0.001514, allocations: 0 / 323.9 MB, free: 9.035 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001673/0.001682, allocations: 19.86 kB / 323.9 MB, free: 9.016 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.008e-05/0.001692, allocations: 4 kB / 323.9 MB, free: 9.012 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.138e-05/0.001733, allocations: 7.984 kB / 323.9 MB, free: 9.004 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.518e-05/0.001768, allocations: 0 / 323.9 MB, free: 9.004 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.667e-05/0.001795, allocations: 4 kB / 323.9 MB, free: 9 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.152e-05/0.001836, allocations: 11.92 kB / 323.9 MB, free: 8.988 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.037e-05/0.001847, allocations: 0 / 323.9 MB, free: 8.988 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.878e-05/0.001926, allocations: 19.98 kB / 324 MB, free: 8.969 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.748e-06/0.001935, allocations: 4 kB / 324 MB, free: 8.965 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.039e-05/0.001946, allocations: 0.625 kB / 324 MB, free: 8.965 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.936e-05/0.002015, allocations: 27.89 kB / 324 MB, free: 8.938 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.002017, allocations: 0 / 324 MB, free: 8.938 MB / 298.7 MB Notification: Performance of FrontEnd: time 4e-07/0.002017, allocations: 4 kB / 324 MB, free: 8.934 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.755e-06/0.00202, allocations: 0 / 324 MB, free: 8.934 MB / 298.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.000189/0.002209, allocations: 217.4 kB / 324.2 MB, free: 8.695 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.897e-05/0.002238, allocations: 8.031 kB / 324.2 MB, free: 8.688 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.817e-05/0.002256, allocations: 4.875 kB / 324.2 MB, free: 8.684 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.608e-05/0.002322, allocations: 105.8 kB / 324.3 MB, free: 8.555 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.615e-06/0.00233, allocations: 384 / 324.3 MB, free: 8.555 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.002346, allocations: 4.891 kB / 324.3 MB, free: 8.551 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.584e-05/0.002402, allocations: 34.25 kB / 324.4 MB, free: 8.512 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.002411, allocations: 8.109 kB / 324.4 MB, free: 8.504 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.921e-06/0.002417, allocations: 4.375 kB / 324.4 MB, free: 8.5 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.002421, allocations: 384 / 324.4 MB, free: 8.5 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.505e-05/0.002436, allocations: 7.938 kB / 324.4 MB, free: 8.492 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.546e-05/0.002511, allocations: 65.38 kB / 324.4 MB, free: 8.414 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.002622, allocations: 34.5 kB / 324.5 MB, free: 8.371 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.297e-05/0.002635, allocations: 12.86 kB / 324.5 MB, free: 8.355 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001502/0.002785, allocations: 28.09 kB / 324.5 MB, free: 8.328 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.754e-05/0.002803, allocations: 30.56 kB / 324.5 MB, free: 8.289 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 7.62e-07/0.002803, allocations: 8 kB / 324.6 MB, free: 8.281 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004928/0.003296, allocations: 154.1 kB / 324.7 MB, free: 8.121 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.49e-05/0.003321, allocations: 51.41 kB / 324.8 MB, free: 8.059 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.337e-05/0.003365, allocations: 94.72 kB / 324.9 MB, free: 7.953 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.267e-06/0.003374, allocations: 25.7 kB / 324.9 MB, free: 7.922 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.92e-05/0.003393, allocations: 84.14 kB / 325 MB, free: 7.836 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.167e-05/0.003415, allocations: 20.02 kB / 325 MB, free: 7.816 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.721e-05/0.003442, allocations: 17.7 kB / 325 MB, free: 7.793 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.767e-05/0.00351, allocations: 318.8 kB / 325.3 MB, free: 7.473 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.323e-05/0.003523, allocations: 4 kB / 325.3 MB, free: 7.469 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.33e-05/0.003536, allocations: 11.98 kB / 325.3 MB, free: 7.457 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.05e-05/0.003567, allocations: 24.78 kB / 325.3 MB, free: 7.43 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.003567, allocations: 0 / 325.3 MB, free: 7.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.952e-05/0.003617, allocations: 41.69 kB / 325.4 MB, free: 7.383 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.367e-06/0.003626, allocations: 8 kB / 325.4 MB, free: 7.375 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.003631, allocations: 3.984 kB / 325.4 MB, free: 7.371 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.706e-06/0.00364, allocations: 4 kB / 325.4 MB, free: 7.367 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.9e-05/0.003699, allocations: 11.98 kB / 325.4 MB, free: 7.355 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.004e-06/0.003701, allocations: 0 / 325.4 MB, free: 7.355 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.875e-05/0.003729, allocations: 7.938 kB / 325.4 MB, free: 7.348 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.003734, allocations: 0 / 325.4 MB, free: 7.348 MB / 298.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.716e-05/0.003781, allocations: 117.8 kB / 325.5 MB, free: 7.223 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.223e-06/0.003789, allocations: 3.984 kB / 325.5 MB, free: 7.219 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.524e-05/0.003864, allocations: 57.59 kB / 325.6 MB, free: 7.16 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.003867, allocations: 3.984 kB / 325.6 MB, free: 7.156 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.003869, allocations: 4.062 kB / 325.6 MB, free: 7.152 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.003871, allocations: 0 / 325.6 MB, free: 7.152 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002458/0.004117, allocations: 235.4 kB / 325.8 MB, free: 6.895 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.004118, allocations: 0 / 325.8 MB, free: 6.895 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.485e-05/0.004153, allocations: 15.98 kB / 325.8 MB, free: 6.879 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.004155, allocations: 0 / 325.8 MB, free: 6.879 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.368e-06/0.004159, allocations: 0 / 325.8 MB, free: 6.879 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.004162, allocations: 12.02 kB / 325.9 MB, free: 6.867 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.004164, allocations: 3.938 kB / 325.9 MB, free: 6.863 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.997e-05/0.004234, allocations: 148.3 kB / 326 MB, free: 6.699 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.054e-05/0.004245, allocations: 4.312 kB / 326 MB, free: 6.695 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.205e-06/0.004253, allocations: 4 kB / 326 MB, free: 6.691 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.508e-05/0.004298, allocations: 4 kB / 326 MB, free: 6.688 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.324e-05/0.004311, allocations: 7.922 kB / 326 MB, free: 6.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.97e-06/0.004316, allocations: 3.984 kB / 326 MB, free: 6.676 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.462e-06/0.004322, allocations: 8.859 kB / 326 MB, free: 6.664 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.004323, allocations: 4.094 kB / 326 MB, free: 6.66 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001245/0.004447, allocations: 15.94 kB / 326.1 MB, free: 6.645 MB / 298.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 7.899e-05/0.004526, allocations: 76.42 kB / 326.1 MB, free: 6.559 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.622e-05/0.004582, allocations: 24.78 kB / 326.2 MB, free: 6.531 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.004584, allocations: 4 kB / 326.2 MB, free: 6.527 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.932e-05/0.004603, allocations: 24.78 kB / 326.2 MB, free: 6.5 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.925e-05/0.004703, allocations: 8 kB / 326.2 MB, free: 6.492 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001795/0.004882, allocations: 126 kB / 326.3 MB, free: 6.34 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.853e-05/0.004911, allocations: 59.42 kB / 326.4 MB, free: 6.262 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.363e-05/0.004934, allocations: 4 kB / 326.4 MB, free: 6.258 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.146e-05/0.004976, allocations: 55.36 kB / 326.4 MB, free: 6.203 MB / 298.7 MB Notification: Performance of SimCode: time 3.71e-07/0.004976, allocations: 4 kB / 326.4 MB, free: 6.199 MB / 298.7 MB Notification: Performance of Templates: time 0.00185/0.006826, allocations: 0.7733 MB / 327.2 MB, free: 5.43 MB / 298.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 -s gbode -gbm=radauIIA3 -emit_protected -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6580537389963865]