Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001737/0.001737, allocations: 109.6 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002119/0.002119, allocations: 211.2 kB / 23.54 MB, free: 5.402 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 230.2 MB / 256.8 MB, free: 8.641 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2201/0.2201, allocations: 46.88 MB / 359.9 MB, free: 5.016 MB / 286.1 MB [Timeout remaining time 90] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") [Timeout 660] Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002242/0.002242, allocations: 79.86 kB / 0.4949 GB, free: 8.734 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.3011, allocations: 65.98 MB / 0.5594 GB, free: 5.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001703/0.3028, allocations: 0.493 MB / 0.5599 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00198/0.3047, allocations: 1.418 MB / 0.5612 GB, free: 3.281 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.934e-05/0.3048, allocations: 0 / 0.5612 GB, free: 3.281 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.205e-05/0.3048, allocations: 0 / 0.5612 GB, free: 3.281 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.834e-05/0.3048, allocations: 0 / 0.5612 GB, free: 3.281 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007437/0.3056, allocations: 227.4 kB / 0.5615 GB, free: 3.062 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.884e-05/0.3056, allocations: 8 kB / 0.5615 GB, free: 3.055 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.647e-05/0.3057, allocations: 3.984 kB / 0.5615 GB, free: 3.051 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.941e-05/0.3057, allocations: 4 kB / 0.5615 GB, free: 3.047 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.887e-05/0.3057, allocations: 0 / 0.5615 GB, free: 3.047 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.3057, allocations: 0 / 0.5615 GB, free: 3.047 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005166/0.3063, allocations: 287.6 kB / 0.5617 GB, free: 2.766 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.734e-05/0.3063, allocations: 4 kB / 0.5618 GB, free: 2.762 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.065e-05/0.3063, allocations: 3.938 kB / 0.5618 GB, free: 2.758 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002658/0.3066, allocations: 150 kB / 0.5619 GB, free: 2.617 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3066, allocations: 0 / 0.5619 GB, free: 2.617 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3066, allocations: 3.938 kB / 0.5619 GB, free: 2.613 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.3066, allocations: 0 / 0.5619 GB, free: 2.613 MB / 398.1 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.0004694/0.307, allocations: 335.4 kB / 0.5622 GB, free: 2.238 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.3071, allocations: 8.031 kB / 0.5622 GB, free: 2.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.347e-05/0.3071, allocations: 8.891 kB / 0.5622 GB, free: 2.223 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.3073, allocations: 164.4 kB / 0.5624 GB, free: 2.023 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.3073, allocations: 4.375 kB / 0.5624 GB, free: 2.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/0.3073, allocations: 4.375 kB / 0.5624 GB, free: 2.016 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.3074, allocations: 34.02 kB / 0.5624 GB, free: 1.977 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.3074, allocations: 0 / 0.5624 GB, free: 1.977 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.3074, allocations: 7.922 kB / 0.5624 GB, free: 1.969 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3074, allocations: 4 kB / 0.5624 GB, free: 1.965 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.821e-05/0.3075, allocations: 11.94 kB / 0.5625 GB, free: 1.953 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004012/0.3079, allocations: 244.9 kB / 0.5627 GB, free: 1.664 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.534e-05/0.3079, allocations: 14.58 kB / 0.5627 GB, free: 1.641 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.846e-05/0.3079, allocations: 4.859 kB / 0.5627 GB, free: 1.633 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.231e-05/0.3079, allocations: 4.062 kB / 0.5627 GB, free: 1.629 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.308, allocations: 34.56 kB / 0.5627 GB, free: 1.586 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.308, allocations: 0 / 0.5627 GB, free: 1.586 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001496/0.3081, allocations: 37.64 kB / 0.5628 GB, free: 1.543 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.303e-05/0.3082, allocations: 55.41 kB / 0.5628 GB, free: 1.477 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.415e-05/0.3083, allocations: 97.84 kB / 0.5629 GB, free: 1.371 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.3083, allocations: 25.7 kB / 0.563 GB, free: 1.34 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.53e-05/0.3083, allocations: 92.03 kB / 0.563 GB, free: 1.246 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.464e-06/0.3084, allocations: 3.953 kB / 0.563 GB, free: 1.242 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.28e-05/0.3084, allocations: 13.72 kB / 0.5631 GB, free: 1.223 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.3085, allocations: 327 kB / 0.5634 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.164e-05/0.3086, allocations: 0 / 0.5634 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.584e-05/0.3086, allocations: 18.58 kB / 0.5634 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.364e-05/0.3086, allocations: 30.52 kB / 0.5634 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.3086, allocations: 0 / 0.5634 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.059e-05/0.3087, allocations: 53.62 kB / 0.5635 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.3087, allocations: 4 kB / 0.5635 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.3087, allocations: 4 kB / 0.5635 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.3087, allocations: 0 / 0.5635 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.694e-05/0.3088, allocations: 4 kB / 0.5635 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.3088, allocations: 0 / 0.5635 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.993e-05/0.3088, allocations: 4 kB / 0.5635 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.3088, allocations: 0 / 0.5635 GB, free: 0.7539 MB / 398.1 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 8.614e-05/0.3089, allocations: 121.9 kB / 0.5636 GB, free: 0.625 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.202e-05/0.3089, allocations: 4.031 kB / 0.5636 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001092/0.309, allocations: 44.81 kB / 0.5636 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.309, allocations: 3.938 kB / 0.5636 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.309, allocations: 3.984 kB / 0.5637 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.309, allocations: 0 / 0.5637 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001531/0.3092, allocations: 157.6 kB / 0.5638 GB, free: 372 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.3092, allocations: 3.938 kB / 0.5638 GB, free: 368 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.3092, allocations: 4.031 kB / 0.5638 GB, free: 364 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.153e-06/0.3092, allocations: 0 / 0.5638 GB, free: 364 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.12e-06/0.3092, allocations: 0 / 0.5638 GB, free: 364 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.3092, allocations: 4 kB / 0.5638 GB, free: 360 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.3092, allocations: 3.984 kB / 0.5638 GB, free: 356 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001043/0.3093, allocations: 135.4 kB / 0.5639 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.137e-05/0.3094, allocations: 77.11 kB / 0.564 GB, free: 108 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.014e-05/0.3094, allocations: 4.031 kB / 0.564 GB, free: 104 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.441e-05/0.3094, allocations: 0 / 0.564 GB, free: 104 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.316e-05/0.3094, allocations: 3.984 kB / 0.564 GB, free: 100 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-06/0.3094, allocations: 4 kB / 0.564 GB, free: 96 kB / 398.1 MB Notification: Performance of sorting global known variables: time 3.614e-05/0.3095, allocations: 75.28 kB / 0.5641 GB, free: 20 kB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3095, allocations: 0 / 0.5641 GB, free: 20 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003037/0.3098, allocations: 43.98 kB / 0.5641 GB, free: 15.97 MB / 414.1 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.0002495/0.31, allocations: 135.1 kB / 0.5643 GB, free: 15.83 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 8.318e-05/0.3101, allocations: 20.03 kB / 0.5643 GB, free: 15.81 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3101, allocations: 0 / 0.5643 GB, free: 15.81 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.162e-05/0.3101, allocations: 25.7 kB / 0.5643 GB, free: 15.78 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.3103, allocations: 7.938 kB / 0.5643 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002455/0.3106, allocations: 118.7 kB / 0.5644 GB, free: 15.62 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.3109, allocations: 0.669 MB / 0.5651 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.994e-05/0.3109, allocations: 11.44 kB / 0.5651 GB, free: 14.92 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3109, allocations: 256 / 0.5651 GB, free: 14.92 MB / 414.1 MB Notification: Performance of Templates: time 0.002488/0.3134, allocations: 0.9367 MB / 0.566 GB, free: 13.98 MB / 414.1 MB [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/Test02RegFun3/Test02RegFun3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches