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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 107.8 kB / 16.64 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 187.5 kB / 17.56 MB, free: 5.801 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.345/1.345, allocations: 205.1 MB / 223.4 MB, free: 12.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1922/0.1922, allocations: 43.51 MB / 314.3 MB, free: 0.6992 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002443/0.002443, allocations: 65.45 kB / 382.9 MB, free: 56.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1042, allocations: 57.79 MB / 440.6 MB, free: 7.348 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001685/0.106, allocations: 0.5641 MB / 441.2 MB, free: 6.777 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001354/0.1073, allocations: 1.399 MB / 442.6 MB, free: 5.359 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.777e-05/0.1074, allocations: 0 / 442.6 MB, free: 5.359 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.594e-05/0.1074, allocations: 0 / 442.6 MB, free: 5.359 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 2.458e-05/0.1074, allocations: 0 / 442.6 MB, free: 5.359 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006368/0.1081, allocations: 199.8 kB / 442.8 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.588e-05/0.1082, allocations: 4 kB / 442.8 MB, free: 5.164 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.113e-05/0.1082, allocations: 3.984 kB / 442.8 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.662e-05/0.1082, allocations: 4 kB / 442.8 MB, free: 5.156 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.295e-05/0.1083, allocations: 8 kB / 442.8 MB, free: 5.148 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.1083, allocations: 4 kB / 442.8 MB, free: 5.145 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003344/0.1086, allocations: 267.6 kB / 443.1 MB, free: 4.883 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.218e-05/0.1086, allocations: 7.922 kB / 443.1 MB, free: 4.875 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.852e-05/0.1087, allocations: 4 kB / 443.1 MB, free: 4.871 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001237/0.1088, allocations: 83.81 kB / 443.2 MB, free: 4.789 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1088, allocations: 0 / 443.2 MB, free: 4.789 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1088, allocations: 0 / 443.2 MB, free: 4.789 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.1088, allocations: 0 / 443.2 MB, free: 4.789 MB / 318.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.0002968/0.1091, allocations: 347.7 kB / 443.5 MB, free: 4.402 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.1092, allocations: 11.89 kB / 443.5 MB, free: 4.391 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.401e-05/0.1092, allocations: 0.9375 kB / 443.5 MB, free: 4.391 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.317e-05/0.1093, allocations: 164.4 kB / 443.7 MB, free: 4.191 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/0.1093, allocations: 384 / 443.7 MB, free: 4.191 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.903e-06/0.1093, allocations: 384 / 443.7 MB, free: 4.191 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.71e-05/0.1094, allocations: 38 kB / 443.7 MB, free: 4.148 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.1094, allocations: 0 / 443.7 MB, free: 4.148 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.1094, allocations: 3.938 kB / 443.7 MB, free: 4.145 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.1094, allocations: 7.938 kB / 443.7 MB, free: 4.137 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.038e-05/0.1095, allocations: 8 kB / 443.8 MB, free: 4.129 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001018/0.1096, allocations: 141.7 kB / 443.9 MB, free: 3.941 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.611e-05/0.1096, allocations: 22.59 kB / 443.9 MB, free: 3.91 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.561e-05/0.1096, allocations: 8.859 kB / 443.9 MB, free: 3.898 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.037e-06/0.1097, allocations: 0 / 443.9 MB, free: 3.898 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.658e-05/0.1097, allocations: 34.56 kB / 444 MB, free: 3.855 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.1097, allocations: 11.94 kB / 444 MB, free: 3.844 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001145/0.1098, allocations: 33.64 kB / 444 MB, free: 3.805 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.382e-05/0.1098, allocations: 51.41 kB / 444.1 MB, free: 3.742 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.542e-05/0.1099, allocations: 101.8 kB / 444.2 MB, free: 3.633 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.574e-06/0.1099, allocations: 25.7 kB / 444.2 MB, free: 3.602 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.213e-05/0.1099, allocations: 80.14 kB / 444.3 MB, free: 3.52 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.1099, allocations: 3.906 kB / 444.3 MB, free: 3.516 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.388e-05/0.11, allocations: 13.97 kB / 444.3 MB, free: 3.496 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.135e-05/0.11, allocations: 314.8 kB / 444.6 MB, free: 3.18 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.251e-05/0.11, allocations: 4 kB / 444.6 MB, free: 3.176 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.134e-06/0.11, allocations: 0 / 444.6 MB, free: 3.176 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.402e-05/0.1101, allocations: 16.8 kB / 444.6 MB, free: 3.156 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.1101, allocations: 0 / 444.6 MB, free: 3.156 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.649e-05/0.1101, allocations: 33.69 kB / 444.6 MB, free: 3.117 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.1102, allocations: 11.94 kB / 444.6 MB, free: 3.105 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.1102, allocations: 8.078 kB / 444.7 MB, free: 3.098 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.1102, allocations: 0 / 444.7 MB, free: 3.098 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.509e-05/0.1102, allocations: 0 / 444.7 MB, free: 3.098 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.1102, allocations: 4 kB / 444.7 MB, free: 3.094 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.272e-05/0.1103, allocations: 0 / 444.7 MB, free: 3.094 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.1103, allocations: 0 / 444.7 MB, free: 3.094 MB / 318.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 4.439e-05/0.1103, allocations: 109.8 kB / 444.8 MB, free: 2.977 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.079e-05/0.1103, allocations: 11.92 kB / 444.8 MB, free: 2.965 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001051/0.1105, allocations: 48.77 kB / 444.8 MB, free: 2.91 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1105, allocations: 0 / 444.8 MB, free: 2.91 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1105, allocations: 0 / 444.8 MB, free: 2.91 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.1105, allocations: 0 / 444.8 MB, free: 2.91 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.367e-05/0.1105, allocations: 153.7 kB / 445 MB, free: 2.711 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.1105, allocations: 0 / 445 MB, free: 2.711 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.92e-07/0.1106, allocations: 0 / 445 MB, free: 2.711 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1106, allocations: 3.938 kB / 445 MB, free: 2.707 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.1106, allocations: 0 / 445 MB, free: 2.707 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1106, allocations: 4.031 kB / 445 MB, free: 2.703 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.1106, allocations: 3.984 kB / 445 MB, free: 2.699 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.327e-05/0.1106, allocations: 57.14 kB / 445 MB, free: 2.625 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.519e-05/0.1107, allocations: 92.92 kB / 445.1 MB, free: 2.516 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.074e-05/0.1107, allocations: 3.938 kB / 445.1 MB, free: 2.512 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.555e-05/0.1107, allocations: 3.984 kB / 445.1 MB, free: 2.508 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.112e-05/0.1108, allocations: 4 kB / 445.1 MB, free: 2.504 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.1108, allocations: 4.031 kB / 445.1 MB, free: 2.5 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.685e-05/0.1108, allocations: 79.28 kB / 445.2 MB, free: 2.422 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1108, allocations: 0 / 445.2 MB, free: 2.422 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002327/0.111, allocations: 40 kB / 445.3 MB, free: 2.383 MB / 318.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.0002174/0.1113, allocations: 139.2 kB / 445.4 MB, free: 2.238 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 6.87e-05/0.1113, allocations: 12 kB / 445.4 MB, free: 2.227 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1113, allocations: 160 / 445.4 MB, free: 2.227 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.454e-05/0.1114, allocations: 29.7 kB / 445.4 MB, free: 2.191 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001448/0.1115, allocations: 5.031 kB / 445.4 MB, free: 2.188 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001895/0.1117, allocations: 114.6 kB / 445.6 MB, free: 2.043 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.35e-05/0.1118, allocations: 0.6729 MB / 446.2 MB, free: 1.344 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.346e-05/0.1119, allocations: 7.438 kB / 446.2 MB, free: 1.336 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1119, allocations: 0 / 446.2 MB, free: 1.336 MB / 318.1 MB Notification: Performance of Templates: time 0.002086/0.1139, allocations: 0.9144 MB / 447.2 MB, free: 432 kB / 318.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/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