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.001206/0.001206, allocations: 116.2 kB / 18.46 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001335/0.001335, allocations: 210 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2153/0.2153, allocations: 46.1 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 75.88 kB / 482 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.321, allocations: 62.42 MB / 0.5316 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.00152/0.3225, allocations: 0.4975 MB / 0.5321 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001716/0.3243, allocations: 1.403 MB / 0.5335 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.369e-05/0.3243, allocations: 0 / 0.5335 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.212e-05/0.3243, allocations: 0 / 0.5335 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.271e-05/0.3243, allocations: 0 / 0.5335 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007156/0.3251, allocations: 232.8 kB / 0.5337 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.707e-05/0.3251, allocations: 5.5 kB / 0.5337 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.772e-05/0.3252, allocations: 1.375 kB / 0.5337 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.97e-05/0.3252, allocations: 9.344 kB / 0.5337 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.376e-05/0.3252, allocations: 2.75 kB / 0.5337 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.137e-05/0.3253, allocations: 0 / 0.5337 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004891/0.3258, allocations: 280.5 kB / 0.534 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.154e-05/0.3258, allocations: 3.984 kB / 0.534 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.97e-05/0.3258, allocations: 5.375 kB / 0.534 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002158/0.326, allocations: 150.3 kB / 0.5341 GB, free: 11.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.326, allocations: 4 kB / 0.5341 GB, free: 11.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.326, allocations: 1.312 kB / 0.5341 GB, free: 11.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.3261, allocations: 0 / 0.5341 GB, free: 11.68 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.0003453/0.3264, allocations: 330.2 kB / 0.5345 GB, free: 11.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.3264, allocations: 10.19 kB / 0.5345 GB, free: 11.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.331e-05/0.3265, allocations: 0.9375 kB / 0.5345 GB, free: 11.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.3266, allocations: 169.6 kB / 0.5346 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.3266, allocations: 5.312 kB / 0.5346 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.763e-06/0.3266, allocations: 384 / 0.5346 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.633e-05/0.3267, allocations: 41.39 kB / 0.5347 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.3267, allocations: 0 / 0.5347 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.3268, allocations: 1.062 kB / 0.5347 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.3268, allocations: 0 / 0.5347 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.617e-05/0.3268, allocations: 2.156 kB / 0.5347 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001264/0.327, allocations: 155.8 kB / 0.5348 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.92e-05/0.327, allocations: 20.8 kB / 0.5349 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.812e-05/0.3271, allocations: 7.109 kB / 0.5349 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.406e-06/0.3271, allocations: 4 kB / 0.5349 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.3271, allocations: 35.59 kB / 0.5349 GB, free: 10.79 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.3271, allocations: 0 / 0.5349 GB, free: 10.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001233/0.3272, allocations: 40.34 kB / 0.5349 GB, free: 10.75 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.089e-05/0.3273, allocations: 52.47 kB / 0.535 GB, free: 10.68 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.638e-05/0.3273, allocations: 96.05 kB / 0.5351 GB, free: 10.58 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.3274, allocations: 27.14 kB / 0.5351 GB, free: 10.55 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.589e-05/0.3274, allocations: 84.14 kB / 0.5352 GB, free: 10.46 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.108e-05/0.3274, allocations: 1.094 kB / 0.5352 GB, free: 10.46 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.581e-05/0.3274, allocations: 11.94 kB / 0.5352 GB, free: 10.45 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.493e-05/0.3275, allocations: 320 kB / 0.5355 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.076e-05/0.3276, allocations: 1.125 kB / 0.5355 GB, free: 10.13 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.484e-06/0.3276, allocations: 1.125 kB / 0.5355 GB, free: 10.13 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.563e-05/0.3276, allocations: 8.391 kB / 0.5355 GB, free: 10.12 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3276, allocations: 4.062 kB / 0.5355 GB, free: 10.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.491e-05/0.3277, allocations: 40.78 kB / 0.5356 GB, free: 10.08 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.3277, allocations: 8.25 kB / 0.5356 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.3277, allocations: 1.406 kB / 0.5356 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.3277, allocations: 0 / 0.5356 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.86e-05/0.3278, allocations: 9.391 kB / 0.5356 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.3278, allocations: 1.406 kB / 0.5356 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.622e-05/0.3279, allocations: 0 / 0.5356 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.3279, allocations: 1.406 kB / 0.5356 GB, free: 10.07 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.469e-05/0.3279, allocations: 115.2 kB / 0.5357 GB, free: 9.945 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.04e-05/0.328, allocations: 5.406 kB / 0.5357 GB, free: 9.941 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/0.3281, allocations: 44.39 kB / 0.5357 GB, free: 9.906 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.3281, allocations: 0 / 0.5357 GB, free: 9.906 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3281, allocations: 1.312 kB / 0.5357 GB, free: 9.906 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.3281, allocations: 3.938 kB / 0.5357 GB, free: 9.902 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.659e-05/0.3282, allocations: 156.3 kB / 0.5359 GB, free: 9.703 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.3282, allocations: 0 / 0.5359 GB, free: 9.703 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.52e-07/0.3282, allocations: 1.219 kB / 0.5359 GB, free: 9.703 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.3282, allocations: 7.875 kB / 0.5359 GB, free: 9.695 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.3282, allocations: 5.062 kB / 0.5359 GB, free: 9.691 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3282, allocations: 0 / 0.5359 GB, free: 9.691 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3282, allocations: 1.031 kB / 0.5359 GB, free: 9.691 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.973e-05/0.3283, allocations: 60.73 kB / 0.536 GB, free: 9.621 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.033e-05/0.3284, allocations: 90.12 kB / 0.536 GB, free: 9.516 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.018e-05/0.3284, allocations: 0 / 0.536 GB, free: 9.516 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.34e-05/0.3284, allocations: 2.062 kB / 0.536 GB, free: 9.516 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.18e-05/0.3285, allocations: 1.344 kB / 0.536 GB, free: 9.516 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.3285, allocations: 1.125 kB / 0.536 GB, free: 9.516 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.406e-05/0.3285, allocations: 77.69 kB / 0.5361 GB, free: 9.441 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3285, allocations: 0 / 0.5361 GB, free: 9.441 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002541/0.3288, allocations: 42.89 kB / 0.5362 GB, free: 9.434 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.0002922/0.3291, allocations: 145 kB / 0.5363 GB, free: 9.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 6.757e-05/0.3291, allocations: 4.438 kB / 0.5363 GB, free: 9.32 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3292, allocations: 1.156 kB / 0.5363 GB, free: 9.32 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.263e-05/0.3292, allocations: 32.06 kB / 0.5363 GB, free: 9.285 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000146/0.3293, allocations: 8.422 kB / 0.5363 GB, free: 9.281 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002143/0.3296, allocations: 107.9 kB / 0.5364 GB, free: 9.152 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002343/0.3298, allocations: 0.6751 MB / 0.5371 GB, free: 8.453 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.417e-05/0.3298, allocations: 12.81 kB / 0.5371 GB, free: 8.441 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3298, allocations: 0 / 0.5371 GB, free: 8.441 MB / 398.1 MB Notification: Performance of Templates: time 0.002235/0.3321, allocations: 0.9157 MB / 0.538 GB, free: 7.984 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/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_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches