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.00111/0.00111, allocations: 108.1 kB / 18.45 MB, free: 4.602 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.001167/0.001167, allocations: 180.2 kB / 19.38 MB, free: 3.684 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.295/1.295, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.1927/0.1927, allocations: 44.18 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 63.91 kB / 471.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.2969, allocations: 60.83 MB / 0.5195 GB, free: 3.875 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001453/0.2984, allocations: 0.4955 MB / 0.52 GB, free: 3.574 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001471/0.2998, allocations: 1.351 MB / 0.5213 GB, free: 2.602 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.217e-05/0.2999, allocations: 1.125 kB / 0.5213 GB, free: 2.602 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.127e-05/0.2999, allocations: 0 / 0.5213 GB, free: 2.602 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.075e-05/0.2999, allocations: 0 / 0.5213 GB, free: 2.602 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006625/0.3006, allocations: 219.7 kB / 0.5216 GB, free: 2.531 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.712e-05/0.3007, allocations: 6 kB / 0.5216 GB, free: 2.531 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.865e-05/0.3007, allocations: 6.312 kB / 0.5216 GB, free: 2.527 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.673e-05/0.3007, allocations: 6.828 kB / 0.5216 GB, free: 2.523 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.13e-05/0.3008, allocations: 8.281 kB / 0.5216 GB, free: 2.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.3008, allocations: 0 / 0.5216 GB, free: 2.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004453/0.3012, allocations: 270.3 kB / 0.5218 GB, free: 2.457 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.105e-05/0.3013, allocations: 4.984 kB / 0.5218 GB, free: 2.453 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.046e-05/0.3013, allocations: 6.5 kB / 0.5219 GB, free: 2.449 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000252/0.3015, allocations: 144.5 kB / 0.522 GB, free: 2.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.3015, allocations: 3.938 kB / 0.522 GB, free: 2.406 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3016, allocations: 0 / 0.522 GB, free: 2.406 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.3016, allocations: 0 / 0.522 GB, free: 2.406 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002812/0.3018, allocations: 339.8 kB / 0.5223 GB, free: 2.043 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.3019, allocations: 8.969 kB / 0.5223 GB, free: 2.043 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.443e-05/0.3019, allocations: 2.094 kB / 0.5223 GB, free: 2.043 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.686e-05/0.302, allocations: 166.9 kB / 0.5225 GB, free: 1.844 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.302, allocations: 384 / 0.5225 GB, free: 1.844 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-06/0.302, allocations: 1.625 kB / 0.5225 GB, free: 1.844 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.89e-05/0.3021, allocations: 34.45 kB / 0.5225 GB, free: 1.809 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.3021, allocations: 0 / 0.5225 GB, free: 1.809 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.3022, allocations: 1.281 kB / 0.5225 GB, free: 1.809 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.3022, allocations: 0.7031 kB / 0.5225 GB, free: 1.809 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.963e-05/0.3022, allocations: 6 kB / 0.5225 GB, free: 1.805 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.744e-05/0.3023, allocations: 150.5 kB / 0.5227 GB, free: 1.613 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.474e-05/0.3023, allocations: 21.72 kB / 0.5227 GB, free: 1.586 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.476e-05/0.3024, allocations: 6.078 kB / 0.5227 GB, free: 1.578 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.798e-06/0.3024, allocations: 1.188 kB / 0.5227 GB, free: 1.578 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.3024, allocations: 40.39 kB / 0.5227 GB, free: 1.531 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.3024, allocations: 4 kB / 0.5227 GB, free: 1.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001177/0.3025, allocations: 40.98 kB / 0.5228 GB, free: 1.488 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.616e-05/0.3026, allocations: 53.19 kB / 0.5228 GB, free: 1.426 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.856e-05/0.3026, allocations: 93.48 kB / 0.5229 GB, free: 1.328 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.3026, allocations: 26.8 kB / 0.5229 GB, free: 1.297 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.258e-05/0.3026, allocations: 88.69 kB / 0.523 GB, free: 1.207 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.305e-05/0.3027, allocations: 1.156 kB / 0.523 GB, free: 1.207 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.485e-05/0.3027, allocations: 12.84 kB / 0.523 GB, free: 1.191 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.22e-05/0.3028, allocations: 315.6 kB / 0.5233 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.525e-05/0.3028, allocations: 1.812 kB / 0.5233 GB, free: 0.875 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.858e-06/0.3028, allocations: 2.281 kB / 0.5233 GB, free: 0.875 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.551e-05/0.3028, allocations: 12.92 kB / 0.5234 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.3028, allocations: 4 kB / 0.5234 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.024e-05/0.3029, allocations: 37.08 kB / 0.5234 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.3029, allocations: 10.92 kB / 0.5234 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.3029, allocations: 4.094 kB / 0.5234 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.3029, allocations: 1.125 kB / 0.5234 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.151e-05/0.303, allocations: 1.75 kB / 0.5234 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.303, allocations: 1.188 kB / 0.5234 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.299e-05/0.303, allocations: 0 / 0.5234 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.303, allocations: 1.844 kB / 0.5234 GB, free: 0.8164 MB / 382.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.092e-05/0.3031, allocations: 111.4 kB / 0.5235 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.847e-06/0.3031, allocations: 5.094 kB / 0.5235 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.994e-05/0.3032, allocations: 54.25 kB / 0.5236 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.3032, allocations: 0.75 kB / 0.5236 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.3032, allocations: 0 / 0.5236 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.3032, allocations: 1.094 kB / 0.5236 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.303e-05/0.3033, allocations: 150.9 kB / 0.5237 GB, free: 468 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.952e-06/0.3033, allocations: 1.828 kB / 0.5237 GB, free: 468 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.3033, allocations: 0 / 0.5237 GB, free: 468 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3033, allocations: 3.938 kB / 0.5237 GB, free: 464 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.3033, allocations: 5.875 kB / 0.5237 GB, free: 460 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.3033, allocations: 1.219 kB / 0.5237 GB, free: 460 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3033, allocations: 0 / 0.5237 GB, free: 460 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.466e-05/0.3034, allocations: 58.92 kB / 0.5238 GB, free: 392 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.697e-05/0.3034, allocations: 86.67 kB / 0.5239 GB, free: 288 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.101e-05/0.3034, allocations: 2.031 kB / 0.5239 GB, free: 288 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.316e-05/0.3035, allocations: 1.828 kB / 0.5239 GB, free: 288 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.054e-05/0.3035, allocations: 5.281 kB / 0.5239 GB, free: 284 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.3035, allocations: 2 kB / 0.5239 GB, free: 284 kB / 382.1 MB Notification: Performance of sorting global known variables: time 1.717e-05/0.3035, allocations: 81.45 kB / 0.524 GB, free: 204 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3035, allocations: 3.938 kB / 0.524 GB, free: 200 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002477/0.3038, allocations: 40.17 kB / 0.524 GB, free: 196 kB / 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.0002519/0.3041, allocations: 131.7 kB / 0.5241 GB, free: 100 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.499e-05/0.3041, allocations: 12.78 kB / 0.5241 GB, free: 92 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.3042, allocations: 5.406 kB / 0.5242 GB, free: 88 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.447e-05/0.3042, allocations: 28.47 kB / 0.5242 GB, free: 56 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001394/0.3043, allocations: 2.656 kB / 0.5242 GB, free: 56 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000208/0.3045, allocations: 102.8 kB / 0.5243 GB, free: 15.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002279/0.3048, allocations: 0.6767 MB / 0.5249 GB, free: 15.23 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.353e-05/0.3048, allocations: 8.625 kB / 0.525 GB, free: 15.23 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3048, allocations: 0 / 0.525 GB, free: 15.23 MB / 398.1 MB Notification: Performance of Templates: time 0.002374/0.3072, allocations: 0.9154 MB / 0.5258 GB, free: 15.17 MB / 398.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 -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