Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0007297/0.0007297, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009946/0.001724, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006944/0.0006944, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009058/0.0016, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9455/0.9455, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07032/1.016, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2308/0.2308, allocations: 34.26 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0493/0.2801, allocations: 13.09 MB / 291.3 MB, free: 7.375 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 292.6 MB, free: 6.336 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.199e-05/1.339e-05, allocations: 9.281 kB / 292.6 MB, free: 6.328 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001131/0.001144, allocations: 0.5497 MB / 293.2 MB, free: 5.781 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000141/0.001285, allocations: 111.6 kB / 293.3 MB, free: 5.672 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.666e-05/0.001302, allocations: 0 / 293.3 MB, free: 5.672 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.226e-06/0.001305, allocations: 0 / 293.3 MB, free: 5.672 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.629e-05/0.001381, allocations: 19.86 kB / 293.3 MB, free: 5.652 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.458e-06/0.001391, allocations: 4 kB / 293.3 MB, free: 5.648 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 3.853e-05/0.001429, allocations: 4 kB / 293.3 MB, free: 5.645 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.586e-05/0.001465, allocations: 4.484 kB / 293.3 MB, free: 5.641 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.027e-05/0.001505, allocations: 11.92 kB / 293.3 MB, free: 5.629 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.001e-05/0.001545, allocations: 0 / 293.3 MB, free: 5.629 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.001557, allocations: 0 / 293.3 MB, free: 5.629 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.331e-05/0.00164, allocations: 23.92 kB / 293.3 MB, free: 5.605 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.234e-06/0.001647, allocations: 0 / 293.3 MB, free: 5.605 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.257e-06/0.001656, allocations: 4 kB / 293.3 MB, free: 5.602 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 7.007e-05/0.001726, allocations: 15.92 kB / 293.3 MB, free: 5.586 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.289e-05/0.001739, allocations: 0 / 293.3 MB, free: 5.586 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.00174, allocations: 4 kB / 293.4 MB, free: 5.582 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.252e-05/0.001752, allocations: 0 / 293.4 MB, free: 5.582 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.0002275/0.00198, allocations: 224.7 kB / 293.6 MB, free: 5.336 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.566e-05/0.002006, allocations: 8.031 kB / 293.6 MB, free: 5.328 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.177e-05/0.002027, allocations: 0.9375 kB / 293.6 MB, free: 5.328 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.077e-05/0.002098, allocations: 117.7 kB / 293.7 MB, free: 5.188 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.002107, allocations: 384 / 293.7 MB, free: 5.188 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.002124, allocations: 384 / 293.7 MB, free: 5.188 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.782e-05/0.002182, allocations: 34.27 kB / 293.7 MB, free: 5.148 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.002191, allocations: 4.859 kB / 293.7 MB, free: 5.145 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.27e-06/0.002197, allocations: 4.375 kB / 293.7 MB, free: 5.141 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.002201, allocations: 384 / 293.7 MB, free: 5.141 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.932e-05/0.00222, allocations: 7.938 kB / 293.7 MB, free: 5.133 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.22e-05/0.002292, allocations: 61.05 kB / 293.8 MB, free: 5.059 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/0.002428, allocations: 34.55 kB / 293.8 MB, free: 5.016 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.529e-05/0.002443, allocations: 8.859 kB / 293.9 MB, free: 5.004 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001682/0.002611, allocations: 28.05 kB / 293.9 MB, free: 4.977 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.002631, allocations: 34.56 kB / 293.9 MB, free: 4.934 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.002632, allocations: 8 kB / 293.9 MB, free: 4.926 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.000516/0.003148, allocations: 231.7 kB / 294.1 MB, free: 4.672 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.525e-05/0.003173, allocations: 51.41 kB / 294.2 MB, free: 4.609 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.857e-05/0.003212, allocations: 98.7 kB / 294.3 MB, free: 4.5 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.576e-06/0.00322, allocations: 25.7 kB / 294.3 MB, free: 4.469 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.669e-05/0.003237, allocations: 84.27 kB / 294.4 MB, free: 4.383 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.202e-05/0.003259, allocations: 15.91 kB / 294.4 MB, free: 4.367 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.529e-05/0.003284, allocations: 17.7 kB / 294.4 MB, free: 4.344 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.538e-05/0.00335, allocations: 322.8 kB / 294.7 MB, free: 4.02 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.267e-05/0.003363, allocations: 4 kB / 294.8 MB, free: 4.016 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.632e-05/0.003379, allocations: 7.938 kB / 294.8 MB, free: 4.008 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.165e-05/0.003411, allocations: 25.03 kB / 294.8 MB, free: 3.98 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.003411, allocations: 3.938 kB / 294.8 MB, free: 3.977 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.912e-05/0.00346, allocations: 45.69 kB / 294.8 MB, free: 3.926 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.003472, allocations: 8 kB / 294.8 MB, free: 3.918 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.003476, allocations: 0 / 294.8 MB, free: 3.918 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.643e-06/0.003482, allocations: 4 kB / 294.8 MB, free: 3.914 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.679e-05/0.003549, allocations: 15.98 kB / 294.9 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.966e-06/0.003552, allocations: 0 / 294.9 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.671e-05/0.003579, allocations: 7.922 kB / 294.9 MB, free: 3.891 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.003583, allocations: 7.938 kB / 294.9 MB, free: 3.883 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.309e-05/0.003626, allocations: 109.8 kB / 295 MB, free: 3.766 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.131e-06/0.003633, allocations: 4 kB / 295 MB, free: 3.762 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.169e-05/0.003704, allocations: 57.33 kB / 295 MB, free: 3.703 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.003706, allocations: 0 / 295 MB, free: 3.703 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.003707, allocations: 0 / 295 MB, free: 3.703 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.003709, allocations: 0 / 295 MB, free: 3.703 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002401/0.003949, allocations: 239.5 kB / 295.3 MB, free: 3.441 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.00395, allocations: 0 / 295.3 MB, free: 3.441 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.67e-05/0.003987, allocations: 11.98 kB / 295.3 MB, free: 3.43 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.118e-06/0.003991, allocations: 4 kB / 295.3 MB, free: 3.426 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.003993, allocations: 32 / 295.3 MB, free: 3.426 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.038e-06/0.003997, allocations: 4 kB / 295.3 MB, free: 3.422 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.004, allocations: 7.938 kB / 295.3 MB, free: 3.414 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.004, allocations: 4.062 kB / 295.3 MB, free: 3.41 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.716e-05/0.004067, allocations: 152.4 kB / 295.5 MB, free: 3.242 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.203e-06/0.004075, allocations: 0 / 295.5 MB, free: 3.242 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.789e-05/0.004113, allocations: 4 kB / 295.5 MB, free: 3.238 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.013e-05/0.004123, allocations: 7.922 kB / 295.5 MB, free: 3.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.004125, allocations: 4 kB / 295.5 MB, free: 3.227 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.192e-06/0.004132, allocations: 4.859 kB / 295.5 MB, free: 3.219 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004132, allocations: 4.094 kB / 295.5 MB, free: 3.215 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001201/0.004252, allocations: 11.94 kB / 295.5 MB, free: 3.203 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.323e-05/0.004335, allocations: 84.36 kB / 295.6 MB, free: 3.109 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.081e-05/0.004396, allocations: 28.83 kB / 295.6 MB, free: 3.078 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.004399, allocations: 0 / 295.6 MB, free: 3.078 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.75e-05/0.004417, allocations: 24.78 kB / 295.6 MB, free: 3.051 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.538e-05/0.004512, allocations: 11.94 kB / 295.6 MB, free: 3.039 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001807/0.004693, allocations: 122 kB / 295.8 MB, free: 2.891 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.879e-05/0.004722, allocations: 59.41 kB / 295.8 MB, free: 2.812 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.367e-05/0.004745, allocations: 4 kB / 295.8 MB, free: 2.809 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.786e-05/0.004783, allocations: 55.38 kB / 295.9 MB, free: 2.754 MB / 282.7 MB Notification: Performance of SimCode: time 5.41e-07/0.004784, allocations: 4 kB / 295.9 MB, free: 2.75 MB / 282.7 MB Notification: Performance of Templates: time 0.001876/0.00666, allocations: 0.7766 MB / 296.7 MB, free: 1.984 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.640464410185814]