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.001447/0.001447, allocations: 107.7 kB / 16.27 MB, free: 5.98 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.001621/0.001621, allocations: 191.9 kB / 17.2 MB, free: 5.613 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.298/1.298, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.1946/0.1946, allocations: 43.52 MB / 313.9 MB, free: 0.5273 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.001482/0.001482, allocations: 71.02 kB / 382.7 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09864/0.1001, allocations: 57.79 MB / 440.5 MB, free: 6.926 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001836/0.102, allocations: 0.4896 MB / 441 MB, free: 6.43 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00133/0.1034, allocations: 1.39 MB / 442.4 MB, free: 5.02 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.211e-05/0.1034, allocations: 4 kB / 442.4 MB, free: 5.016 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.576e-05/0.1034, allocations: 0 / 442.4 MB, free: 5.016 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 2.014e-05/0.1035, allocations: 4 kB / 442.4 MB, free: 5.012 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005776/0.104, allocations: 215.3 kB / 442.6 MB, free: 4.805 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.113e-05/0.1041, allocations: 7.984 kB / 442.6 MB, free: 4.797 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.39e-05/0.1041, allocations: 4 kB / 442.6 MB, free: 4.793 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.818e-05/0.1042, allocations: 4 kB / 442.6 MB, free: 4.789 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.557e-05/0.1042, allocations: 7.938 kB / 442.6 MB, free: 4.781 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.1042, allocations: 0 / 442.6 MB, free: 4.781 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003526/0.1046, allocations: 267.6 kB / 442.9 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.378e-05/0.1046, allocations: 7.938 kB / 442.9 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.88e-05/0.1046, allocations: 7.984 kB / 442.9 MB, free: 4.504 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001743/0.1048, allocations: 139.7 kB / 443.1 MB, free: 4.367 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.1048, allocations: 0 / 443.1 MB, free: 4.367 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1048, allocations: 0 / 443.1 MB, free: 4.367 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.1048, allocations: 0 / 443.1 MB, free: 4.367 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.000295/0.1051, allocations: 343.7 kB / 443.4 MB, free: 3.984 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.1052, allocations: 11.89 kB / 443.4 MB, free: 3.973 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.471e-05/0.1052, allocations: 4.938 kB / 443.4 MB, free: 3.969 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.369e-05/0.1053, allocations: 164.4 kB / 443.6 MB, free: 3.77 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.1053, allocations: 384 / 443.6 MB, free: 3.77 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.412e-06/0.1053, allocations: 4.375 kB / 443.6 MB, free: 3.766 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.404e-05/0.1054, allocations: 34.02 kB / 443.6 MB, free: 3.727 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.1054, allocations: 7.875 kB / 443.6 MB, free: 3.719 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.1055, allocations: 0 / 443.6 MB, free: 3.719 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.1055, allocations: 0 / 443.6 MB, free: 3.719 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.167e-05/0.1055, allocations: 4 kB / 443.6 MB, free: 3.715 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001149/0.1056, allocations: 149.7 kB / 443.8 MB, free: 3.52 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.044e-05/0.1056, allocations: 18.61 kB / 443.8 MB, free: 3.492 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.445e-05/0.1057, allocations: 8.859 kB / 443.8 MB, free: 3.48 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.1057, allocations: 0 / 443.8 MB, free: 3.48 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.655e-05/0.1057, allocations: 38.56 kB / 443.8 MB, free: 3.434 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 1.323e-06/0.1057, allocations: 0 / 443.8 MB, free: 3.434 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001168/0.1058, allocations: 41.62 kB / 443.9 MB, free: 3.387 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.354e-05/0.1059, allocations: 51.41 kB / 443.9 MB, free: 3.324 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.03e-05/0.1059, allocations: 97.98 kB / 444 MB, free: 3.219 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.595e-06/0.1059, allocations: 25.7 kB / 444 MB, free: 3.188 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.21e-05/0.1059, allocations: 80.14 kB / 444.1 MB, free: 3.105 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.247e-05/0.106, allocations: 11.89 kB / 444.1 MB, free: 3.094 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.444e-05/0.106, allocations: 17.7 kB / 444.1 MB, free: 3.07 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.443e-05/0.1061, allocations: 310.8 kB / 444.4 MB, free: 2.758 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.106e-05/0.1061, allocations: 4 kB / 444.5 MB, free: 2.754 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.302e-06/0.1061, allocations: 0 / 444.5 MB, free: 2.754 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.178e-05/0.1061, allocations: 16.98 kB / 444.5 MB, free: 2.734 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1061, allocations: 0 / 444.5 MB, free: 2.734 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.559e-05/0.1062, allocations: 37.7 kB / 444.5 MB, free: 2.691 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.1062, allocations: 11.92 kB / 444.5 MB, free: 2.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.1062, allocations: 0 / 444.5 MB, free: 2.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.1062, allocations: 0 / 444.5 MB, free: 2.68 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.8e-05/0.1063, allocations: 11.92 kB / 444.5 MB, free: 2.668 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.1063, allocations: 0 / 444.5 MB, free: 2.668 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.3e-05/0.1063, allocations: 0 / 444.5 MB, free: 2.668 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.1063, allocations: 0 / 444.5 MB, free: 2.668 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.555e-05/0.1064, allocations: 113.8 kB / 444.6 MB, free: 2.547 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.818e-06/0.1064, allocations: 7.938 kB / 444.6 MB, free: 2.539 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/0.1065, allocations: 52.75 kB / 444.7 MB, free: 2.48 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.1065, allocations: 0 / 444.7 MB, free: 2.48 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1065, allocations: 0 / 444.7 MB, free: 2.48 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.1065, allocations: 0 / 444.7 MB, free: 2.48 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.091e-05/0.1066, allocations: 157.6 kB / 444.9 MB, free: 2.277 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.1066, allocations: 0 / 444.9 MB, free: 2.277 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.52e-07/0.1066, allocations: 0 / 444.9 MB, free: 2.277 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1066, allocations: 3.938 kB / 444.9 MB, free: 2.273 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-06/0.1066, allocations: 0 / 444.9 MB, free: 2.273 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1066, allocations: 0 / 444.9 MB, free: 2.273 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1066, allocations: 4 kB / 444.9 MB, free: 2.27 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.166e-05/0.1067, allocations: 69.06 kB / 444.9 MB, free: 2.184 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.376e-05/0.1067, allocations: 81.05 kB / 445 MB, free: 2.086 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.01e-05/0.1067, allocations: 0 / 445 MB, free: 2.086 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.983e-05/0.1068, allocations: 0 / 445 MB, free: 2.086 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.385e-05/0.1068, allocations: 4 kB / 445 MB, free: 2.082 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.1068, allocations: 0 / 445 MB, free: 2.082 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.612e-05/0.1068, allocations: 75.28 kB / 445.1 MB, free: 2.008 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1068, allocations: 0 / 445.1 MB, free: 2.008 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002342/0.1071, allocations: 47.98 kB / 445.1 MB, free: 1.961 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.0002067/0.1073, allocations: 135.4 kB / 445.3 MB, free: 1.82 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.535e-05/0.1074, allocations: 7.984 kB / 445.3 MB, free: 1.812 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1074, allocations: 0 / 445.3 MB, free: 1.812 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.535e-05/0.1074, allocations: 29.7 kB / 445.3 MB, free: 1.777 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000152/0.1076, allocations: 4 kB / 445.3 MB, free: 1.773 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001832/0.1077, allocations: 84.92 kB / 445.4 MB, free: 1.664 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.792e-05/0.1078, allocations: 0.673 MB / 446.1 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.474e-05/0.1079, allocations: 4 kB / 446.1 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.272e-05/0.1079, allocations: 11.44 kB / 446.1 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1079, allocations: 0 / 446.1 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of Templates: time 0.002899/0.1108, allocations: 1.075 MB / 447.1 MB, free: 15.88 MB / 334.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches