Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.0007458/0.0007458, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001042/0.001788, 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.0006296/0.0006296, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009264/0.001556, 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.8793/0.8793, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2064/1.086, allocations: 52.49 MB / 238.5 MB, free: 7.617 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.1563/0.1563, allocations: 32.8 MB / 272 MB, free: 6.289 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02058/0.1768, allocations: 12.53 MB / 284.5 MB, free: 9.711 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.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 285.8 MB, free: 8.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.601e-05/1.739e-05, allocations: 5.406 kB / 285.8 MB, free: 8.438 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.0009877/0.001005, allocations: 0.5587 MB / 286.4 MB, free: 7.883 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.002204, allocations: 1.35 MB / 287.7 MB, free: 6.512 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.373e-05/0.002218, allocations: 0 / 287.7 MB, free: 6.512 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.357e-06/0.002221, allocations: 0 / 287.7 MB, free: 6.512 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.532e-06/0.002227, allocations: 0 / 287.7 MB, free: 6.512 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003234/0.002551, allocations: 175.4 kB / 287.9 MB, free: 6.34 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.142e-05/0.002592, allocations: 11.92 kB / 287.9 MB, free: 6.328 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.223e-05/0.002625, allocations: 0 / 287.9 MB, free: 6.328 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.158e-05/0.002666, allocations: 8 kB / 287.9 MB, free: 6.32 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.631e-05/0.002712, allocations: 11.98 kB / 287.9 MB, free: 6.309 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.002724, allocations: 0 / 287.9 MB, free: 6.309 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003661/0.00309, allocations: 304 kB / 288.2 MB, free: 6.012 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.361e-05/0.003103, allocations: 7.938 kB / 288.2 MB, free: 6.004 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.116e-05/0.003114, allocations: 0 / 288.2 MB, free: 6.004 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.003284, allocations: 123.8 kB / 288.4 MB, free: 5.883 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.025e-05/0.003294, allocations: 0 / 288.4 MB, free: 5.883 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.046e-06/0.003297, allocations: 7.984 kB / 288.4 MB, free: 5.875 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.897e-06/0.003306, allocations: 0 / 288.4 MB, free: 5.875 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002634/0.003569, allocations: 248.5 kB / 288.6 MB, free: 5.609 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.602e-05/0.003595, allocations: 12.03 kB / 288.6 MB, free: 5.598 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.565e-05/0.003621, allocations: 4.938 kB / 288.6 MB, free: 5.594 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.596e-05/0.003697, allocations: 109.7 kB / 288.7 MB, free: 5.461 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.416e-06/0.003705, allocations: 384 / 288.7 MB, free: 5.461 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.788e-06/0.003715, allocations: 4.375 kB / 288.7 MB, free: 5.457 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.75e-05/0.003793, allocations: 51.97 kB / 288.8 MB, free: 5.395 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-06/0.003799, allocations: 192 / 288.8 MB, free: 5.395 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.44e-06/0.003804, allocations: 384 / 288.8 MB, free: 5.395 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.003811, allocations: 3.938 kB / 288.8 MB, free: 5.391 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.707e-06/0.00382, allocations: 8 kB / 288.8 MB, free: 5.383 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.912e-05/0.003879, allocations: 57.05 kB / 288.9 MB, free: 5.312 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.103e-05/0.00391, allocations: 26.53 kB / 288.9 MB, free: 5.277 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.018e-05/0.00392, allocations: 8.844 kB / 288.9 MB, free: 5.266 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.628e-06/0.003925, allocations: 3.938 kB / 288.9 MB, free: 5.262 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.003944, allocations: 34.62 kB / 288.9 MB, free: 5.219 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.003945, allocations: 0 / 288.9 MB, free: 5.219 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 7.251e-05/0.004018, allocations: 29.7 kB / 289 MB, free: 5.184 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.948e-05/0.004037, allocations: 51.41 kB / 289 MB, free: 5.121 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.05e-05/0.004088, allocations: 102.8 kB / 289.1 MB, free: 5.008 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.428e-06/0.004097, allocations: 33.77 kB / 289.1 MB, free: 4.969 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.027e-05/0.004117, allocations: 84.12 kB / 289.2 MB, free: 4.883 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.00414, allocations: 7.953 kB / 289.2 MB, free: 4.875 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.036e-05/0.00416, allocations: 13.72 kB / 289.2 MB, free: 4.855 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.79e-05/0.004228, allocations: 314.8 kB / 289.6 MB, free: 4.539 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.14e-06/0.004233, allocations: 0 / 289.6 MB, free: 4.539 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.253e-06/0.004241, allocations: 8 kB / 289.6 MB, free: 4.531 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.699e-05/0.004258, allocations: 8.844 kB / 289.6 MB, free: 4.52 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.004259, allocations: 0 / 289.6 MB, free: 4.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.322e-05/0.004292, allocations: 33.77 kB / 289.6 MB, free: 4.48 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.004305, allocations: 8 kB / 289.6 MB, free: 4.473 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.00431, allocations: 0 / 289.6 MB, free: 4.473 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.004321, allocations: 0 / 289.6 MB, free: 4.473 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.418e-05/0.004375, allocations: 3.938 kB / 289.6 MB, free: 4.469 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.575e-06/0.004378, allocations: 4 kB / 289.6 MB, free: 4.465 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.317e-06/0.004387, allocations: 3.938 kB / 289.6 MB, free: 4.461 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.004394, allocations: 0 / 289.6 MB, free: 4.461 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 (1): * Single equations (assignments): 1 * 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.01e-05/0.004444, allocations: 109.8 kB / 289.7 MB, free: 4.344 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.632e-06/0.00445, allocations: 4 kB / 289.7 MB, free: 4.34 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.445e-05/0.004545, allocations: 48.83 kB / 289.8 MB, free: 4.281 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.004547, allocations: 0 / 289.8 MB, free: 4.281 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.004549, allocations: 0 / 289.8 MB, free: 4.281 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.004551, allocations: 0 / 289.8 MB, free: 4.281 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.901e-05/0.0046, allocations: 69.84 kB / 289.8 MB, free: 4.195 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.004605, allocations: 0 / 289.8 MB, free: 4.195 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.71e-07/0.004605, allocations: 0 / 289.8 MB, free: 4.195 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.784e-06/0.004613, allocations: 7.984 kB / 289.9 MB, free: 4.188 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.004615, allocations: 8.031 kB / 289.9 MB, free: 4.18 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.477e-06/0.004619, allocations: 0 / 289.9 MB, free: 4.18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.004624, allocations: 0 / 289.9 MB, free: 4.18 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.004625, allocations: 7.875 kB / 289.9 MB, free: 4.172 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.399e-05/0.004669, allocations: 61.06 kB / 289.9 MB, free: 4.094 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.362e-06/0.004676, allocations: 0 / 289.9 MB, free: 4.094 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.895e-05/0.004725, allocations: 0 / 289.9 MB, free: 4.094 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.779e-06/0.004734, allocations: 7.984 kB / 289.9 MB, free: 4.086 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.004737, allocations: 0 / 289.9 MB, free: 4.086 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.297e-06/0.004747, allocations: 4.859 kB / 289.9 MB, free: 4.078 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004747, allocations: 4.125 kB / 289.9 MB, free: 4.074 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001469/0.004894, allocations: 43.94 kB / 290 MB, free: 4.031 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 0.0001788/0.005073, allocations: 124.3 kB / 290.1 MB, free: 3.902 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 5.027e-05/0.005123, allocations: 12.84 kB / 290.1 MB, free: 3.887 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.005126, allocations: 3.938 kB / 290.1 MB, free: 3.883 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.748e-05/0.005153, allocations: 38.56 kB / 290.2 MB, free: 3.836 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.137e-05/0.005214, allocations: 11.92 kB / 290.2 MB, free: 3.824 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001375/0.005352, allocations: 88.81 kB / 290.3 MB, free: 3.711 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.257e-05/0.005374, allocations: 63.34 kB / 290.3 MB, free: 3.629 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.355e-05/0.005388, allocations: 4 kB / 290.3 MB, free: 3.625 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.562e-05/0.005424, allocations: 51.38 kB / 290.4 MB, free: 3.574 MB / 282.7 MB Notification: Performance of SimCode: time 4.41e-07/0.005424, allocations: 0 / 290.4 MB, free: 3.574 MB / 282.7 MB Notification: Performance of Templates: time 0.002564/0.007988, allocations: 1.308 MB / 291.7 MB, free: 2.266 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.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.572072965092957]