Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001498/0.001498, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001914/0.001914, allocations: 213.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 230.3 MB / 257.9 MB, free: 8.238 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2183/0.2183, allocations: 46.89 MB / 361.3 MB, free: 4.438 MB / 286.1 MB
"
[Timeout remaining time 180]
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.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative")
translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002422/0.002422, allocations: 79.86 kB / 0.497 GB, free: 7.598 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2928, allocations: 66.02 MB / 0.5615 GB, free: 4.625 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001554/0.2944, allocations: 0.5032 MB / 0.562 GB, free: 4.125 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0002797/0.2946, allocations: 103.6 kB / 0.5621 GB, free: 4.023 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 2.211e-05/0.2947, allocations: 0 / 0.5621 GB, free: 4.023 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 1.144e-05/0.2947, allocations: 0 / 0.5621 GB, free: 4.023 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 2.548e-05/0.2947, allocations: 3.938 kB / 0.5621 GB, free: 4.02 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.000167/0.2949, allocations: 15.98 kB / 0.5621 GB, free: 4.004 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 5.703e-05/0.2949, allocations: 8 kB / 0.5621 GB, free: 3.996 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 4.201e-05/0.295, allocations: 3.984 kB / 0.5621 GB, free: 3.992 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 2.511e-05/0.295, allocations: 7.938 kB / 0.5621 GB, free: 3.984 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 4.784e-05/0.295, allocations: 8 kB / 0.5622 GB, free: 3.977 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.055e-05/0.2951, allocations: 0 / 0.5622 GB, free: 3.977 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 8.15e-05/0.2951, allocations: 35.95 kB / 0.5622 GB, free: 3.941 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 1.455e-05/0.2952, allocations: 7.922 kB / 0.5622 GB, free: 3.934 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 1.73e-05/0.2952, allocations: 0 / 0.5622 GB, free: 3.934 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 9.689e-05/0.2953, allocations: 30.72 kB / 0.5622 GB, free: 3.906 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2953, allocations: 0 / 0.5622 GB, free: 3.906 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.082e-06/0.2953, allocations: 4 kB / 0.5622 GB, free: 3.902 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 4.318e-06/0.2953, allocations: 3.938 kB / 0.5622 GB, free: 3.898 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: 5
 * Number of variables: 5
Notification: Performance of Generate backend data structure: time 0.0003671/0.2956, allocations: 254 kB / 0.5625 GB, free: 3.621 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.2957, allocations: 12.03 kB / 0.5625 GB, free: 3.609 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 2.788e-05/0.2957, allocations: 0.9375 kB / 0.5625 GB, free: 3.609 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 9.194e-05/0.2958, allocations: 110.5 kB / 0.5626 GB, free: 3.477 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.2958, allocations: 4.375 kB / 0.5626 GB, free: 3.473 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.514e-06/0.2958, allocations: 384 / 0.5626 GB, free: 3.473 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.2959, allocations: 55.97 kB / 0.5626 GB, free: 3.406 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.2959, allocations: 192 / 0.5626 GB, free: 3.406 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.296, allocations: 3.938 kB / 0.5627 GB, free: 3.402 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.296, allocations: 4 kB / 0.5627 GB, free: 3.398 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 4.645e-05/0.296, allocations: 15.92 kB / 0.5627 GB, free: 3.383 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003133/0.2963, allocations: 292.2 kB / 0.563 GB, free: 3.051 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 5.44e-05/0.2964, allocations: 26.66 kB / 0.563 GB, free: 3.016 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 4.074e-05/0.2964, allocations: 20.84 kB / 0.563 GB, free: 2.992 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.2964, allocations: 3.938 kB / 0.563 GB, free: 2.988 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.2965, allocations: 30.56 kB / 0.563 GB, free: 2.949 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.2965, allocations: 0 / 0.563 GB, free: 2.949 MB / 398.1 MB
Notification: Performance of matching and sorting (n=4): time 0.0001688/0.2966, allocations: 57.64 kB / 0.5631 GB, free: 2.887 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.2967, allocations: 51.41 kB / 0.5631 GB, free: 2.824 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.636e-05/0.2967, allocations: 101.8 kB / 0.5632 GB, free: 2.715 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.2968, allocations: 29.69 kB / 0.5633 GB, free: 2.68 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 4.783e-05/0.2968, allocations: 88.12 kB / 0.5633 GB, free: 2.59 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 1.315e-05/0.2968, allocations: 15.84 kB / 0.5634 GB, free: 2.574 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.321e-05/0.2969, allocations: 17.72 kB / 0.5634 GB, free: 2.551 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.00014/0.297, allocations: 310.8 kB / 0.5637 GB, free: 2.238 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 2.696e-05/0.297, allocations: 19.86 kB / 0.5637 GB, free: 2.219 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.165e-05/0.2971, allocations: 21.97 kB / 0.5637 GB, free: 2.191 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 5.377e-05/0.2971, allocations: 29.72 kB / 0.5637 GB, free: 2.156 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.2971, allocations: 3.984 kB / 0.5637 GB, free: 2.152 MB / 398.1 MB
Notification: Performance of matching and sorting (n=5) (initialization): time 9.346e-05/0.2972, allocations: 53.58 kB / 0.5638 GB, free: 2.094 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.2972, allocations: 11.98 kB / 0.5638 GB, free: 2.082 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.357e-06/0.2972, allocations: 0 / 0.5638 GB, free: 2.082 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.2972, allocations: 0 / 0.5638 GB, free: 2.082 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.041e-05/0.2973, allocations: 8 kB / 0.5638 GB, free: 2.074 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.2973, allocations: 4.031 kB / 0.5638 GB, free: 2.07 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.479e-05/0.2973, allocations: 7.953 kB / 0.5638 GB, free: 2.062 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.916e-06/0.2973, allocations: 4 kB / 0.5638 GB, free: 2.059 MB / 398.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 2
 * 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 (5):
 * Single equations (assignments): 5
 * 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 8.14e-05/0.2974, allocations: 111.1 kB / 0.5639 GB, free: 1.941 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.414e-05/0.2974, allocations: 4 kB / 0.5639 GB, free: 1.938 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001306/0.2976, allocations: 65.3 kB / 0.564 GB, free: 1.859 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.2976, allocations: 4 kB / 0.564 GB, free: 1.855 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.2976, allocations: 0 / 0.564 GB, free: 1.855 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.2976, allocations: 4 kB / 0.564 GB, free: 1.852 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001596/0.2977, allocations: 128.9 kB / 0.5641 GB, free: 1.684 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2977, allocations: 0 / 0.5641 GB, free: 1.684 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.031e-05/0.2978, allocations: 8 kB / 0.5641 GB, free: 1.676 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.2978, allocations: 0 / 0.5641 GB, free: 1.676 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.2978, allocations: 3.984 kB / 0.5641 GB, free: 1.672 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.2978, allocations: 0 / 0.5641 GB, free: 1.672 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.2978, allocations: 3.984 kB / 0.5641 GB, free: 1.668 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000143/0.2979, allocations: 159.4 kB / 0.5643 GB, free: 1.496 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 6.833e-06/0.298, allocations: 7.953 kB / 0.5643 GB, free: 1.488 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.012e-05/0.298, allocations: 128 / 0.5643 GB, free: 1.488 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.973e-05/0.298, allocations: 8 kB / 0.5643 GB, free: 1.48 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.587e-05/0.298, allocations: 7.922 kB / 0.5643 GB, free: 1.473 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.298, allocations: 0 / 0.5643 GB, free: 1.473 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 4.165e-05/0.2981, allocations: 83.28 kB / 0.5644 GB, free: 1.391 MB / 398.1 MB
Notification: Performance of sort global known variables: time 5e-08/0.2981, allocations: 0 / 0.5644 GB, free: 1.391 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0002167/0.2983, allocations: 4 kB / 0.5644 GB, free: 1.387 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 (5):
 * Single equations (assignments): 5
 * 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 Backend phase and start with SimCode phase: time 0.0001227/0.2984, allocations: 107.8 kB / 0.5645 GB, free: 1.27 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 9.438e-05/0.2985, allocations: 19.94 kB / 0.5645 GB, free: 1.25 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2985, allocations: 4 kB / 0.5645 GB, free: 1.246 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 3.16e-05/0.2986, allocations: 15.98 kB / 0.5645 GB, free: 1.23 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001956/0.2987, allocations: 3.938 kB / 0.5645 GB, free: 1.227 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002159/0.299, allocations: 109 kB / 0.5647 GB, free: 1.094 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.2993, allocations: 0.6729 MB / 0.5653 GB, free: 404 kB / 398.1 MB
Notification: Performance of simCode: alias equations: time 3.005e-05/0.2993, allocations: 11.98 kB / 0.5653 GB, free: 392 kB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.394e-05/0.2993, allocations: 11.44 kB / 0.5653 GB, free: 380 kB / 398.1 MB
Notification: Performance of SimCode: time 2.81e-07/0.2993, allocations: 0 / 0.5653 GB, free: 380 kB / 398.1 MB
Notification: Performance of Templates: time 0.002663/0.302, allocations: 489.4 kB / 0.5658 GB, free: 15.89 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660]
""
[Timeout remaining time 660]
Reference file matches
[Calling sys.exit(0), Time elapsed: 4.721151351928711]