Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001372/0.001372, 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.001125/0.001125, allocations: 204.5 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.331/1.331, allocations: 205.1 MB / 222.6 MB, free: 4.773 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.3151/0.3151, allocations: 43.5 MB / 313.5 MB, free: 8.582 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.001344/0.001344, allocations: 63.91 kB / 382 MB, free: 8.738 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1045, allocations: 57.79 MB / 439.8 MB, free: 14.85 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001516/0.1061, allocations: 0.5542 MB / 440.4 MB, free: 14.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001591/0.1077, allocations: 1.444 MB / 441.8 MB, free: 12.83 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.371e-05/0.1077, allocations: 3.938 kB / 441.8 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.662e-05/0.1077, allocations: 0 / 441.8 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.571e-05/0.1078, allocations: 0 / 441.8 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005049/0.1083, allocations: 163.7 kB / 442 MB, free: 12.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.273e-05/0.1083, allocations: 4 kB / 442 MB, free: 12.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.489e-05/0.1084, allocations: 0 / 442 MB, free: 12.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.916e-05/0.1084, allocations: 11.92 kB / 442 MB, free: 12.65 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.687e-05/0.1084, allocations: 3.984 kB / 442 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/0.1084, allocations: 4 kB / 442 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003654/0.1088, allocations: 267.6 kB / 442.3 MB, free: 12.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.232e-05/0.1088, allocations: 4 kB / 442.3 MB, free: 12.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.8e-05/0.1089, allocations: 3.984 kB / 442.3 MB, free: 12.37 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.109, allocations: 139.7 kB / 442.4 MB, free: 12.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.1091, allocations: 3.984 kB / 442.4 MB, free: 12.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1091, allocations: 4 kB / 442.4 MB, free: 12.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.796e-06/0.1091, allocations: 0 / 442.4 MB, free: 12.23 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003099/0.1094, allocations: 331.6 kB / 442.7 MB, free: 11.86 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.1094, allocations: 16.03 kB / 442.7 MB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.943e-05/0.1095, allocations: 4.844 kB / 442.8 MB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.273e-05/0.1095, allocations: 160.4 kB / 442.9 MB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.1096, allocations: 4.375 kB / 442.9 MB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.035e-06/0.1096, allocations: 4.375 kB / 442.9 MB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.984e-05/0.1097, allocations: 38 kB / 443 MB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.1097, allocations: 0 / 443 MB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.814e-06/0.1097, allocations: 3.938 kB / 443 MB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-06/0.1097, allocations: 0 / 443 MB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.906e-05/0.1097, allocations: 12 kB / 443 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003033/0.11, allocations: 241.2 kB / 443.2 MB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.393e-05/0.1101, allocations: 18.58 kB / 443.2 MB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.66e-05/0.1101, allocations: 8.859 kB / 443.2 MB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.935e-06/0.1101, allocations: 0 / 443.2 MB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.1102, allocations: 38.56 kB / 443.3 MB, free: 11.2 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 7.72e-07/0.1102, allocations: 4 kB / 443.3 MB, free: 11.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001335/0.1103, allocations: 33.69 kB / 443.3 MB, free: 11.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.1103, allocations: 51.41 kB / 443.4 MB, free: 11.1 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.655e-05/0.1104, allocations: 101.8 kB / 443.5 MB, free: 10.99 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.1104, allocations: 25.7 kB / 443.5 MB, free: 10.96 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.874e-05/0.1105, allocations: 84.05 kB / 443.6 MB, free: 10.87 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.119e-06/0.1105, allocations: 4 kB / 443.6 MB, free: 10.87 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.24e-05/0.1105, allocations: 21.95 kB / 443.6 MB, free: 10.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.1107, allocations: 318.8 kB / 443.9 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.015e-05/0.1107, allocations: 0 / 443.9 MB, free: 10.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.368e-05/0.1107, allocations: 22.52 kB / 443.9 MB, free: 10.49 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.598e-05/0.1107, allocations: 38.44 kB / 444 MB, free: 10.44 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.1107, allocations: 4 kB / 444 MB, free: 10.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.384e-05/0.1108, allocations: 49.55 kB / 444 MB, free: 10.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.1108, allocations: 4 kB / 444 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.1108, allocations: 0 / 444 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.1109, allocations: 4 kB / 444 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.632e-05/0.1109, allocations: 7.984 kB / 444 MB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.1109, allocations: 3.938 kB / 444 MB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.556e-05/0.1109, allocations: 0 / 444 MB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.111, allocations: 4 kB / 444 MB, free: 10.36 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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 5.536e-05/0.111, allocations: 117.8 kB / 444.2 MB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.318e-05/0.111, allocations: 4 kB / 444.2 MB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.762e-05/0.1111, allocations: 48.81 kB / 444.2 MB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.1112, allocations: 0 / 444.2 MB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1112, allocations: 96 / 444.2 MB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1112, allocations: 3.984 kB / 444.2 MB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001338/0.1113, allocations: 149.6 kB / 444.4 MB, free: 9.977 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.1113, allocations: 8.016 kB / 444.4 MB, free: 9.969 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.1113, allocations: 0 / 444.4 MB, free: 9.969 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.1113, allocations: 0 / 444.4 MB, free: 9.969 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.1113, allocations: 0 / 444.4 MB, free: 9.969 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.1114, allocations: 3.938 kB / 444.4 MB, free: 9.965 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1114, allocations: 0 / 444.4 MB, free: 9.965 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.964e-05/0.1114, allocations: 131.5 kB / 444.5 MB, free: 9.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.513e-05/0.1115, allocations: 89.12 kB / 444.6 MB, free: 9.715 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.588e-06/0.1115, allocations: 0 / 444.6 MB, free: 9.715 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.117e-05/0.1116, allocations: 0 / 444.6 MB, free: 9.715 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.956e-06/0.1116, allocations: 0 / 444.6 MB, free: 9.715 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.1116, allocations: 4 kB / 444.6 MB, free: 9.711 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.231e-05/0.1116, allocations: 79.28 kB / 444.7 MB, free: 9.633 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1116, allocations: 0 / 444.7 MB, free: 9.633 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002673/0.1119, allocations: 40 kB / 444.7 MB, free: 9.594 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.0002432/0.1121, allocations: 143.3 kB / 444.8 MB, free: 9.445 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 6.852e-05/0.1122, allocations: 15.94 kB / 444.9 MB, free: 9.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1122, allocations: 0 / 444.9 MB, free: 9.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.826e-05/0.1123, allocations: 37.62 kB / 444.9 MB, free: 9.387 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001906/0.1125, allocations: 3.938 kB / 444.9 MB, free: 9.383 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001832/0.1126, allocations: 86.77 kB / 445 MB, free: 9.273 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002088/0.1129, allocations: 0.6769 MB / 445.7 MB, free: 8.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.399e-05/0.1129, allocations: 8.25 kB / 445.7 MB, free: 8.562 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.445e-05/0.1129, allocations: 11.38 kB / 445.7 MB, free: 8.551 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1129, allocations: 0 / 445.7 MB, free: 8.551 MB / 382.1 MB Notification: Performance of Templates: time 0.002805/0.1157, allocations: 1.069 MB / 446.7 MB, free: 7.484 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/Test02RegFun3/Test02RegFun3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches