Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001098/0.001098, allocations: 122.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001101/0.001101, allocations: 197.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 227.4 MB / 246.9 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.202/0.202, allocations: 46.1 MB / 344.3 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002346/0.002346, allocations: 68.08 kB / 481.3 MB, free: 4.137 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3582/0.3605, allocations: 62.45 MB / 0.531 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001538/0.3621, allocations: 497.6 kB / 0.5315 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001743/0.3639, allocations: 1.406 MB / 0.5328 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.608e-05/0.3639, allocations: 3.938 kB / 0.5328 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.986e-05/0.3639, allocations: 3.938 kB / 0.5328 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.604e-05/0.364, allocations: 0 / 0.5328 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006774/0.3646, allocations: 221.1 kB / 0.533 GB, free: 12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.838e-05/0.3647, allocations: 11.48 kB / 0.5331 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.253e-05/0.3648, allocations: 5.656 kB / 0.5331 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.9e-05/0.3648, allocations: 10.72 kB / 0.5331 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.533e-05/0.3648, allocations: 5.422 kB / 0.5331 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.3649, allocations: 0.75 kB / 0.5331 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004553/0.3653, allocations: 276.3 kB / 0.5333 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.18e-05/0.3653, allocations: 3.984 kB / 0.5333 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.04e-05/0.3654, allocations: 10.12 kB / 0.5334 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002096/0.3656, allocations: 145.9 kB / 0.5335 GB, free: 11.71 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3656, allocations: 0 / 0.5335 GB, free: 11.71 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3656, allocations: 0 / 0.5335 GB, free: 11.71 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.3656, allocations: 1.312 kB / 0.5335 GB, free: 11.71 MB / 398.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.000359/0.366, allocations: 338.9 kB / 0.5338 GB, free: 11.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.366, allocations: 12.72 kB / 0.5338 GB, free: 11.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.262e-05/0.3661, allocations: 1.938 kB / 0.5338 GB, free: 11.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.3662, allocations: 165.3 kB / 0.534 GB, free: 11.14 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.338e-06/0.3662, allocations: 384 / 0.534 GB, free: 11.14 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.043e-06/0.3662, allocations: 1.656 kB / 0.534 GB, free: 11.14 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.805e-05/0.3663, allocations: 37.56 kB / 0.534 GB, free: 11.1 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.3663, allocations: 0 / 0.534 GB, free: 11.1 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.3663, allocations: 4 kB / 0.534 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.3663, allocations: 1.156 kB / 0.534 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.854e-05/0.3663, allocations: 1.312 kB / 0.534 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001305/0.3665, allocations: 148 kB / 0.5342 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.505e-05/0.3665, allocations: 28.84 kB / 0.5342 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.559e-05/0.3665, allocations: 7.234 kB / 0.5342 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.551e-06/0.3666, allocations: 0 / 0.5342 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.3666, allocations: 39.72 kB / 0.5342 GB, free: 10.81 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.3666, allocations: 0 / 0.5342 GB, free: 10.81 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001193/0.3667, allocations: 37.02 kB / 0.5343 GB, free: 10.78 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.3668, allocations: 55.34 kB / 0.5343 GB, free: 10.71 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.299e-05/0.3668, allocations: 96.34 kB / 0.5344 GB, free: 10.61 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.3668, allocations: 26.95 kB / 0.5344 GB, free: 10.58 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.504e-05/0.3669, allocations: 80.14 kB / 0.5345 GB, free: 10.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.269e-05/0.3669, allocations: 9.562 kB / 0.5345 GB, free: 10.49 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.601e-05/0.3669, allocations: 11 kB / 0.5345 GB, free: 10.47 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.3671, allocations: 312.2 kB / 0.5348 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.38e-05/0.3671, allocations: 1.406 kB / 0.5348 GB, free: 10.16 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.945e-06/0.3671, allocations: 1.531 kB / 0.5348 GB, free: 10.16 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.831e-05/0.3671, allocations: 7.859 kB / 0.5349 GB, free: 10.15 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3671, allocations: 0 / 0.5349 GB, free: 10.15 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.852e-05/0.3672, allocations: 40.97 kB / 0.5349 GB, free: 10.11 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.3672, allocations: 17.81 kB / 0.5349 GB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3672, allocations: 0 / 0.5349 GB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.387e-05/0.3673, allocations: 3.938 kB / 0.5349 GB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.322e-05/0.3673, allocations: 3.375 kB / 0.5349 GB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.3673, allocations: 0 / 0.5349 GB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.435e-05/0.3674, allocations: 3.984 kB / 0.5349 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.3674, allocations: 0 / 0.5349 GB, free: 10.09 MB / 398.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.189e-05/0.3674, allocations: 107.7 kB / 0.535 GB, free: 9.98 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.188e-05/0.3674, allocations: 9.578 kB / 0.535 GB, free: 9.973 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/0.3676, allocations: 49.31 kB / 0.5351 GB, free: 9.934 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3676, allocations: 0 / 0.5351 GB, free: 9.934 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3676, allocations: 0 / 0.5351 GB, free: 9.934 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-06/0.3676, allocations: 0 / 0.5351 GB, free: 9.934 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.724e-05/0.3677, allocations: 147.7 kB / 0.5352 GB, free: 9.742 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.3677, allocations: 5.219 kB / 0.5352 GB, free: 9.738 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.1e-07/0.3677, allocations: 1.375 kB / 0.5352 GB, free: 9.738 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.9e-06/0.3677, allocations: 7.969 kB / 0.5352 GB, free: 9.73 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.3677, allocations: 5.25 kB / 0.5352 GB, free: 9.727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3677, allocations: 3.938 kB / 0.5352 GB, free: 9.723 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3677, allocations: 0 / 0.5352 GB, free: 9.723 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.97e-05/0.3678, allocations: 64.94 kB / 0.5353 GB, free: 9.648 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.898e-05/0.3678, allocations: 82.3 kB / 0.5354 GB, free: 9.551 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.3679, allocations: 1.156 kB / 0.5354 GB, free: 9.551 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.439e-05/0.3679, allocations: 9.266 kB / 0.5354 GB, free: 9.543 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.106e-05/0.3679, allocations: 1.188 kB / 0.5354 GB, free: 9.543 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-06/0.368, allocations: 1.062 kB / 0.5354 GB, free: 9.543 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.395e-05/0.368, allocations: 77.47 kB / 0.5355 GB, free: 9.469 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.368, allocations: 0 / 0.5355 GB, free: 9.469 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002537/0.3683, allocations: 43.47 kB / 0.5355 GB, free: 9.461 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.0002576/0.3685, allocations: 133.3 kB / 0.5356 GB, free: 9.359 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 7.199e-05/0.3686, allocations: 12.22 kB / 0.5356 GB, free: 9.352 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3686, allocations: 0 / 0.5356 GB, free: 9.352 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.022e-05/0.3686, allocations: 33.42 kB / 0.5357 GB, free: 9.316 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001577/0.3688, allocations: 1.188 kB / 0.5357 GB, free: 9.316 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002027/0.369, allocations: 82.56 kB / 0.5358 GB, free: 9.219 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002105/0.3692, allocations: 0.6716 MB / 0.5364 GB, free: 8.523 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.5e-05/0.3693, allocations: 1.375 kB / 0.5364 GB, free: 8.523 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.278e-05/0.3693, allocations: 12.94 kB / 0.5364 GB, free: 8.512 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3693, allocations: 0 / 0.5364 GB, free: 8.512 MB / 398.1 MB Notification: Performance of Templates: time 0.003032/0.3723, allocations: 1.096 MB / 0.5375 GB, free: 7.93 MB / 398.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches