Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.00174/0.00174, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 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.00201/0.00201, allocations: 207.2 kB / 24.47 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.399/1.399, allocations: 230.6 MB / 258.2 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2179/0.2179, allocations: 46.96 MB / 361.6 MB, free: 4.066 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 68.09 kB / 0.4973 GB, free: 7.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.2977, allocations: 66.03 MB / 0.5618 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001649/0.2993, allocations: 0.4993 MB / 0.5623 GB, free: 3.734 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001921/0.3013, allocations: 1.346 MB / 0.5636 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.498e-05/0.3013, allocations: 0 / 0.5636 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.805e-05/0.3013, allocations: 7.938 kB / 0.5636 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.765e-05/0.3013, allocations: 0 / 0.5636 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006892/0.302, allocations: 215.8 kB / 0.5638 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.007e-05/0.3021, allocations: 7.938 kB / 0.5638 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.351e-05/0.3021, allocations: 4 kB / 0.5638 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.057e-05/0.3021, allocations: 4 kB / 0.5638 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.139e-05/0.3022, allocations: 3.984 kB / 0.5638 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.3022, allocations: 4 kB / 0.5638 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004352/0.3026, allocations: 275.6 kB / 0.5641 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.096e-05/0.3026, allocations: 0 / 0.5641 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.586e-05/0.3027, allocations: 7.938 kB / 0.5641 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002341/0.3029, allocations: 150 kB / 0.5642 GB, free: 1.711 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3029, allocations: 0 / 0.5642 GB, free: 1.711 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3029, allocations: 0 / 0.5642 GB, free: 1.711 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.3029, allocations: 0 / 0.5642 GB, free: 1.711 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.0004382/0.3033, allocations: 258.2 kB / 0.5645 GB, free: 1.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.3034, allocations: 12.03 kB / 0.5645 GB, free: 1.418 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.766e-05/0.3034, allocations: 4.875 kB / 0.5645 GB, free: 1.414 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.3035, allocations: 106.5 kB / 0.5646 GB, free: 1.285 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.3036, allocations: 384 / 0.5646 GB, free: 1.285 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.968e-06/0.3036, allocations: 8.375 kB / 0.5646 GB, free: 1.277 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.3037, allocations: 59.7 kB / 0.5647 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.575e-06/0.3037, allocations: 4 kB / 0.5647 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.3037, allocations: 3.984 kB / 0.5647 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.3037, allocations: 0 / 0.5647 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.128e-05/0.3037, allocations: 0 / 0.5647 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001353/0.3039, allocations: 101.3 kB / 0.5648 GB, free: 1.07 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.389e-05/0.3039, allocations: 22.55 kB / 0.5648 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.835e-05/0.3039, allocations: 8.797 kB / 0.5648 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.813e-06/0.304, allocations: 0 / 0.5648 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.304, allocations: 38.62 kB / 0.5648 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 7.21e-07/0.304, allocations: 0 / 0.5648 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001537/0.3041, allocations: 41.62 kB / 0.5649 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.3042, allocations: 55.34 kB / 0.5649 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.3043, allocations: 93.86 kB / 0.565 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.3043, allocations: 25.7 kB / 0.565 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.889e-05/0.3044, allocations: 84.08 kB / 0.5651 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.299e-05/0.3044, allocations: 7.953 kB / 0.5651 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.014e-05/0.3044, allocations: 13.7 kB / 0.5652 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.3046, allocations: 319.1 kB / 0.5655 GB, free: 308 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.087e-05/0.3046, allocations: 4 kB / 0.5655 GB, free: 304 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.632e-06/0.3046, allocations: 0 / 0.5655 GB, free: 304 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.799e-05/0.3046, allocations: 8.859 kB / 0.5655 GB, free: 292 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.3046, allocations: 0 / 0.5655 GB, free: 292 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.906e-05/0.3047, allocations: 33.7 kB / 0.5655 GB, free: 252 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.3047, allocations: 7.984 kB / 0.5655 GB, free: 244 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.3047, allocations: 7.875 kB / 0.5655 GB, free: 236 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.3047, allocations: 0 / 0.5655 GB, free: 236 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.011e-05/0.3048, allocations: 4 kB / 0.5655 GB, free: 232 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.3048, allocations: 4.094 kB / 0.5655 GB, free: 228 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.286e-05/0.3048, allocations: 0 / 0.5655 GB, free: 228 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.3048, allocations: 3.984 kB / 0.5655 GB, free: 224 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.763e-05/0.3049, allocations: 117.8 kB / 0.5656 GB, free: 96 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.955e-06/0.3049, allocations: 0 / 0.5656 GB, free: 96 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001269/0.305, allocations: 44.78 kB / 0.5657 GB, free: 40 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.305, allocations: 0 / 0.5657 GB, free: 40 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.305, allocations: 4.031 kB / 0.5657 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3051, allocations: 4 kB / 0.5657 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001035/0.3052, allocations: 97.33 kB / 0.5658 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.3052, allocations: 0 / 0.5658 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.444e-06/0.3052, allocations: 11.98 kB / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.3052, allocations: 0 / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.3052, allocations: 0 / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.3052, allocations: 7.875 kB / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3052, allocations: 3.938 kB / 0.5658 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.704e-05/0.3053, allocations: 57.14 kB / 0.5659 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.62e-06/0.3053, allocations: 8.031 kB / 0.5659 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.3053, allocations: 3.984 kB / 0.5659 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.092e-05/0.3054, allocations: 3.938 kB / 0.5659 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.453e-05/0.3054, allocations: 4 kB / 0.5659 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.3054, allocations: 0 / 0.5659 GB, free: 15.79 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.461e-05/0.3054, allocations: 75.28 kB / 0.5659 GB, free: 15.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3054, allocations: 0 / 0.5659 GB, free: 15.71 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002422/0.3057, allocations: 43.92 kB / 0.566 GB, free: 15.67 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.0002951/0.306, allocations: 135.2 kB / 0.5661 GB, free: 15.53 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 8.194e-05/0.306, allocations: 20.03 kB / 0.5661 GB, free: 15.51 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.306, allocations: 0 / 0.5661 GB, free: 15.51 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.778e-05/0.3061, allocations: 25.7 kB / 0.5662 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001447/0.3062, allocations: 11.92 kB / 0.5662 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002538/0.3065, allocations: 81 kB / 0.5663 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.622e-05/0.3065, allocations: 59.34 kB / 0.5663 GB, free: 15.28 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.635e-05/0.3065, allocations: 4 kB / 0.5663 GB, free: 15.28 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.88e-05/0.3066, allocations: 7.438 kB / 0.5663 GB, free: 15.27 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3066, allocations: 4.125 kB / 0.5663 GB, free: 15.27 MB / 414.1 MB Notification: Performance of Templates: time 0.003686/0.3103, allocations: 1.088 MB / 0.5674 GB, free: 14.18 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_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: 4.674153484011185]