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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001013/0.001013, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001367/0.00238, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001028/0.001028, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001252/0.002281, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9659/0.9659, allocations: 177.4 MB / 189.9 MB, free: 4.824 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07548/1.041, allocations: 53.86 MB / 243.7 MB, free: 14.9 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2371/0.2371, allocations: 34.86 MB / 279.3 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01907/0.2562, allocations: 13.23 MB / 292.6 MB, free: 6.457 MB / 282.7 MB " [Timeout remaining time 180] 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=5002,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 293.8 MB, free: 5.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.908e-06/1.124e-05, allocations: 3.156 kB / 293.8 MB, free: 5.195 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.0008365/0.0008477, allocations: 0.5457 MB / 294.4 MB, free: 4.652 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001351/0.0009829, allocations: 105 kB / 294.5 MB, free: 4.551 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.549e-05/0.0009983, allocations: 0 / 294.5 MB, free: 4.551 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.507e-06/0.001002, allocations: 0 / 294.5 MB, free: 4.551 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.272e-05/0.001075, allocations: 15.92 kB / 294.5 MB, free: 4.535 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.08e-05/0.001085, allocations: 3.984 kB / 294.5 MB, free: 4.531 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 3.958e-05/0.001125, allocations: 7.938 kB / 294.5 MB, free: 4.523 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.098e-05/0.001156, allocations: 4 kB / 294.5 MB, free: 4.52 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.494e-05/0.001191, allocations: 4 kB / 294.5 MB, free: 4.516 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.821e-05/0.001229, allocations: 3.984 kB / 294.5 MB, free: 4.512 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.001242, allocations: 4 kB / 294.5 MB, free: 4.508 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.734e-05/0.001319, allocations: 23.92 kB / 294.6 MB, free: 4.484 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.365e-06/0.001327, allocations: 3.938 kB / 294.6 MB, free: 4.48 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.148e-06/0.001337, allocations: 0 / 294.6 MB, free: 4.48 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 6.566e-05/0.001402, allocations: 19.92 kB / 294.6 MB, free: 4.461 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.3e-05/0.001415, allocations: 0 / 294.6 MB, free: 4.461 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.001416, allocations: 4 kB / 294.6 MB, free: 4.457 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.001427, allocations: 4 kB / 294.6 MB, free: 4.453 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.0002227/0.00165, allocations: 224.7 kB / 294.8 MB, free: 4.207 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.497e-05/0.001675, allocations: 8.922 kB / 294.8 MB, free: 4.199 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.158e-05/0.001697, allocations: 4.938 kB / 294.8 MB, free: 4.195 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.415e-05/0.001761, allocations: 101.8 kB / 294.9 MB, free: 4.07 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.246e-06/0.001769, allocations: 384 / 294.9 MB, free: 4.07 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.001786, allocations: 5.062 kB / 294.9 MB, free: 4.066 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.177e-05/0.001848, allocations: 34.25 kB / 295 MB, free: 4.027 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.001856, allocations: 192 / 295 MB, free: 4.027 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.2e-06/0.001861, allocations: 8.312 kB / 295 MB, free: 4.02 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.001865, allocations: 384 / 295 MB, free: 4.02 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.299e-05/0.001888, allocations: 23.84 kB / 295 MB, free: 3.996 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.149e-05/0.00196, allocations: 61.36 kB / 295 MB, free: 3.926 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.002084, allocations: 22.58 kB / 295.1 MB, free: 3.895 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.548e-05/0.0021, allocations: 16.98 kB / 295.1 MB, free: 3.875 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001499/0.00225, allocations: 23.97 kB / 295.1 MB, free: 3.852 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/0.002267, allocations: 34.56 kB / 295.1 MB, free: 3.809 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.002268, allocations: 0 / 295.1 MB, free: 3.809 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005033/0.002771, allocations: 235.2 kB / 295.4 MB, free: 3.551 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.561e-05/0.002797, allocations: 55.34 kB / 295.4 MB, free: 3.484 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.836e-05/0.002835, allocations: 98.72 kB / 295.5 MB, free: 3.375 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.846e-06/0.002844, allocations: 25.7 kB / 295.6 MB, free: 3.344 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.801e-05/0.002862, allocations: 84.12 kB / 295.6 MB, free: 3.258 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.09e-05/0.002883, allocations: 11.91 kB / 295.6 MB, free: 3.246 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.519e-05/0.002908, allocations: 21.83 kB / 295.7 MB, free: 3.219 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.297e-05/0.002971, allocations: 322.8 kB / 296 MB, free: 2.895 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.23e-05/0.002984, allocations: 4 kB / 296 MB, free: 2.891 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.106e-05/0.002995, allocations: 4.188 kB / 296 MB, free: 2.887 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.887e-05/0.003023, allocations: 28.84 kB / 296 MB, free: 2.855 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-07/0.003024, allocations: 0 / 296 MB, free: 2.855 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.567e-05/0.00307, allocations: 49.62 kB / 296.1 MB, free: 2.801 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.097e-06/0.003079, allocations: 6.5 kB / 296.1 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.676e-06/0.003082, allocations: 0 / 296.1 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.572e-06/0.003089, allocations: 0 / 296.1 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.614e-05/0.003155, allocations: 19.98 kB / 296.1 MB, free: 2.777 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.064e-06/0.003157, allocations: 0 / 296.1 MB, free: 2.777 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.643e-05/0.003184, allocations: 7.938 kB / 296.1 MB, free: 2.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.003189, allocations: 3.984 kB / 296.1 MB, free: 2.766 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.765e-05/0.003236, allocations: 109.8 kB / 296.2 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.084e-06/0.003243, allocations: 4 kB / 296.2 MB, free: 2.645 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.247e-05/0.003316, allocations: 57.27 kB / 296.3 MB, free: 2.586 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.003318, allocations: 8 kB / 296.3 MB, free: 2.578 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.003319, allocations: 0 / 296.3 MB, free: 2.578 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.003322, allocations: 0 / 296.3 MB, free: 2.578 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002357/0.003558, allocations: 231.5 kB / 296.5 MB, free: 2.324 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.003558, allocations: 3.938 kB / 296.5 MB, free: 2.32 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.69e-05/0.003595, allocations: 15.98 kB / 296.5 MB, free: 2.305 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.45e-06/0.003601, allocations: 3.984 kB / 296.5 MB, free: 2.301 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.003602, allocations: 0 / 296.5 MB, free: 2.301 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-06/0.003608, allocations: 4.125 kB / 296.5 MB, free: 2.297 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.00361, allocations: 11.97 kB / 296.5 MB, free: 2.285 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.003611, allocations: 0 / 296.5 MB, free: 2.285 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.818e-05/0.003679, allocations: 148.4 kB / 296.7 MB, free: 2.121 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.003692, allocations: 4 kB / 296.7 MB, free: 2.117 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.879e-05/0.003731, allocations: 3.984 kB / 296.7 MB, free: 2.113 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.142e-05/0.003742, allocations: 11.88 kB / 296.7 MB, free: 2.102 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.726e-06/0.003745, allocations: 0 / 296.7 MB, free: 2.102 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.1e-06/0.00375, allocations: 4.859 kB / 296.7 MB, free: 2.094 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00375, allocations: 0 / 296.7 MB, free: 2.094 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001191/0.003869, allocations: 15.94 kB / 296.7 MB, free: 2.078 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 8.043e-05/0.003949, allocations: 84.5 kB / 296.8 MB, free: 1.984 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 5.81e-05/0.004008, allocations: 25.17 kB / 296.8 MB, free: 1.957 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.004011, allocations: 0 / 296.8 MB, free: 1.957 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.685e-05/0.004028, allocations: 20.8 kB / 296.9 MB, free: 1.934 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.465e-05/0.004123, allocations: 11.98 kB / 296.9 MB, free: 1.922 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001774/0.0043, allocations: 130.9 kB / 297 MB, free: 1.766 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.608e-05/0.004326, allocations: 51.36 kB / 297 MB, free: 1.695 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.216e-05/0.004348, allocations: 9.062 kB / 297.1 MB, free: 1.688 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.927e-05/0.004388, allocations: 55.36 kB / 297.1 MB, free: 1.633 MB / 282.7 MB Notification: Performance of SimCode: time 5.91e-07/0.004388, allocations: 0 / 297.1 MB, free: 1.633 MB / 282.7 MB Notification: Performance of Templates: time 0.001824/0.006212, allocations: 0.7783 MB / 297.9 MB, free: 0.8633 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile [Timeout 660] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.523680451326072]