Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 105.4 kB / 18.45 MB, free: 4.625 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.001222/0.001222, allocations: 183 kB / 19.38 MB, free: 3.703 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.328/1.328, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.2044/0.2044, allocations: 44.18 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 63.91 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3478, allocations: 60.82 MB / 0.5195 GB, free: 3.852 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001505/0.3494, allocations: 0.4898 MB / 0.52 GB, free: 3.559 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001576/0.351, allocations: 1.359 MB / 0.5213 GB, free: 2.578 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.922e-05/0.351, allocations: 0 / 0.5213 GB, free: 2.578 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.35e-05/0.3511, allocations: 1.094 kB / 0.5214 GB, free: 2.578 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.2e-05/0.3511, allocations: 3.938 kB / 0.5214 GB, free: 2.574 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006999/0.3518, allocations: 210.3 kB / 0.5216 GB, free: 2.512 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.974e-05/0.3519, allocations: 10.06 kB / 0.5216 GB, free: 2.508 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.317e-05/0.3519, allocations: 2.422 kB / 0.5216 GB, free: 2.508 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.327e-05/0.352, allocations: 8.062 kB / 0.5216 GB, free: 2.504 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.462e-05/0.352, allocations: 6.562 kB / 0.5216 GB, free: 2.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.352, allocations: 1.312 kB / 0.5216 GB, free: 2.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005242/0.3526, allocations: 274.3 kB / 0.5218 GB, free: 2.434 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.304e-05/0.3526, allocations: 0.7031 kB / 0.5218 GB, free: 2.434 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.028e-05/0.3526, allocations: 5.812 kB / 0.5218 GB, free: 2.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002678/0.3529, allocations: 148.6 kB / 0.522 GB, free: 2.387 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3529, allocations: 0 / 0.522 GB, free: 2.387 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3529, allocations: 0 / 0.522 GB, free: 2.387 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.3529, allocations: 0 / 0.522 GB, free: 2.387 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003261/0.3533, allocations: 339.2 kB / 0.5223 GB, free: 2.027 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.3533, allocations: 9.312 kB / 0.5223 GB, free: 2.027 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.467e-05/0.3533, allocations: 6.625 kB / 0.5223 GB, free: 2.023 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.503e-05/0.3534, allocations: 161 kB / 0.5225 GB, free: 1.828 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.988e-06/0.3534, allocations: 1.438 kB / 0.5225 GB, free: 1.828 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.929e-06/0.3534, allocations: 1.625 kB / 0.5225 GB, free: 1.828 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.3535, allocations: 42.88 kB / 0.5225 GB, free: 1.789 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.3536, allocations: 1.094 kB / 0.5225 GB, free: 1.789 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.3536, allocations: 4 kB / 0.5225 GB, free: 1.785 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.3536, allocations: 1.062 kB / 0.5225 GB, free: 1.785 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.355e-05/0.3536, allocations: 9.359 kB / 0.5225 GB, free: 1.781 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002964/0.3539, allocations: 238.9 kB / 0.5228 GB, free: 1.512 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.54e-05/0.354, allocations: 25.89 kB / 0.5228 GB, free: 1.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.601e-05/0.354, allocations: 6.172 kB / 0.5228 GB, free: 1.473 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.354, allocations: 0.7031 kB / 0.5228 GB, free: 1.473 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.354, allocations: 36.03 kB / 0.5228 GB, free: 1.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.282e-06/0.354, allocations: 0 / 0.5228 GB, free: 1.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001469/0.3542, allocations: 34.28 kB / 0.5229 GB, free: 1.398 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/0.3542, allocations: 51.41 kB / 0.5229 GB, free: 1.336 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.894e-05/0.3543, allocations: 98.44 kB / 0.523 GB, free: 1.234 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.865e-06/0.3543, allocations: 26.77 kB / 0.523 GB, free: 1.203 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.164e-05/0.3543, allocations: 87.62 kB / 0.5231 GB, free: 1.117 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.699e-06/0.3544, allocations: 5.031 kB / 0.5231 GB, free: 1.113 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.867e-05/0.3544, allocations: 30.92 kB / 0.5232 GB, free: 1.082 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.237e-05/0.3545, allocations: 314.8 kB / 0.5235 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.413e-05/0.3545, allocations: 2.906 kB / 0.5235 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.354e-05/0.3545, allocations: 27.27 kB / 0.5235 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.536e-05/0.3545, allocations: 29.45 kB / 0.5235 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.3545, allocations: 1.281 kB / 0.5235 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.689e-05/0.3546, allocations: 48.7 kB / 0.5236 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.3546, allocations: 9.531 kB / 0.5236 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.3546, allocations: 1.219 kB / 0.5236 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.3547, allocations: 1.219 kB / 0.5236 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.544e-05/0.3547, allocations: 5.953 kB / 0.5236 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.3547, allocations: 1.25 kB / 0.5236 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.681e-05/0.3548, allocations: 1.188 kB / 0.5236 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.3548, allocations: 7.047 kB / 0.5236 GB, free: 0.6562 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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 5.74e-05/0.3548, allocations: 115.6 kB / 0.5237 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.386e-05/0.3549, allocations: 5.062 kB / 0.5237 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001146/0.355, allocations: 52.02 kB / 0.5238 GB, free: 496 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.355, allocations: 0 / 0.5238 GB, free: 496 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.355, allocations: 1.438 kB / 0.5238 GB, free: 496 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.355, allocations: 4.688 kB / 0.5238 GB, free: 492 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001048/0.3551, allocations: 149.2 kB / 0.5239 GB, free: 296 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.3551, allocations: 2.203 kB / 0.5239 GB, free: 296 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.3551, allocations: 0 / 0.5239 GB, free: 296 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.3551, allocations: 1.5 kB / 0.5239 GB, free: 296 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.3552, allocations: 4 kB / 0.5239 GB, free: 292 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.3552, allocations: 1.781 kB / 0.5239 GB, free: 292 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3552, allocations: 0 / 0.5239 GB, free: 292 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.946e-05/0.3552, allocations: 134.1 kB / 0.524 GB, free: 152 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.77e-05/0.3553, allocations: 81.77 kB / 0.5241 GB, free: 52 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.09e-05/0.3553, allocations: 2.047 kB / 0.5241 GB, free: 52 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.447e-05/0.3553, allocations: 0 / 0.5241 GB, free: 52 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.22e-05/0.3553, allocations: 2.219 kB / 0.5241 GB, free: 52 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.618e-06/0.3554, allocations: 5.406 kB / 0.5241 GB, free: 48 kB / 382.1 MB Notification: Performance of sorting global known variables: time 5.018e-05/0.3554, allocations: 77.33 kB / 0.5242 GB, free: 15.97 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3554, allocations: 3.938 kB / 0.5242 GB, free: 15.97 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003078/0.3557, allocations: 41.11 kB / 0.5242 GB, free: 15.96 MB / 398.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.0002671/0.356, allocations: 146.2 kB / 0.5244 GB, free: 15.86 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 7.343e-05/0.3561, allocations: 10.14 kB / 0.5244 GB, free: 15.86 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.3561, allocations: 0 / 0.5244 GB, free: 15.86 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.337e-05/0.3561, allocations: 28.86 kB / 0.5244 GB, free: 15.82 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001995/0.3563, allocations: 8.906 kB / 0.5244 GB, free: 15.82 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002154/0.3566, allocations: 110.8 kB / 0.5245 GB, free: 15.69 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002362/0.3568, allocations: 0.6809 MB / 0.5252 GB, free: 14.99 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.453e-05/0.3568, allocations: 9.594 kB / 0.5252 GB, free: 14.98 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3568, allocations: 0 / 0.5252 GB, free: 14.98 MB / 398.1 MB Notification: Performance of Templates: time 0.002645/0.3595, allocations: 0.9215 MB / 0.5261 GB, free: 14.91 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/Test02RegFun3/Test02RegFun3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches