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.001512/0.001512, allocations: 117.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001602/0.001602, allocations: 204.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2697/0.2697, allocations: 46.1 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 71.88 kB / 481.3 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3322, allocations: 62.43 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.00142/0.3336, allocations: 0.4989 MB / 0.5315 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001618/0.3353, allocations: 1.403 MB / 0.5328 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.285e-05/0.3353, allocations: 3.938 kB / 0.5328 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.131e-05/0.3353, allocations: 0 / 0.5328 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.9e-05/0.3354, allocations: 0 / 0.5328 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006523/0.336, allocations: 228.1 kB / 0.533 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.442e-05/0.3361, allocations: 4.906 kB / 0.533 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.713e-05/0.3361, allocations: 5.203 kB / 0.5331 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.876e-05/0.3362, allocations: 10.86 kB / 0.5331 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.483e-05/0.3362, allocations: 5.406 kB / 0.5331 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.3362, allocations: 1.625 kB / 0.5331 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004595/0.3367, allocations: 274.6 kB / 0.5333 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.459e-05/0.3367, allocations: 5.328 kB / 0.5333 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.3e-05/0.3367, allocations: 5.281 kB / 0.5333 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000219/0.337, allocations: 144.9 kB / 0.5335 GB, free: 11.67 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.337, allocations: 0.9688 kB / 0.5335 GB, free: 11.67 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.337, allocations: 0 / 0.5335 GB, free: 11.67 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.337, allocations: 3.938 kB / 0.5335 GB, free: 11.67 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.0003548/0.3374, allocations: 343.7 kB / 0.5338 GB, free: 11.3 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.3374, allocations: 9.531 kB / 0.5338 GB, free: 11.3 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.924e-05/0.3374, allocations: 2.438 kB / 0.5338 GB, free: 11.3 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.3375, allocations: 165.7 kB / 0.534 GB, free: 11.1 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.805e-06/0.3376, allocations: 384 / 0.534 GB, free: 11.1 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.317e-06/0.3376, allocations: 1.906 kB / 0.534 GB, free: 11.1 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.45e-05/0.3377, allocations: 32.83 kB / 0.534 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-06/0.3377, allocations: 3.938 kB / 0.534 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-06/0.3377, allocations: 4 kB / 0.534 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.3377, allocations: 1.375 kB / 0.534 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.935e-05/0.3377, allocations: 1.375 kB / 0.534 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001321/0.3379, allocations: 152.4 kB / 0.5342 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.451e-05/0.3379, allocations: 23.8 kB / 0.5342 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.704e-05/0.3379, allocations: 7.609 kB / 0.5342 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-06/0.3379, allocations: 0 / 0.5342 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.338, allocations: 39.62 kB / 0.5342 GB, free: 10.77 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 7.51e-07/0.338, allocations: 0 / 0.5342 GB, free: 10.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001241/0.3381, allocations: 44.19 kB / 0.5343 GB, free: 10.73 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.198e-05/0.3381, allocations: 52.53 kB / 0.5343 GB, free: 10.67 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.247e-05/0.3382, allocations: 92.05 kB / 0.5344 GB, free: 10.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.3382, allocations: 26.86 kB / 0.5344 GB, free: 10.54 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.996e-05/0.3383, allocations: 80.14 kB / 0.5345 GB, free: 10.46 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.226e-05/0.3383, allocations: 9.422 kB / 0.5345 GB, free: 10.45 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.841e-05/0.3383, allocations: 15.81 kB / 0.5345 GB, free: 10.43 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.866e-05/0.3384, allocations: 314.8 kB / 0.5348 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.136e-05/0.3384, allocations: 2.188 kB / 0.5348 GB, free: 10.11 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.605e-06/0.3384, allocations: 1.031 kB / 0.5348 GB, free: 10.11 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.48e-05/0.3385, allocations: 8.047 kB / 0.5349 GB, free: 10.11 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.3385, allocations: 0 / 0.5349 GB, free: 10.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.332e-05/0.3385, allocations: 36.98 kB / 0.5349 GB, free: 10.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.3386, allocations: 12.72 kB / 0.5349 GB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.3386, allocations: 1.125 kB / 0.5349 GB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.3386, allocations: 0 / 0.5349 GB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.946e-05/0.3386, allocations: 18.28 kB / 0.5349 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.3387, allocations: 0 / 0.5349 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.428e-05/0.3387, allocations: 5.188 kB / 0.5349 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.3387, allocations: 0 / 0.5349 GB, free: 10.04 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.212e-05/0.3388, allocations: 107.2 kB / 0.535 GB, free: 9.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.016e-05/0.3388, allocations: 5.156 kB / 0.535 GB, free: 9.926 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001052/0.3389, allocations: 49.5 kB / 0.5351 GB, free: 9.883 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.3389, allocations: 0 / 0.5351 GB, free: 9.883 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3389, allocations: 1.219 kB / 0.5351 GB, free: 9.883 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-06/0.3389, allocations: 0 / 0.5351 GB, free: 9.883 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.226e-05/0.339, allocations: 148.6 kB / 0.5352 GB, free: 9.691 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/0.339, allocations: 0 / 0.5352 GB, free: 9.691 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.252e-06/0.339, allocations: 5.562 kB / 0.5352 GB, free: 9.688 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.339, allocations: 7.969 kB / 0.5352 GB, free: 9.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.339, allocations: 0 / 0.5352 GB, free: 9.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.339, allocations: 5.5 kB / 0.5352 GB, free: 9.676 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.339, allocations: 3.938 kB / 0.5352 GB, free: 9.672 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.584e-05/0.3391, allocations: 57.05 kB / 0.5353 GB, free: 9.605 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.352e-05/0.3392, allocations: 85.03 kB / 0.5354 GB, free: 9.504 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.437e-06/0.3392, allocations: 1.219 kB / 0.5354 GB, free: 9.504 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.247e-05/0.3392, allocations: 6.312 kB / 0.5354 GB, free: 9.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.497e-05/0.3393, allocations: 1.125 kB / 0.5354 GB, free: 9.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.3393, allocations: 1.094 kB / 0.5354 GB, free: 9.5 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.86e-05/0.3393, allocations: 76.47 kB / 0.5355 GB, free: 9.426 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3393, allocations: 0 / 0.5355 GB, free: 9.426 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002359/0.3395, allocations: 43.86 kB / 0.5355 GB, free: 9.418 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.0002537/0.3398, allocations: 137.5 kB / 0.5356 GB, free: 9.312 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 7.629e-05/0.3399, allocations: 12.53 kB / 0.5356 GB, free: 9.305 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3399, allocations: 0 / 0.5356 GB, free: 9.305 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.554e-05/0.3399, allocations: 32.84 kB / 0.5357 GB, free: 9.27 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001393/0.3401, allocations: 6.094 kB / 0.5357 GB, free: 9.266 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001895/0.3403, allocations: 82.47 kB / 0.5358 GB, free: 9.168 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002287/0.3405, allocations: 0.6742 MB / 0.5364 GB, free: 8.469 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.357e-05/0.3405, allocations: 1.344 kB / 0.5364 GB, free: 8.469 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.31e-05/0.3406, allocations: 12.56 kB / 0.5364 GB, free: 8.457 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3406, allocations: 0 / 0.5364 GB, free: 8.457 MB / 398.1 MB Notification: Performance of Templates: time 0.003065/0.3436, allocations: 1.092 MB / 0.5375 GB, free: 7.883 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