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.001475/0.001476, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 202.7 kB / 16.79 MB, free: 6.84 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.396/1.396, allocations: 205.1 MB / 222.6 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3257/0.3257, allocations: 43.5 MB / 313.5 MB, free: 8.266 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.002289/0.002289, allocations: 62.56 kB / 382 MB, free: 8.496 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1185, allocations: 57.78 MB / 439.8 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001664/0.1202, allocations: 0.5542 MB / 440.4 MB, free: 14.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001806/0.122, allocations: 1.444 MB / 441.8 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.443e-05/0.1221, allocations: 0 / 441.8 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.538e-05/0.1221, allocations: 4 kB / 441.8 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.531e-05/0.1222, allocations: 0 / 441.8 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005552/0.1227, allocations: 163.6 kB / 442 MB, free: 12.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.565e-05/0.1228, allocations: 7.984 kB / 442 MB, free: 12.42 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.448e-05/0.1228, allocations: 4 kB / 442 MB, free: 12.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.686e-05/0.1228, allocations: 4 kB / 442 MB, free: 12.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.971e-05/0.1229, allocations: 11.92 kB / 442 MB, free: 12.4 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.1229, allocations: 0 / 442 MB, free: 12.4 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004328/0.1233, allocations: 263.6 kB / 442.3 MB, free: 12.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.378e-05/0.1234, allocations: 4 kB / 442.3 MB, free: 12.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.139e-05/0.1234, allocations: 11.97 kB / 442.3 MB, free: 12.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002129/0.1236, allocations: 135.7 kB / 442.4 MB, free: 11.99 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1236, allocations: 0 / 442.4 MB, free: 11.99 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1236, allocations: 3.938 kB / 442.4 MB, free: 11.99 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.1236, allocations: 0 / 442.4 MB, free: 11.99 MB / 382.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.0003746/0.124, allocations: 347.4 kB / 442.7 MB, free: 11.6 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.1241, allocations: 8.031 kB / 442.8 MB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.855e-05/0.1241, allocations: 0.9375 kB / 442.8 MB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.1242, allocations: 160.7 kB / 442.9 MB, free: 11.4 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.1242, allocations: 8.375 kB / 442.9 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.348e-06/0.1242, allocations: 384 / 442.9 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.722e-05/0.1243, allocations: 34.02 kB / 443 MB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.1243, allocations: 0 / 443 MB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.1243, allocations: 0 / 443 MB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.656e-06/0.1244, allocations: 0 / 443 MB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.402e-05/0.1244, allocations: 7.922 kB / 443 MB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000128/0.1245, allocations: 149.7 kB / 443.1 MB, free: 11.15 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.866e-05/0.1246, allocations: 18.67 kB / 443.1 MB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.652e-05/0.1246, allocations: 8.859 kB / 443.1 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.227e-06/0.1246, allocations: 0 / 443.1 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.1246, allocations: 38.48 kB / 443.2 MB, free: 11.06 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.1246, allocations: 0 / 443.2 MB, free: 11.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001261/0.1248, allocations: 41.64 kB / 443.2 MB, free: 11.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/0.1248, allocations: 51.41 kB / 443.3 MB, free: 10.95 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.965e-05/0.1249, allocations: 97.98 kB / 443.4 MB, free: 10.85 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.1249, allocations: 25.7 kB / 443.4 MB, free: 10.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.643e-05/0.1249, allocations: 84.12 kB / 443.5 MB, free: 10.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.357e-05/0.125, allocations: 7.844 kB / 443.5 MB, free: 10.72 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.819e-05/0.125, allocations: 17.72 kB / 443.5 MB, free: 10.7 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.078e-05/0.1251, allocations: 310.8 kB / 443.8 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.049e-05/0.1251, allocations: 0 / 443.8 MB, free: 10.39 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.887e-06/0.1251, allocations: 4 kB / 443.8 MB, free: 10.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.415e-05/0.1251, allocations: 13.05 kB / 443.8 MB, free: 10.37 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1252, allocations: 0 / 443.8 MB, free: 10.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.58e-05/0.1252, allocations: 41.62 kB / 443.9 MB, free: 10.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.1253, allocations: 11.94 kB / 443.9 MB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.1253, allocations: 0 / 443.9 MB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.1253, allocations: 0 / 443.9 MB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.667e-05/0.1253, allocations: 0 / 443.9 MB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.1253, allocations: 0 / 443.9 MB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.518e-05/0.1254, allocations: 7.938 kB / 443.9 MB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.1254, allocations: 4.031 kB / 443.9 MB, free: 10.3 MB / 382.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 6.561e-05/0.1255, allocations: 109.8 kB / 444 MB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.023e-05/0.1255, allocations: 3.938 kB / 444 MB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001171/0.1256, allocations: 52.75 kB / 444 MB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.1256, allocations: 7.938 kB / 444 MB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.1256, allocations: 4.031 kB / 444.1 MB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-06/0.1256, allocations: 0 / 444.1 MB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.523e-05/0.1257, allocations: 149.7 kB / 444.2 MB, free: 9.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.1257, allocations: 4 kB / 444.2 MB, free: 9.906 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-07/0.1257, allocations: 0 / 444.2 MB, free: 9.906 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1257, allocations: 3.938 kB / 444.2 MB, free: 9.902 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.89e-06/0.1258, allocations: 0 / 444.2 MB, free: 9.902 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1258, allocations: 0 / 444.2 MB, free: 9.902 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1258, allocations: 0 / 444.2 MB, free: 9.902 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.233e-05/0.1259, allocations: 65.12 kB / 444.3 MB, free: 9.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.411e-05/0.1259, allocations: 81.05 kB / 444.3 MB, free: 9.723 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.1259, allocations: 4 kB / 444.4 MB, free: 9.719 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.721e-05/0.126, allocations: 0 / 444.4 MB, free: 9.719 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.3e-05/0.126, allocations: 3.984 kB / 444.4 MB, free: 9.715 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.126, allocations: 4 kB / 444.4 MB, free: 9.711 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.551e-05/0.1261, allocations: 83.2 kB / 444.4 MB, free: 9.629 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1261, allocations: 0 / 444.4 MB, free: 9.629 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002455/0.1263, allocations: 44.12 kB / 444.5 MB, free: 9.586 MB / 382.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.0002505/0.1266, allocations: 139.2 kB / 444.6 MB, free: 9.441 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 6.731e-05/0.1266, allocations: 4 kB / 444.6 MB, free: 9.438 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1267, allocations: 0 / 444.6 MB, free: 9.438 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.991e-05/0.1267, allocations: 29.7 kB / 444.7 MB, free: 9.402 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001345/0.1268, allocations: 4 kB / 444.7 MB, free: 9.398 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001968/0.127, allocations: 98.75 kB / 444.8 MB, free: 9.277 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/0.1273, allocations: 0.6731 MB / 445.4 MB, free: 8.578 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.571e-05/0.1273, allocations: 0 / 445.4 MB, free: 8.578 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.28e-05/0.1274, allocations: 7.438 kB / 445.4 MB, free: 8.574 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1274, allocations: 0 / 445.4 MB, free: 8.574 MB / 382.1 MB Notification: Performance of Templates: time 0.003343/0.1307, allocations: 1.073 MB / 446.5 MB, free: 7.5 MB / 382.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/jenkins/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