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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.239/1.239, allocations: 222.9 MB / 241.6 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 100.7 kB / 291.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.311/0.311, allocations: 44.13 MB / 386.1 MB, free: 37.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00163/0.00163, allocations: 47.92 kB / 457.7 MB, free: 2.305 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3177, allocations: 60.81 MB / 0.5064 GB, free: 38.13 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.00184/0.3196, allocations: 0.5579 MB / 0.5069 GB, free: 37.8 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001468/0.3211, allocations: 1.404 MB / 0.5083 GB, free: 36.8 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.597e-05/0.3211, allocations: 0 / 0.5083 GB, free: 36.8 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.748e-05/0.3211, allocations: 0 / 0.5083 GB, free: 36.8 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 2.353e-05/0.3212, allocations: 0 / 0.5083 GB, free: 36.8 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004793/0.3217, allocations: 148.6 kB / 0.5084 GB, free: 36.75 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 6.479e-05/0.3217, allocations: 9.484 kB / 0.5085 GB, free: 36.75 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.609e-05/0.3218, allocations: 4 kB / 0.5085 GB, free: 36.74 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.571e-05/0.3218, allocations: 2.906 kB / 0.5085 GB, free: 36.74 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.116e-05/0.3219, allocations: 13.95 kB / 0.5085 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/0.3219, allocations: 3.938 kB / 0.5085 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003275/0.3222, allocations: 265.8 kB / 0.5087 GB, free: 36.67 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.109e-05/0.3222, allocations: 2.844 kB / 0.5087 GB, free: 36.67 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.708e-05/0.3222, allocations: 4 kB / 0.5087 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001709/0.3224, allocations: 146.1 kB / 0.5089 GB, free: 36.62 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.3224, allocations: 0 / 0.5089 GB, free: 36.62 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.3224, allocations: 0 / 0.5089 GB, free: 36.62 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.136e-06/0.3225, allocations: 6.656 kB / 0.5089 GB, free: 36.62 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.0002524/0.3227, allocations: 329.2 kB / 0.5092 GB, free: 36.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.916e-05/0.3227, allocations: 8.562 kB / 0.5092 GB, free: 36.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.756e-05/0.3228, allocations: 7.844 kB / 0.5092 GB, free: 36.26 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.515e-05/0.3228, allocations: 160.4 kB / 0.5094 GB, free: 36.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.174e-06/0.3229, allocations: 4.312 kB / 0.5094 GB, free: 36.06 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.3229, allocations: 3.797 kB / 0.5094 GB, free: 36.06 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.2e-05/0.323, allocations: 32.86 kB / 0.5094 GB, free: 36.03 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.323, allocations: 4 kB / 0.5094 GB, free: 36.02 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.323, allocations: 2.875 kB / 0.5094 GB, free: 36.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.323, allocations: 0 / 0.5094 GB, free: 36.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.76e-05/0.323, allocations: 6.688 kB / 0.5094 GB, free: 36.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.297e-05/0.3231, allocations: 149 kB / 0.5096 GB, free: 35.83 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.989e-05/0.3231, allocations: 21.39 kB / 0.5096 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.485e-05/0.3232, allocations: 11.69 kB / 0.5096 GB, free: 35.79 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.755e-06/0.3232, allocations: 0 / 0.5096 GB, free: 35.79 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.695e-05/0.3232, allocations: 38.5 kB / 0.5096 GB, free: 35.74 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.3232, allocations: 0 / 0.5096 GB, free: 35.74 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001027/0.3233, allocations: 41.67 kB / 0.5097 GB, free: 35.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.3233, allocations: 51.41 kB / 0.5097 GB, free: 35.64 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.016e-05/0.3234, allocations: 92.86 kB / 0.5098 GB, free: 35.55 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.752e-06/0.3234, allocations: 25.7 kB / 0.5098 GB, free: 35.52 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.331e-05/0.3234, allocations: 83.62 kB / 0.5099 GB, free: 35.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.079e-05/0.3234, allocations: 7.906 kB / 0.5099 GB, free: 35.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.298e-05/0.3235, allocations: 16.72 kB / 0.5099 GB, free: 35.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.234e-05/0.3235, allocations: 314.8 kB / 0.5102 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.013e-05/0.3235, allocations: 2.938 kB / 0.5102 GB, free: 35.09 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.472e-06/0.3235, allocations: 0 / 0.5102 GB, free: 35.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.004e-05/0.3236, allocations: 7.766 kB / 0.5102 GB, free: 35.08 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3236, allocations: 2.906 kB / 0.5102 GB, free: 35.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.29e-05/0.3236, allocations: 42.83 kB / 0.5103 GB, free: 35.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.3236, allocations: 12.09 kB / 0.5103 GB, free: 35.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.3237, allocations: 0 / 0.5103 GB, free: 35.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.3237, allocations: 0 / 0.5103 GB, free: 35.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.067e-05/0.3237, allocations: 0 / 0.5103 GB, free: 35.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.3237, allocations: 2.875 kB / 0.5103 GB, free: 35.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.091e-05/0.3238, allocations: 3.938 kB / 0.5103 GB, free: 35.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.3238, allocations: 3.328 kB / 0.5103 GB, free: 35.04 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.219e-05/0.3238, allocations: 114.9 kB / 0.5104 GB, free: 34.92 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.368e-06/0.3238, allocations: 7.969 kB / 0.5104 GB, free: 34.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.934e-05/0.3239, allocations: 44.41 kB / 0.5105 GB, free: 34.88 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.3239, allocations: 0 / 0.5105 GB, free: 34.88 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.185e-06/0.3239, allocations: 0 / 0.5105 GB, free: 34.88 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.324, allocations: 0 / 0.5105 GB, free: 34.88 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.644e-05/0.324, allocations: 152 kB / 0.5106 GB, free: 34.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.324, allocations: 4 kB / 0.5106 GB, free: 34.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.102e-06/0.324, allocations: 6.875 kB / 0.5106 GB, free: 34.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.324, allocations: 3.938 kB / 0.5106 GB, free: 34.67 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.3241, allocations: 0 / 0.5106 GB, free: 34.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.3241, allocations: 0 / 0.5106 GB, free: 34.67 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3241, allocations: 0 / 0.5106 GB, free: 34.67 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001718/0.3242, allocations: 0.6049 MB / 0.5112 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.694e-05/0.3243, allocations: 85.14 kB / 0.5113 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.031e-05/0.3243, allocations: 6.594 kB / 0.5113 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.867e-05/0.3243, allocations: 3.938 kB / 0.5113 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.331e-05/0.3244, allocations: 2.344 kB / 0.5113 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.3244, allocations: 0 / 0.5113 GB, free: 33.92 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.721e-05/0.3244, allocations: 81.27 kB / 0.5114 GB, free: 33.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3244, allocations: 0 / 0.5114 GB, free: 33.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003242/0.3247, allocations: 33.78 kB / 0.5114 GB, free: 33.84 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.0002177/0.325, allocations: 151.9 kB / 0.5116 GB, free: 33.74 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 5.058e-05/0.325, allocations: 2.562 kB / 0.5116 GB, free: 33.74 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.325, allocations: 0 / 0.5116 GB, free: 33.74 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.815e-05/0.3251, allocations: 30.95 kB / 0.5116 GB, free: 33.71 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001345/0.3252, allocations: 0 / 0.5116 GB, free: 33.71 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001963/0.3254, allocations: 191.2 kB / 0.5118 GB, free: 33.49 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.476e-05/0.3255, allocations: 0.6753 MB / 0.5124 GB, free: 32.8 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.402e-05/0.3255, allocations: 7.938 kB / 0.5124 GB, free: 32.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.029e-05/0.3255, allocations: 11.25 kB / 0.5125 GB, free: 32.79 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3255, allocations: 0 / 0.5125 GB, free: 32.79 MB / 378.7 MB Notification: Performance of Templates: time 0.002421/0.3279, allocations: 1.069 MB / 0.5135 GB, free: 32.7 MB / 378.7 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches