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) 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.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,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=10000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001163/0.001163, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001298/0.001299, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.321/1.321, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2009/0.2009, allocations: 46.1 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 74.31 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09938/0.1008, allocations: 62.45 MB / 481.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001655/0.1025, allocations: 0.4938 MB / 481.9 MB, free: 4.027 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002596/0.1027, allocations: 102.3 kB / 482 MB, free: 3.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.25e-05/0.1028, allocations: 0 / 482 MB, free: 3.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.542e-05/0.1028, allocations: 7.875 kB / 482.1 MB, free: 3.922 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.679e-05/0.1028, allocations: 0 / 482.1 MB, free: 3.922 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001906/0.103, allocations: 23.91 kB / 482.1 MB, free: 3.898 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.895e-05/0.1031, allocations: 7.984 kB / 482.1 MB, free: 3.891 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.418e-05/0.1031, allocations: 0 / 482.1 MB, free: 3.891 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.105e-05/0.1032, allocations: 8 kB / 482.1 MB, free: 3.883 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.088e-05/0.1032, allocations: 15.92 kB / 482.1 MB, free: 3.867 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.1032, allocations: 0 / 482.1 MB, free: 3.867 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.749e-05/0.1033, allocations: 31.97 kB / 482.1 MB, free: 3.836 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.311e-05/0.1033, allocations: 0 / 482.1 MB, free: 3.836 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.763e-05/0.1034, allocations: 11.92 kB / 482.2 MB, free: 3.824 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.021e-05/0.1035, allocations: 23.97 kB / 482.2 MB, free: 3.801 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.1035, allocations: 4 kB / 482.2 MB, free: 3.797 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1035, allocations: 3.938 kB / 482.2 MB, free: 3.793 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.1035, allocations: 0 / 482.2 MB, free: 3.793 MB / 350.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.0003732/0.1039, allocations: 327.6 kB / 482.5 MB, free: 3.422 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.1039, allocations: 12.03 kB / 482.5 MB, free: 3.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.772e-05/0.104, allocations: 0.9375 kB / 482.5 MB, free: 3.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.1041, allocations: 164.4 kB / 482.7 MB, free: 3.211 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.1041, allocations: 384 / 482.7 MB, free: 3.211 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.1041, allocations: 4.375 kB / 482.7 MB, free: 3.207 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.1042, allocations: 59.91 kB / 482.7 MB, free: 3.137 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.1042, allocations: 192 / 482.7 MB, free: 3.137 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.1043, allocations: 7.938 kB / 482.7 MB, free: 3.129 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.1043, allocations: 0 / 482.7 MB, free: 3.129 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.252e-05/0.1043, allocations: 12 kB / 482.8 MB, free: 3.117 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002937/0.1046, allocations: 329 kB / 483.1 MB, free: 2.742 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.302e-05/0.1047, allocations: 26.45 kB / 483.1 MB, free: 2.707 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.057e-05/0.1047, allocations: 20.94 kB / 483.1 MB, free: 2.684 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.1048, allocations: 4 kB / 483.1 MB, free: 2.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.1048, allocations: 30.56 kB / 483.2 MB, free: 2.641 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1048, allocations: 0 / 483.2 MB, free: 2.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001801/0.105, allocations: 57.62 kB / 483.2 MB, free: 2.578 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.105, allocations: 51.41 kB / 483.3 MB, free: 2.516 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.689e-05/0.1051, allocations: 97.86 kB / 483.4 MB, free: 2.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.1051, allocations: 25.7 kB / 483.4 MB, free: 2.379 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.232e-05/0.1052, allocations: 84.27 kB / 483.5 MB, free: 2.293 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.565e-05/0.1052, allocations: 15.8 kB / 483.5 MB, free: 2.277 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.231e-05/0.1052, allocations: 17.72 kB / 483.5 MB, free: 2.254 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.1054, allocations: 310.8 kB / 483.8 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.443e-05/0.1054, allocations: 8 kB / 483.8 MB, free: 1.934 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.796e-05/0.1054, allocations: 21.7 kB / 483.8 MB, free: 1.906 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.362e-05/0.1055, allocations: 33.66 kB / 483.9 MB, free: 1.867 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.1055, allocations: 0 / 483.9 MB, free: 1.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.601e-05/0.1056, allocations: 61.56 kB / 483.9 MB, free: 1.801 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.1056, allocations: 8 kB / 483.9 MB, free: 1.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.1056, allocations: 3.938 kB / 483.9 MB, free: 1.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.1056, allocations: 0 / 483.9 MB, free: 1.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.257e-05/0.1057, allocations: 11.98 kB / 484 MB, free: 1.777 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.1057, allocations: 3.938 kB / 484 MB, free: 1.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.338e-05/0.1057, allocations: 3.906 kB / 484 MB, free: 1.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.335e-06/0.1058, allocations: 4 kB / 484 MB, free: 1.766 MB / 350.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 7.53e-05/0.1058, allocations: 113.8 kB / 484.1 MB, free: 1.645 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.172e-05/0.1059, allocations: 0 / 484.1 MB, free: 1.645 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001158/0.106, allocations: 61.42 kB / 484.1 MB, free: 1.578 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.106, allocations: 3.984 kB / 484.1 MB, free: 1.574 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.106, allocations: 4 kB / 484.1 MB, free: 1.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.106, allocations: 3.984 kB / 484.1 MB, free: 1.566 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/0.1062, allocations: 161.5 kB / 484.3 MB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1062, allocations: 192 / 484.3 MB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.095e-05/0.1062, allocations: 15.94 kB / 484.3 MB, free: 1.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.1062, allocations: 4 kB / 484.3 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.1062, allocations: 0 / 484.3 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1062, allocations: 0 / 484.3 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1063, allocations: 3.984 kB / 484.3 MB, free: 1.336 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.1064, allocations: 155.5 kB / 484.5 MB, free: 1.168 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.243e-05/0.1064, allocations: 81.02 kB / 484.6 MB, free: 1.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.638e-06/0.1064, allocations: 0 / 484.6 MB, free: 1.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.652e-05/0.1065, allocations: 0 / 484.6 MB, free: 1.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.1065, allocations: 15.98 kB / 484.6 MB, free: 1.055 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.1065, allocations: 0 / 484.6 MB, free: 1.055 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.062e-05/0.1066, allocations: 79.28 kB / 484.7 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1066, allocations: 0 / 484.7 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000218/0.1068, allocations: 4 kB / 484.7 MB, free: 0.9727 MB / 350.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.0001215/0.1069, allocations: 103.2 kB / 484.8 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.449e-05/0.107, allocations: 27.98 kB / 484.8 MB, free: 0.832 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1071, allocations: 160 / 484.8 MB, free: 0.832 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.03e-05/0.1071, allocations: 16 kB / 484.8 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002086/0.1073, allocations: 7.875 kB / 484.8 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000212/0.1075, allocations: 108.9 kB / 484.9 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002298/0.1078, allocations: 0.6806 MB / 485.6 MB, free: 15.97 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.795e-05/0.1078, allocations: 4 kB / 485.6 MB, free: 15.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.668e-05/0.1078, allocations: 11.44 kB / 485.6 MB, free: 15.96 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1078, allocations: 3.938 kB / 485.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of Templates: time 0.002183/0.11, allocations: 456.6 kB / 486.1 MB, free: 15.51 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile (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 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches