Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000882/0.000882, allocations: 200.4 kB / 17.43 MB, free: 4.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.255/1.255, allocations: 229.5 MB / 247.7 MB, free: 6.289 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007302/0.0007303, allocations: 103.6 kB / 299.9 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3029/0.3029, allocations: 45.01 MB / 397 MB, free: 31.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002541/0.0002541, allocations: 8 kB / 470.8 MB, free: 7.102 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.2933, allocations: 63.1 MB / 0.5214 GB, free: 38.36 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.0005451/0.2939, allocations: 218.4 kB / 0.5216 GB, free: 38.21 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001684/0.2956, allocations: 1.66 MB / 0.5232 GB, free: 36.93 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.959e-05/0.2956, allocations: 3.938 kB / 0.5232 GB, free: 36.93 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 2.082e-05/0.2957, allocations: 0 / 0.5232 GB, free: 36.93 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 3.249e-05/0.2957, allocations: 0 / 0.5232 GB, free: 36.93 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005927/0.2963, allocations: 151.4 kB / 0.5233 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.619e-05/0.2964, allocations: 2.719 kB / 0.5233 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.32e-05/0.2964, allocations: 2.5 kB / 0.5233 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.876e-05/0.2965, allocations: 6.656 kB / 0.5234 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.511e-05/0.2965, allocations: 7.375 kB / 0.5234 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.2965, allocations: 2.625 kB / 0.5234 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003772/0.2969, allocations: 259.6 kB / 0.5236 GB, free: 36.8 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.439e-05/0.2969, allocations: 3.281 kB / 0.5236 GB, free: 36.8 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.125e-05/0.297, allocations: 29.7 kB / 0.5236 GB, free: 36.76 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002225/0.2972, allocations: 143.9 kB / 0.5238 GB, free: 36.72 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.2972, allocations: 0 / 0.5238 GB, free: 36.72 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.2972, allocations: 0 / 0.5238 GB, free: 36.72 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.2972, allocations: 0 / 0.5238 GB, free: 36.72 MB / 378.7 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.0002853/0.2975, allocations: 333.9 kB / 0.5241 GB, free: 36.36 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.2976, allocations: 8.312 kB / 0.5241 GB, free: 36.36 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.006e-05/0.2976, allocations: 0.9375 kB / 0.5241 GB, free: 36.36 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.987e-05/0.2977, allocations: 166 kB / 0.5243 GB, free: 36.17 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.2977, allocations: 384 / 0.5243 GB, free: 36.17 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.2977, allocations: 384 / 0.5243 GB, free: 36.17 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.2979, allocations: 36.61 kB / 0.5243 GB, free: 36.13 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.2979, allocations: 3.047 kB / 0.5243 GB, free: 36.13 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.2979, allocations: 2.656 kB / 0.5243 GB, free: 36.13 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.2979, allocations: 4 kB / 0.5243 GB, free: 36.12 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.926e-05/0.2979, allocations: 3.938 kB / 0.5243 GB, free: 36.12 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001247/0.2981, allocations: 147.5 kB / 0.5245 GB, free: 35.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.23e-05/0.2981, allocations: 21.14 kB / 0.5245 GB, free: 35.91 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.659e-05/0.2981, allocations: 7.672 kB / 0.5245 GB, free: 35.9 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.2981, allocations: 0 / 0.5245 GB, free: 35.9 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/0.2982, allocations: 38.44 kB / 0.5245 GB, free: 35.85 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.2982, allocations: 4 kB / 0.5245 GB, free: 35.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001297/0.2983, allocations: 40.42 kB / 0.5246 GB, free: 35.81 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.818e-05/0.2983, allocations: 51.41 kB / 0.5246 GB, free: 35.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.287e-05/0.2984, allocations: 96.36 kB / 0.5247 GB, free: 35.65 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.035e-06/0.2984, allocations: 25.7 kB / 0.5247 GB, free: 35.62 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.492e-05/0.2984, allocations: 86.98 kB / 0.5248 GB, free: 35.53 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.014e-05/0.2984, allocations: 3.906 kB / 0.5248 GB, free: 35.53 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-06/0.2984, allocations: 256 / 0.5248 GB, free: 35.53 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.214e-05/0.2985, allocations: 317.9 kB / 0.5251 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.157e-06/0.2985, allocations: 2.688 kB / 0.5251 GB, free: 35.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.661e-06/0.2985, allocations: 0 / 0.5251 GB, free: 35.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.155e-05/0.2985, allocations: 14.17 kB / 0.5251 GB, free: 35.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.2985, allocations: 0 / 0.5251 GB, free: 35.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.6e-05/0.2986, allocations: 34.89 kB / 0.5252 GB, free: 35.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.2986, allocations: 12.86 kB / 0.5252 GB, free: 35.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.2986, allocations: 0 / 0.5252 GB, free: 35.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.2986, allocations: 4.094 kB / 0.5252 GB, free: 35.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.452e-05/0.2987, allocations: 2.812 kB / 0.5252 GB, free: 35.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.2987, allocations: 0 / 0.5252 GB, free: 35.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.267e-05/0.2987, allocations: 0 / 0.5252 GB, free: 35.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.2987, allocations: 0 / 0.5252 GB, free: 35.16 MB / 378.7 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.173e-05/0.2988, allocations: 113.2 kB / 0.5253 GB, free: 35.04 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.125e-06/0.2988, allocations: 3.938 kB / 0.5253 GB, free: 35.04 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.926e-05/0.2989, allocations: 59.55 kB / 0.5254 GB, free: 34.99 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.2989, allocations: 2.531 kB / 0.5254 GB, free: 34.99 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.2989, allocations: 0 / 0.5254 GB, free: 34.99 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.2989, allocations: 3.984 kB / 0.5254 GB, free: 34.99 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.025e-05/0.299, allocations: 147.3 kB / 0.5255 GB, free: 34.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.299, allocations: 0 / 0.5255 GB, free: 34.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.212e-06/0.299, allocations: 3.375 kB / 0.5255 GB, free: 34.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.299, allocations: 6.5 kB / 0.5255 GB, free: 34.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.299, allocations: 4 kB / 0.5255 GB, free: 34.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.299, allocations: 4.031 kB / 0.5255 GB, free: 34.79 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.299, allocations: 0 / 0.5255 GB, free: 34.79 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.954e-05/0.2991, allocations: 52.92 kB / 0.5256 GB, free: 34.73 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.491e-05/0.2991, allocations: 87.38 kB / 0.5257 GB, free: 34.63 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.2991, allocations: 0 / 0.5257 GB, free: 34.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.21e-05/0.2992, allocations: 3.094 kB / 0.5257 GB, free: 34.63 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.119e-05/0.2992, allocations: 0 / 0.5257 GB, free: 34.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.2992, allocations: 4.031 kB / 0.5257 GB, free: 34.62 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.94e-05/0.2992, allocations: 82.25 kB / 0.5257 GB, free: 34.55 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2992, allocations: 11.81 kB / 0.5257 GB, free: 34.54 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000254/0.2995, allocations: 36.75 kB / 0.5258 GB, free: 34.54 MB / 378.7 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.0002073/0.2997, allocations: 141 kB / 0.5259 GB, free: 34.44 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 5.956e-05/0.2998, allocations: 9.438 kB / 0.5259 GB, free: 34.44 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.2998, allocations: 0 / 0.5259 GB, free: 34.44 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.209e-05/0.2998, allocations: 32.45 kB / 0.526 GB, free: 34.4 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001332/0.3, allocations: 6.875 kB / 0.526 GB, free: 34.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001626/0.3001, allocations: 92.3 kB / 0.5261 GB, free: 34.29 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.887e-05/0.3002, allocations: 0.6718 MB / 0.5267 GB, free: 33.6 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.586e-05/0.3002, allocations: 3.609 kB / 0.5267 GB, free: 33.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.799e-06/0.3003, allocations: 7.438 kB / 0.5267 GB, free: 33.59 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3003, allocations: 2.938 kB / 0.5267 GB, free: 33.59 MB / 378.7 MB Notification: Performance of Templates: time 0.002569/0.3028, allocations: 1.068 MB / 0.5278 GB, free: 33.49 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches