Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001048/0.001048, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.183/1.183, allocations: 205.1 MB / 222.5 MB, free: 8.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009311/0.0009311, allocations: 94.3 kB / 269.9 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2948/0.2948, allocations: 43.49 MB / 360.7 MB, free: 51.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001015/0.001016, allocations: 47.92 kB / 429.2 MB, free: 6.406 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09912/0.1001, allocations: 57.78 MB / 487 MB, free: 12.56 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001642/0.1018, allocations: 0.5542 MB / 487.6 MB, free: 12 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001787/0.1036, allocations: 1.455 MB / 489 MB, free: 10.52 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.52e-05/0.1037, allocations: 0 / 489 MB, free: 10.52 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 2.108e-05/0.1037, allocations: 0 / 489 MB, free: 10.52 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 2.661e-05/0.1038, allocations: 0 / 489 MB, free: 10.52 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005432/0.1043, allocations: 151.7 kB / 489.2 MB, free: 10.38 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.807e-05/0.1044, allocations: 4 kB / 489.2 MB, free: 10.37 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.822e-05/0.1044, allocations: 3.984 kB / 489.2 MB, free: 10.37 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.743e-05/0.1044, allocations: 4 kB / 489.2 MB, free: 10.36 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.07e-05/0.1045, allocations: 7.875 kB / 489.2 MB, free: 10.36 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.1045, allocations: 0 / 489.2 MB, free: 10.36 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004009/0.1049, allocations: 271.6 kB / 489.4 MB, free: 10.09 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.156e-05/0.1049, allocations: 4 kB / 489.5 MB, free: 10.09 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.788e-05/0.1049, allocations: 0 / 489.5 MB, free: 10.09 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002063/0.1051, allocations: 139.7 kB / 489.6 MB, free: 9.949 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1052, allocations: 4 kB / 489.6 MB, free: 9.945 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1052, allocations: 4 kB / 489.6 MB, free: 9.941 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.146e-06/0.1052, allocations: 3.938 kB / 489.6 MB, free: 9.938 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.0003267/0.1055, allocations: 331.5 kB / 489.9 MB, free: 9.566 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.1055, allocations: 12.03 kB / 489.9 MB, free: 9.555 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.941e-05/0.1056, allocations: 0.9375 kB / 489.9 MB, free: 9.555 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.1057, allocations: 164.7 kB / 490.1 MB, free: 9.355 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.1057, allocations: 8.25 kB / 490.1 MB, free: 9.348 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.1057, allocations: 384 / 490.1 MB, free: 9.348 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.559e-05/0.1058, allocations: 42 kB / 490.1 MB, free: 9.301 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.1058, allocations: 3.984 kB / 490.2 MB, free: 9.297 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.1059, allocations: 0 / 490.2 MB, free: 9.297 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1059, allocations: 4 kB / 490.2 MB, free: 9.293 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.951e-05/0.1059, allocations: 0 / 490.2 MB, free: 9.293 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001403/0.106, allocations: 153.7 kB / 490.3 MB, free: 9.094 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.065e-05/0.1061, allocations: 22.52 kB / 490.3 MB, free: 9.062 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.758e-05/0.1061, allocations: 8.922 kB / 490.3 MB, free: 9.051 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.466e-06/0.1061, allocations: 0 / 490.3 MB, free: 9.051 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.1062, allocations: 34.5 kB / 490.4 MB, free: 9.008 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 7.42e-07/0.1062, allocations: 0 / 490.4 MB, free: 9.008 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001264/0.1063, allocations: 37.69 kB / 490.4 MB, free: 8.965 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/0.1063, allocations: 55.53 kB / 490.5 MB, free: 8.898 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.469e-05/0.1064, allocations: 97.86 kB / 490.6 MB, free: 8.793 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.1064, allocations: 25.7 kB / 490.6 MB, free: 8.762 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.492e-05/0.1065, allocations: 80.14 kB / 490.7 MB, free: 8.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.1065, allocations: 7.844 kB / 490.7 MB, free: 8.672 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.762e-05/0.1065, allocations: 17.66 kB / 490.7 MB, free: 8.648 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.279e-05/0.1066, allocations: 318.8 kB / 491 MB, free: 8.328 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.169e-05/0.1066, allocations: 4.125 kB / 491 MB, free: 8.324 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.662e-06/0.1066, allocations: 0 / 491 MB, free: 8.324 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.488e-05/0.1067, allocations: 8.859 kB / 491 MB, free: 8.312 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1067, allocations: 0 / 491 MB, free: 8.312 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.163e-05/0.1068, allocations: 33.7 kB / 491 MB, free: 8.273 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.1068, allocations: 7.938 kB / 491 MB, free: 8.266 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1068, allocations: 0 / 491 MB, free: 8.266 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.1068, allocations: 0 / 491 MB, free: 8.266 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.405e-05/0.1069, allocations: 4 kB / 491.1 MB, free: 8.262 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.1069, allocations: 15.95 kB / 491.1 MB, free: 8.246 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.248e-05/0.1069, allocations: 0 / 491.1 MB, free: 8.246 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.1069, allocations: 4 kB / 491.1 MB, free: 8.242 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 6.37e-05/0.107, allocations: 109.8 kB / 491.2 MB, free: 8.125 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.198e-05/0.107, allocations: 7.938 kB / 491.2 MB, free: 8.117 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001075/0.1071, allocations: 44.81 kB / 491.2 MB, free: 8.066 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.1071, allocations: 0 / 491.2 MB, free: 8.066 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.1072, allocations: 0 / 491.2 MB, free: 8.066 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-06/0.1072, allocations: 0 / 491.2 MB, free: 8.066 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.615e-05/0.1073, allocations: 149.7 kB / 491.4 MB, free: 7.871 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.932e-06/0.1073, allocations: 3.984 kB / 491.4 MB, free: 7.867 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-07/0.1073, allocations: 0 / 491.4 MB, free: 7.867 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/0.1073, allocations: 11.88 kB / 491.4 MB, free: 7.855 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.1073, allocations: 0 / 491.4 MB, free: 7.855 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1073, allocations: 0 / 491.4 MB, free: 7.855 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1073, allocations: 0 / 491.4 MB, free: 7.855 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002703/0.1076, allocations: 0.6045 MB / 492 MB, free: 7.191 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.387e-05/0.1076, allocations: 81.11 kB / 492.1 MB, free: 7.094 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.004e-05/0.1076, allocations: 3.938 kB / 492.1 MB, free: 7.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.33e-05/0.1077, allocations: 3.984 kB / 492.1 MB, free: 7.086 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.367e-05/0.1077, allocations: 0 / 492.1 MB, free: 7.086 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-06/0.1077, allocations: 8.031 kB / 492.1 MB, free: 7.078 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.551e-05/0.1078, allocations: 79.28 kB / 492.2 MB, free: 7 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1078, allocations: 0 / 492.2 MB, free: 7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003438/0.1081, allocations: 40 kB / 492.2 MB, free: 6.961 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.0002533/0.1084, allocations: 147.1 kB / 492.4 MB, free: 6.809 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 5.612e-05/0.1085, allocations: 12 kB / 492.4 MB, free: 6.797 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1085, allocations: 0 / 492.4 MB, free: 6.797 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.93e-05/0.1085, allocations: 29.86 kB / 492.4 MB, free: 6.762 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001369/0.1086, allocations: 4 kB / 492.4 MB, free: 6.758 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002456/0.1089, allocations: 193.2 kB / 492.6 MB, free: 6.531 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001933/0.1091, allocations: 0.677 MB / 493.3 MB, free: 5.828 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.628e-05/0.1091, allocations: 3.984 kB / 493.3 MB, free: 5.824 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.218e-05/0.1091, allocations: 11.44 kB / 493.3 MB, free: 5.812 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1091, allocations: 0 / 493.3 MB, free: 5.812 MB / 378.7 MB Notification: Performance of Templates: time 0.002875/0.112, allocations: 1.077 MB / 494.4 MB, free: 4.734 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches