Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.0009954/0.0009954, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.0009366/0.0009366, allocations: 169 kB / 24.25 MB, free: 308 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.8217/0.8217, allocations: 158.6 MB / 186 MB, free: 2.906 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.1194/0.1194, allocations: 32.37 MB / 270.7 MB, free: 14.77 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.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.042e-06/1.042e-06, allocations: 0 / 347.6 MB, free: 9.793 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.362e-05/1.466e-05, allocations: 6.25 kB / 347.6 MB, free: 9.785 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.0008251/0.0008397, allocations: 0.5189 MB / 348.2 MB, free: 9.273 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.001974, allocations: 1.374 MB / 349.5 MB, free: 7.875 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.446e-05/0.001998, allocations: 0 / 349.5 MB, free: 7.875 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.229e-05/0.002021, allocations: 3.938 kB / 349.5 MB, free: 7.871 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.518e-05/0.002046, allocations: 0 / 349.5 MB, free: 7.871 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004542/0.0025, allocations: 219.9 kB / 349.8 MB, free: 7.656 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.977e-05/0.00255, allocations: 11.94 kB / 349.8 MB, free: 7.645 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.342e-05/0.002583, allocations: 4 kB / 349.8 MB, free: 7.641 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.572e-05/0.002609, allocations: 3.984 kB / 349.8 MB, free: 7.637 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.119e-05/0.00265, allocations: 8 kB / 349.8 MB, free: 7.629 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.244e-05/0.002663, allocations: 0 / 349.8 MB, free: 7.629 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002669/0.002929, allocations: 263.6 kB / 350 MB, free: 7.371 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.124e-05/0.002941, allocations: 0 / 350 MB, free: 7.371 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.582e-05/0.002957, allocations: 4 kB / 350 MB, free: 7.367 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001895/0.003146, allocations: 195.5 kB / 350.2 MB, free: 7.176 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.003148, allocations: 0 / 350.2 MB, free: 7.176 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.003149, allocations: 0 / 350.2 MB, free: 7.176 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.003153, allocations: 7.938 kB / 350.2 MB, free: 7.168 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.0002233/0.003376, allocations: 364.2 kB / 350.6 MB, free: 6.777 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.003408, allocations: 12.03 kB / 350.6 MB, free: 6.766 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.368e-05/0.003442, allocations: 0.9375 kB / 350.6 MB, free: 6.766 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.223e-05/0.003484, allocations: 108.6 kB / 350.7 MB, free: 6.633 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.003494, allocations: 384 / 350.7 MB, free: 6.633 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.685e-06/0.003502, allocations: 384 / 350.7 MB, free: 6.633 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.686e-05/0.003589, allocations: 67.95 kB / 350.8 MB, free: 6.555 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.801e-06/0.003595, allocations: 192 / 350.8 MB, free: 6.555 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.003603, allocations: 384 / 350.8 MB, free: 6.555 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.00361, allocations: 3.938 kB / 350.8 MB, free: 6.551 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.049e-05/0.00363, allocations: 7.938 kB / 350.8 MB, free: 6.543 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002292/0.003859, allocations: 248.1 kB / 351 MB, free: 6.266 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.173e-05/0.003891, allocations: 31.06 kB / 351.1 MB, free: 6.223 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.57e-05/0.003907, allocations: 7.688 kB / 351.1 MB, free: 6.211 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.212e-06/0.003913, allocations: 0 / 351.1 MB, free: 6.211 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.003933, allocations: 45.39 kB / 351.1 MB, free: 6.156 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 7.01e-07/0.003934, allocations: 0 / 351.1 MB, free: 6.156 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001108/0.004045, allocations: 37.62 kB / 351.2 MB, free: 6.113 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.765e-05/0.004063, allocations: 51.41 kB / 351.2 MB, free: 6.051 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.581e-05/0.004108, allocations: 157.9 kB / 351.4 MB, free: 5.879 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.539e-06/0.004113, allocations: 25.7 kB / 351.4 MB, free: 5.848 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.218e-05/0.004135, allocations: 139.1 kB / 351.5 MB, free: 5.707 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.808e-06/0.004139, allocations: 0 / 351.5 MB, free: 5.707 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.882e-05/0.004158, allocations: 19.38 kB / 351.5 MB, free: 5.68 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.518e-05/0.004193, allocations: 0.4884 MB / 352 MB, free: 5.18 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.845e-06/0.004201, allocations: 0 / 352 MB, free: 5.18 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.419e-05/0.004215, allocations: 27.06 kB / 352.1 MB, free: 5.141 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.23e-05/0.004237, allocations: 39 kB / 352.1 MB, free: 5.09 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.004239, allocations: 0 / 352.1 MB, free: 5.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 3.721e-05/0.004276, allocations: 57.52 kB / 352.2 MB, free: 5.027 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.004287, allocations: 4 kB / 352.2 MB, free: 5.023 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.004291, allocations: 4 kB / 352.2 MB, free: 5.02 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.004302, allocations: 0 / 352.2 MB, free: 5.02 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.66e-05/0.004339, allocations: 4 kB / 352.2 MB, free: 5.016 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.004344, allocations: 7.922 kB / 352.2 MB, free: 5.008 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.112e-05/0.004355, allocations: 8 kB / 352.2 MB, free: 5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.379e-06/0.00436, allocations: 0 / 352.2 MB, free: 5 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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 3.263e-05/0.004392, allocations: 160.5 kB / 352.3 MB, free: 4.832 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.161e-05/0.004404, allocations: 8.031 kB / 352.3 MB, free: 4.824 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.705e-05/0.004481, allocations: 52.86 kB / 352.4 MB, free: 4.766 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.004483, allocations: 0 / 352.4 MB, free: 4.766 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.004486, allocations: 4 kB / 352.4 MB, free: 4.762 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.004488, allocations: 0 / 352.4 MB, free: 4.762 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.72e-05/0.004546, allocations: 108.6 kB / 352.5 MB, free: 4.621 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.004548, allocations: 0 / 352.5 MB, free: 4.621 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.004549, allocations: 0 / 352.5 MB, free: 4.621 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-06/0.00455, allocations: 4.031 kB / 352.5 MB, free: 4.617 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/0.004556, allocations: 7.938 kB / 352.5 MB, free: 4.609 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.4e-07/0.004556, allocations: 0 / 352.5 MB, free: 4.609 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.004557, allocations: 0 / 352.5 MB, free: 4.609 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.269e-05/0.004599, allocations: 187.9 kB / 352.7 MB, free: 4.406 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.079e-06/0.004604, allocations: 0 / 352.7 MB, free: 4.406 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.316e-06/0.004613, allocations: 7.938 kB / 352.7 MB, free: 4.398 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.091e-05/0.004644, allocations: 0 / 352.7 MB, free: 4.398 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.247e-05/0.004656, allocations: 3.984 kB / 352.7 MB, free: 4.395 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.004659, allocations: 0 / 352.7 MB, free: 4.395 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.352e-05/0.004672, allocations: 127.2 kB / 352.8 MB, free: 4.27 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004672, allocations: 0 / 352.8 MB, free: 4.27 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001845/0.004857, allocations: 39.94 kB / 352.9 MB, free: 4.23 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.0001624/0.005019, allocations: 147.1 kB / 353 MB, free: 4.078 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 5.778e-05/0.005077, allocations: 19.62 kB / 353 MB, free: 4.055 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.005078, allocations: 0 / 353 MB, free: 4.055 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.026e-05/0.005098, allocations: 37.39 kB / 353.1 MB, free: 4.008 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000141/0.005239, allocations: 4 kB / 353.1 MB, free: 4.004 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000151/0.00539, allocations: 105.8 kB / 353.2 MB, free: 3.875 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.818e-05/0.005409, allocations: 51.36 kB / 353.2 MB, free: 3.805 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.726e-05/0.005426, allocations: 0 / 353.2 MB, free: 3.805 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.134e-05/0.005437, allocations: 16.44 kB / 353.3 MB, free: 3.789 MB / 282.7 MB Notification: Performance of SimCode: time 6.41e-07/0.005438, allocations: 0 / 353.3 MB, free: 3.789 MB / 282.7 MB Notification: Performance of Templates: time 0.002216/0.007654, allocations: 1.128 MB / 354.4 MB, free: 2.664 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/Test02RegFun3/Test02RegFun3.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.8205874571576715]