Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.0007017/0.0007017, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009494/0.001651, allocations: 457.8 kB / 10.45 MB, free: 244 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.0006768/0.0006768, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008854/0.001562, allocations: 475.6 kB / 11.82 MB, free: 2.348 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.8868/0.8868, allocations: 177.5 MB / 190 MB, free: 4.812 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07653/0.9633, allocations: 53.86 MB / 243.9 MB, free: 14.88 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.2603/0.2603, allocations: 34.89 MB / 279.5 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02166/0.282, allocations: 13.23 MB / 292.8 MB, free: 6.414 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.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 294.1 MB, free: 5.137 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.963e-05/2.114e-05, allocations: 2.969 kB / 294.1 MB, free: 5.133 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001827/0.001848, allocations: 0.5464 MB / 294.6 MB, free: 4.59 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00787/0.009718, allocations: 1.397 MB / 296 MB, free: 3.176 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.702e-05/0.009735, allocations: 4 kB / 296 MB, free: 3.172 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.883e-06/0.009742, allocations: 0 / 296 MB, free: 3.172 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.227e-05/0.009754, allocations: 4 kB / 296 MB, free: 3.168 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004888/0.01024, allocations: 171.4 kB / 296.2 MB, free: 3 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.273e-05/0.0103, allocations: 8 kB / 296.2 MB, free: 2.992 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.195e-05/0.01034, allocations: 15.92 kB / 296.2 MB, free: 2.977 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.706e-05/0.01038, allocations: 4 kB / 296.2 MB, free: 2.973 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.27e-05/0.01044, allocations: 0 / 296.2 MB, free: 2.973 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.01045, allocations: 0 / 296.2 MB, free: 2.973 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005298/0.01098, allocations: 304.1 kB / 296.5 MB, free: 2.676 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.409e-05/0.011, allocations: 3.938 kB / 296.5 MB, free: 2.672 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.43e-05/0.01101, allocations: 11.94 kB / 296.5 MB, free: 2.66 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002279/0.01124, allocations: 131.8 kB / 296.7 MB, free: 2.531 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.115e-05/0.01125, allocations: 0 / 296.7 MB, free: 2.531 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.01125, allocations: 0 / 296.7 MB, free: 2.531 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.507e-06/0.01126, allocations: 0 / 296.7 MB, free: 2.531 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.0003175/0.01158, allocations: 253.2 kB / 296.9 MB, free: 2.262 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.01161, allocations: 8.922 kB / 296.9 MB, free: 2.254 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.875e-05/0.01164, allocations: 0.9375 kB / 296.9 MB, free: 2.254 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.964e-05/0.01173, allocations: 110.2 kB / 297 MB, free: 2.121 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.867e-06/0.01174, allocations: 384 / 297 MB, free: 2.121 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.01175, allocations: 8.375 kB / 297 MB, free: 2.113 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.276e-05/0.01183, allocations: 59.95 kB / 297.1 MB, free: 2.043 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.131e-06/0.01184, allocations: 192 / 297.1 MB, free: 2.043 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.292e-06/0.01184, allocations: 384 / 297.1 MB, free: 2.043 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.01185, allocations: 3.938 kB / 297.1 MB, free: 2.039 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.149e-05/0.01186, allocations: 8 kB / 297.1 MB, free: 2.031 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006104/0.01796, allocations: 53.05 kB / 297.2 MB, free: 1.965 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.008e-05/0.01801, allocations: 22.55 kB / 297.2 MB, free: 1.934 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.594e-05/0.01803, allocations: 8.844 kB / 297.2 MB, free: 1.922 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.612e-06/0.01804, allocations: 0 / 297.2 MB, free: 1.922 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.01806, allocations: 34.56 kB / 297.2 MB, free: 1.879 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 1.323e-06/0.01806, allocations: 4.062 kB / 297.2 MB, free: 1.875 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 9.927e-05/0.01816, allocations: 29.7 kB / 297.3 MB, free: 1.84 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.901e-05/0.01819, allocations: 55.41 kB / 297.3 MB, free: 1.773 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.342e-05/0.01825, allocations: 102.7 kB / 297.4 MB, free: 1.66 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.01827, allocations: 29.69 kB / 297.4 MB, free: 1.625 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.346e-05/0.01829, allocations: 84.08 kB / 297.5 MB, free: 1.539 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.555e-05/0.01832, allocations: 7.938 kB / 297.5 MB, free: 1.531 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.107e-05/0.01835, allocations: 13.72 kB / 297.5 MB, free: 1.512 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.299e-05/0.01843, allocations: 315 kB / 297.8 MB, free: 1.195 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.126e-06/0.01844, allocations: 4 kB / 297.8 MB, free: 1.191 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.184e-06/0.01845, allocations: 0 / 297.8 MB, free: 1.191 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.48e-05/0.01847, allocations: 8.859 kB / 297.9 MB, free: 1.18 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.01847, allocations: 0 / 297.9 MB, free: 1.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.939e-05/0.01852, allocations: 33.69 kB / 297.9 MB, free: 1.141 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.01854, allocations: 8 kB / 297.9 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.01854, allocations: 0 / 297.9 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.01855, allocations: 0 / 297.9 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.631e-05/0.01862, allocations: 3.938 kB / 297.9 MB, free: 1.129 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.945e-06/0.01862, allocations: 4.094 kB / 297.9 MB, free: 1.125 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.403e-05/0.01864, allocations: 3.938 kB / 297.9 MB, free: 1.121 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.01864, allocations: 4 kB / 297.9 MB, free: 1.117 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.573e-05/0.0187, allocations: 109.8 kB / 298 MB, free: 1 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.927e-06/0.01871, allocations: 0 / 298 MB, free: 1 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001148/0.01882, allocations: 40.86 kB / 298.1 MB, free: 0.957 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.01883, allocations: 0 / 298.1 MB, free: 0.957 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-06/0.01883, allocations: 4.031 kB / 298.1 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.01883, allocations: 3.984 kB / 298.1 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.006e-05/0.01889, allocations: 65.84 kB / 298.1 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.0189, allocations: 0 / 298.1 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.21e-07/0.0189, allocations: 0 / 298.1 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.12e-06/0.0189, allocations: 0 / 298.1 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.01891, allocations: 0 / 298.1 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.599e-06/0.01891, allocations: 4 kB / 298.1 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.01891, allocations: 0 / 298.1 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01891, allocations: 0 / 298.1 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.496e-05/0.01897, allocations: 68.98 kB / 298.2 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.217e-06/0.01898, allocations: 8 kB / 298.2 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.332e-05/0.01903, allocations: 0 / 298.2 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.847e-06/0.01904, allocations: 0 / 298.2 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.633e-06/0.01905, allocations: 11.94 kB / 298.2 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.143e-05/0.01906, allocations: 8.844 kB / 298.2 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01906, allocations: 0 / 298.2 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002157/0.01927, allocations: 39.94 kB / 298.3 MB, free: 0.707 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.0002339/0.01951, allocations: 132.2 kB / 298.4 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 5.148e-05/0.01956, allocations: 16.98 kB / 298.4 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.01956, allocations: 0 / 298.4 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.023e-05/0.01959, allocations: 34.5 kB / 298.5 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.372e-05/0.01967, allocations: 11.92 kB / 298.5 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001719/0.01984, allocations: 97.5 kB / 298.6 MB, free: 380 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.8e-05/0.01987, allocations: 55.34 kB / 298.6 MB, free: 304 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.781e-05/0.01988, allocations: 4 kB / 298.6 MB, free: 300 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.743e-05/0.01993, allocations: 59.55 kB / 298.7 MB, free: 240 kB / 282.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01993, allocations: 4 kB / 298.7 MB, free: 236 kB / 282.7 MB Notification: Performance of Templates: time 0.009576/0.02951, allocations: 1.303 MB / 300 MB, free: 14.94 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.6385527681559324]