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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001155/0.001159, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.28/1.28, allocations: 226.7 MB / 245.5 MB, free: 6.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009635/0.0009635, allocations: 106.5 kB / 296.7 MB, free: 6.5 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3074/0.3074, allocations: 44.83 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 71.88 kB / 465.5 MB, free: 12.13 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2885, allocations: 62.01 MB / 0.5151 GB, free: 37.73 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001699/0.2902, allocations: 0.5638 MB / 0.5157 GB, free: 37.38 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001635/0.2919, allocations: 1.443 MB / 0.5171 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.384e-05/0.2919, allocations: 3.281 kB / 0.5171 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.676e-05/0.292, allocations: 0 / 0.5171 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 2.665e-05/0.292, allocations: 0 / 0.5171 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005116/0.2925, allocations: 149.5 kB / 0.5173 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.437e-05/0.2926, allocations: 9.938 kB / 0.5173 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.936e-05/0.2926, allocations: 2.719 kB / 0.5173 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.593e-05/0.2926, allocations: 0 / 0.5173 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.605e-05/0.2927, allocations: 14.11 kB / 0.5173 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.2927, allocations: 0 / 0.5173 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003571/0.2931, allocations: 271.2 kB / 0.5175 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.148e-05/0.2931, allocations: 0 / 0.5175 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.014e-05/0.2931, allocations: 7.938 kB / 0.5175 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001813/0.2933, allocations: 143.1 kB / 0.5177 GB, free: 36.18 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2933, allocations: 0 / 0.5177 GB, free: 36.18 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2933, allocations: 0 / 0.5177 GB, free: 36.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.2933, allocations: 0 / 0.5177 GB, free: 36.18 MB / 378.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.0003343/0.2937, allocations: 330.8 kB / 0.518 GB, free: 35.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.2937, allocations: 8.875 kB / 0.518 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.508e-05/0.2938, allocations: 8.219 kB / 0.518 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.946e-05/0.2939, allocations: 167.4 kB / 0.5182 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.2939, allocations: 384 / 0.5182 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.476e-06/0.2939, allocations: 384 / 0.5182 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.194e-05/0.294, allocations: 32.86 kB / 0.5182 GB, free: 35.58 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.294, allocations: 3.422 kB / 0.5182 GB, free: 35.58 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.294, allocations: 0 / 0.5182 GB, free: 35.58 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.294, allocations: 0 / 0.5182 GB, free: 35.58 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.927e-05/0.2941, allocations: 6.844 kB / 0.5182 GB, free: 35.58 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000106/0.2942, allocations: 152.9 kB / 0.5184 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.481e-05/0.2942, allocations: 20.83 kB / 0.5184 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.504e-05/0.2942, allocations: 8.797 kB / 0.5184 GB, free: 35.35 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.999e-06/0.2942, allocations: 3.984 kB / 0.5184 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.683e-05/0.2943, allocations: 37.34 kB / 0.5184 GB, free: 35.3 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.372e-06/0.2943, allocations: 0 / 0.5184 GB, free: 35.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001185/0.2944, allocations: 40.77 kB / 0.5185 GB, free: 35.26 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.531e-05/0.2944, allocations: 59.41 kB / 0.5185 GB, free: 35.19 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.341e-05/0.2945, allocations: 96.09 kB / 0.5186 GB, free: 35.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.564e-06/0.2945, allocations: 25.7 kB / 0.5186 GB, free: 35.06 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.312e-05/0.2945, allocations: 80.14 kB / 0.5187 GB, free: 34.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.275e-05/0.2945, allocations: 3.906 kB / 0.5187 GB, free: 34.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.243e-05/0.2946, allocations: 12.53 kB / 0.5187 GB, free: 34.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.974e-05/0.2946, allocations: 314.8 kB / 0.519 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.262e-05/0.2946, allocations: 10.95 kB / 0.519 GB, free: 34.64 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.833e-06/0.2947, allocations: 0 / 0.519 GB, free: 34.64 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.134e-05/0.2947, allocations: 10.55 kB / 0.5191 GB, free: 34.63 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2947, allocations: 3.938 kB / 0.5191 GB, free: 34.63 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.402e-05/0.2947, allocations: 31.48 kB / 0.5191 GB, free: 34.6 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.2948, allocations: 9.719 kB / 0.5191 GB, free: 34.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.2948, allocations: 0 / 0.5191 GB, free: 34.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.2948, allocations: 0 / 0.5191 GB, free: 34.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.76e-05/0.2949, allocations: 6.906 kB / 0.5191 GB, free: 34.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.2949, allocations: 3.281 kB / 0.5191 GB, free: 34.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.28e-05/0.2949, allocations: 4 kB / 0.5191 GB, free: 34.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.2949, allocations: 0 / 0.5191 GB, free: 34.59 MB / 378.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 4.393e-05/0.295, allocations: 115.7 kB / 0.5192 GB, free: 34.47 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.955e-06/0.295, allocations: 3.938 kB / 0.5192 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.2951, allocations: 51.97 kB / 0.5193 GB, free: 34.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.2951, allocations: 0 / 0.5193 GB, free: 34.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.2951, allocations: 2.938 kB / 0.5193 GB, free: 34.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.2951, allocations: 0 / 0.5193 GB, free: 34.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.415e-05/0.2952, allocations: 149.2 kB / 0.5194 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.2952, allocations: 2.906 kB / 0.5194 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.2952, allocations: 0 / 0.5194 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.2952, allocations: 3.938 kB / 0.5194 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.76e-06/0.2952, allocations: 0 / 0.5194 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2952, allocations: 2.812 kB / 0.5194 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2952, allocations: 0 / 0.5194 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001724/0.2954, allocations: 0.6065 MB / 0.52 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.667e-05/0.2954, allocations: 83.8 kB / 0.5201 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.2954, allocations: 4 kB / 0.5201 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.013e-05/0.2955, allocations: 6.781 kB / 0.5201 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.601e-05/0.2955, allocations: 3.406 kB / 0.5201 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.646e-06/0.2955, allocations: 7.938 kB / 0.5201 GB, free: 33.47 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.023e-05/0.2955, allocations: 78.25 kB / 0.5202 GB, free: 33.39 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2956, allocations: 0 / 0.5202 GB, free: 33.39 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003472/0.2959, allocations: 37.44 kB / 0.5202 GB, free: 33.39 MB / 378.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.0002296/0.2961, allocations: 140.8 kB / 0.5204 GB, free: 33.29 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 5.915e-05/0.2962, allocations: 9.719 kB / 0.5204 GB, free: 33.29 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2962, allocations: 160 / 0.5204 GB, free: 33.29 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.71e-05/0.2962, allocations: 35.83 kB / 0.5204 GB, free: 33.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001338/0.2964, allocations: 2.906 kB / 0.5204 GB, free: 33.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002311/0.2966, allocations: 181.5 kB / 0.5206 GB, free: 33.05 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/0.2967, allocations: 0.6717 MB / 0.5212 GB, free: 32.35 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.747e-05/0.2968, allocations: 2.594 kB / 0.5212 GB, free: 32.35 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.957e-06/0.2968, allocations: 7.438 kB / 0.5212 GB, free: 32.34 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2968, allocations: 64 / 0.5212 GB, free: 32.34 MB / 378.7 MB Notification: Performance of Templates: time 0.002726/0.2995, allocations: 1.083 MB / 0.5223 GB, free: 32.25 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches