Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.005409/0.005409, allocations: 106.8 kB / 21.98 MB, free: 5.223 MB / 14.72 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.001511/0.001511, allocations: 213.7 kB / 25.29 MB, free: 3.215 MB / 14.72 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 1.441/1.441, allocations: 230.5 MB / 258.9 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2258/0.2258, allocations: 46.93 MB / 362.3 MB, free: 4.273 MB / 286.1 MB " [Timeout remaining time 180] 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.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") [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.002301/0.002301, allocations: 79.86 kB / 0.4982 GB, free: 7.281 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.3129, allocations: 66.08 MB / 0.5627 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001661/0.3146, allocations: 0.4953 MB / 0.5632 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002057/0.3166, allocations: 1.416 MB / 0.5646 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.907e-05/0.3167, allocations: 0 / 0.5646 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.599e-05/0.3167, allocations: 3.938 kB / 0.5646 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.972e-05/0.3167, allocations: 0 / 0.5646 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007339/0.3175, allocations: 219.5 kB / 0.5648 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.604e-05/0.3175, allocations: 11.94 kB / 0.5648 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.497e-05/0.3176, allocations: 3.984 kB / 0.5648 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.551e-05/0.3176, allocations: 4 kB / 0.5648 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.984e-05/0.3176, allocations: 8 kB / 0.5648 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.3176, allocations: 0 / 0.5648 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004569/0.3181, allocations: 271.6 kB / 0.5651 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.272e-05/0.3181, allocations: 3.938 kB / 0.5651 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.146e-05/0.3181, allocations: 7.984 kB / 0.5651 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002371/0.3184, allocations: 139.4 kB / 0.5652 GB, free: 1.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.3184, allocations: 0 / 0.5652 GB, free: 1.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3184, allocations: 0 / 0.5652 GB, free: 1.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.3184, allocations: 0 / 0.5652 GB, free: 1.68 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004029/0.3188, allocations: 264.9 kB / 0.5655 GB, free: 1.395 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.3188, allocations: 16.03 kB / 0.5655 GB, free: 1.379 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.842e-05/0.3188, allocations: 0.9375 kB / 0.5655 GB, free: 1.379 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.319, allocations: 106.5 kB / 0.5656 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.406e-06/0.319, allocations: 4.375 kB / 0.5656 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.319, allocations: 8.312 kB / 0.5656 GB, free: 1.238 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.344e-05/0.3191, allocations: 34 kB / 0.5656 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.3191, allocations: 0 / 0.5656 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.3191, allocations: 4 kB / 0.5656 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-06/0.3191, allocations: 0 / 0.5656 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.845e-05/0.3191, allocations: 4 kB / 0.5656 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001682/0.3193, allocations: 128.7 kB / 0.5658 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.071e-05/0.3193, allocations: 18.52 kB / 0.5658 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.03e-05/0.3193, allocations: 8.953 kB / 0.5658 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.811e-06/0.3193, allocations: 0 / 0.5658 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.3194, allocations: 38.5 kB / 0.5658 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 7.42e-07/0.3194, allocations: 4 kB / 0.5658 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001424/0.3195, allocations: 33.7 kB / 0.5659 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/0.3196, allocations: 51.41 kB / 0.5659 GB, free: 0.832 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.058e-05/0.3196, allocations: 101.8 kB / 0.566 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.3197, allocations: 25.7 kB / 0.566 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.12e-05/0.3197, allocations: 84.14 kB / 0.5661 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.438e-05/0.3197, allocations: 7.891 kB / 0.5661 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.622e-05/0.3198, allocations: 13.97 kB / 0.5661 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.3199, allocations: 314.8 kB / 0.5664 GB, free: 268 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.47e-05/0.3199, allocations: 0 / 0.5664 GB, free: 268 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.359e-05/0.3199, allocations: 4 kB / 0.5664 GB, free: 264 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.104e-05/0.32, allocations: 12.84 kB / 0.5665 GB, free: 248 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.32, allocations: 0 / 0.5665 GB, free: 248 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.853e-05/0.32, allocations: 33.7 kB / 0.5665 GB, free: 208 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.3201, allocations: 7.938 kB / 0.5665 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-06/0.3201, allocations: 96 / 0.5665 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.3201, allocations: 8 kB / 0.5665 GB, free: 192 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.608e-05/0.3201, allocations: 3.938 kB / 0.5665 GB, free: 188 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.3201, allocations: 0 / 0.5665 GB, free: 188 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.773e-05/0.3202, allocations: 0 / 0.5665 GB, free: 188 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.3202, allocations: 4 kB / 0.5665 GB, free: 184 kB / 398.1 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 8.819e-05/0.3203, allocations: 113.8 kB / 0.5666 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.017e-05/0.3203, allocations: 3.938 kB / 0.5666 GB, free: 56 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001217/0.3204, allocations: 44.86 kB / 0.5667 GB, free: 0 / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3204, allocations: 0 / 0.5667 GB, free: 0 / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.3204, allocations: 128 / 0.5667 GB, free: 16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.3204, allocations: 11.92 kB / 0.5667 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.3205, allocations: 112.8 kB / 0.5668 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.3205, allocations: 4 kB / 0.5668 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.1e-07/0.3205, allocations: 0 / 0.5668 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.3205, allocations: 3.938 kB / 0.5668 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.109e-06/0.3205, allocations: 0 / 0.5668 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.3205, allocations: 8.031 kB / 0.5668 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.3205, allocations: 7.922 kB / 0.5668 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.734e-05/0.3206, allocations: 57.14 kB / 0.5669 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.204e-06/0.3206, allocations: 3.938 kB / 0.5669 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.045e-05/0.3206, allocations: 4 kB / 0.5669 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.744e-05/0.3207, allocations: 3.984 kB / 0.5669 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.856e-05/0.3207, allocations: 3.984 kB / 0.5669 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.3207, allocations: 8.031 kB / 0.5669 GB, free: 15.71 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.101e-05/0.3208, allocations: 79.28 kB / 0.567 GB, free: 15.63 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3208, allocations: 0 / 0.567 GB, free: 15.63 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002425/0.321, allocations: 39.94 kB / 0.567 GB, free: 15.59 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.0002553/0.3213, allocations: 131.2 kB / 0.5671 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 8.585e-05/0.3213, allocations: 15.81 kB / 0.5671 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3213, allocations: 0 / 0.5671 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.429e-05/0.3214, allocations: 33.86 kB / 0.5672 GB, free: 15.4 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001408/0.3215, allocations: 3.938 kB / 0.5672 GB, free: 15.4 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002449/0.3218, allocations: 110.7 kB / 0.5673 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.3221, allocations: 0.6729 MB / 0.5679 GB, free: 14.56 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.544e-05/0.3221, allocations: 7.438 kB / 0.5679 GB, free: 14.55 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3221, allocations: 0 / 0.5679 GB, free: 14.55 MB / 414.1 MB Notification: Performance of Templates: time 0.002643/0.3247, allocations: 0.914 MB / 0.5688 GB, free: 13.64 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.204599922057241]