Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.0.0_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.001543/0.001543, allocations: 108.3 kB / 18.4 MB, free: 4.699 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.001579/0.001579, allocations: 191 kB / 19.34 MB, free: 3.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 222.9 MB / 243 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1999/0.1999, allocations: 44.17 MB / 337.4 MB, free: 2.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 64.47 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09798/0.09937, allocations: 60.83 MB / 470.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.00163/0.101, allocations: 494.7 kB / 471.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001624/0.1027, allocations: 1.352 MB / 472.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.017e-05/0.1027, allocations: 0 / 472.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.145e-05/0.1027, allocations: 0 / 472.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.017e-05/0.1028, allocations: 0 / 472.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006862/0.1035, allocations: 218.6 kB / 472.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.741e-05/0.1035, allocations: 15.98 kB / 472.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.524e-05/0.1036, allocations: 0 / 472.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.463e-05/0.1036, allocations: 4 kB / 472.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.194e-05/0.1037, allocations: 7.984 kB / 472.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.1037, allocations: 0 / 472.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004021/0.1041, allocations: 275.6 kB / 473.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.118e-05/0.1041, allocations: 0 / 473.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.938e-05/0.1041, allocations: 7.938 kB / 473.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002123/0.1043, allocations: 139.7 kB / 473.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1044, allocations: 0 / 473.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1044, allocations: 0 / 473.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.1044, allocations: 0 / 473.2 MB, free: 11.16 MB / 350.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.0003182/0.1047, allocations: 339.6 kB / 473.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.1047, allocations: 12.03 kB / 473.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.724e-05/0.1048, allocations: 0.9375 kB / 473.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.1049, allocations: 160.4 kB / 473.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.367e-06/0.1049, allocations: 384 / 473.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-06/0.1049, allocations: 384 / 473.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.946e-05/0.105, allocations: 41.94 kB / 473.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.63e-06/0.105, allocations: 0 / 473.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.105, allocations: 8 kB / 473.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.105, allocations: 0 / 473.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.571e-05/0.1051, allocations: 7.938 kB / 473.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001217/0.1052, allocations: 153.6 kB / 473.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.446e-05/0.1052, allocations: 14.58 kB / 473.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.867e-05/0.1053, allocations: 8.859 kB / 473.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.007e-05/0.1053, allocations: 8.047 kB / 473.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.1053, allocations: 46.44 kB / 474 MB, free: 10.22 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.1053, allocations: 0 / 474 MB, free: 10.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001125/0.1054, allocations: 37.64 kB / 474 MB, free: 10.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.1055, allocations: 55.39 kB / 474.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.212e-05/0.1055, allocations: 93.86 kB / 474.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.1055, allocations: 29.7 kB / 474.2 MB, free: 9.973 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.509e-05/0.1056, allocations: 80.14 kB / 474.3 MB, free: 9.891 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.875e-05/0.1056, allocations: 256 / 474.3 MB, free: 9.891 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.562e-05/0.1056, allocations: 13.72 kB / 474.3 MB, free: 9.871 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.1058, allocations: 314.8 kB / 474.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.195e-05/0.1058, allocations: 0 / 474.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.438e-06/0.1058, allocations: 3.984 kB / 474.6 MB, free: 9.551 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.629e-05/0.1059, allocations: 12.86 kB / 474.6 MB, free: 9.535 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1059, allocations: 0 / 474.6 MB, free: 9.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.765e-05/0.1059, allocations: 37.64 kB / 474.6 MB, free: 9.492 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.106, allocations: 12.03 kB / 474.7 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.106, allocations: 0 / 474.7 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.106, allocations: 0 / 474.7 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.749e-05/0.106, allocations: 4 kB / 474.7 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.1061, allocations: 3.984 kB / 474.7 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.226e-05/0.1061, allocations: 0 / 474.7 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.1061, allocations: 3.984 kB / 474.7 MB, free: 9.469 MB / 350.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.081e-05/0.1062, allocations: 109.8 kB / 474.8 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.277e-06/0.1062, allocations: 3.938 kB / 474.8 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000152/0.1063, allocations: 60.64 kB / 474.8 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.1063, allocations: 0 / 474.8 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1063, allocations: 0 / 474.8 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.1063, allocations: 0 / 474.8 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001089/0.1065, allocations: 145.7 kB / 475 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.1065, allocations: 0 / 475 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.374e-06/0.1065, allocations: 3.984 kB / 475 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.1065, allocations: 7.969 kB / 475 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.1065, allocations: 4 kB / 475 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1065, allocations: 3.938 kB / 475 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1065, allocations: 0 / 475 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.129e-05/0.1066, allocations: 61.05 kB / 475.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.109e-05/0.1066, allocations: 84.98 kB / 475.1 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.1066, allocations: 3.984 kB / 475.1 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.427e-05/0.1067, allocations: 4 kB / 475.2 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.278e-05/0.1067, allocations: 4.031 kB / 475.2 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-06/0.1067, allocations: 4 kB / 475.2 MB, free: 8.875 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.766e-05/0.1068, allocations: 87.22 kB / 475.2 MB, free: 8.789 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1068, allocations: 0 / 475.2 MB, free: 8.789 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002372/0.107, allocations: 39.98 kB / 475.3 MB, free: 8.75 MB / 350.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.0002313/0.1073, allocations: 135.2 kB / 475.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 6.921e-05/0.1073, allocations: 8.094 kB / 475.4 MB, free: 8.602 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1074, allocations: 4.062 kB / 475.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.885e-05/0.1074, allocations: 29.7 kB / 475.5 MB, free: 8.562 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001337/0.1075, allocations: 3.984 kB / 475.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001888/0.1077, allocations: 92.06 kB / 475.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001876/0.1079, allocations: 0.669 MB / 476.2 MB, free: 7.75 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.475e-05/0.1079, allocations: 7.984 kB / 476.2 MB, free: 7.742 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.362e-05/0.108, allocations: 7.438 kB / 476.2 MB, free: 7.734 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.108, allocations: 4.062 kB / 476.2 MB, free: 7.73 MB / 350.1 MB Notification: Performance of Templates: time 0.003359/0.1113, allocations: 1.069 MB / 477.3 MB, free: 6.66 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches