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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001316/0.001316, allocations: 200.1 kB / 18.1 MB, free: 3.602 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.478/1.478, allocations: 226.5 MB / 245.4 MB, free: 8.156 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009499/0.0009501, allocations: 107.5 kB / 297.5 MB, free: 6.855 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4293/0.4293, allocations: 44.82 MB / 394.3 MB, free: 35.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003021/0.0003024, allocations: 4 kB / 467.9 MB, free: 12.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4149/0.4152, allocations: 62.96 MB / 0.5184 GB, free: 37.41 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1206/0.5359, allocations: 86 MB / 0.6024 GB, free: 3.277 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/0.5361, allocations: 67.95 kB / 0.6025 GB, free: 3.215 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001426/0.5376, allocations: 0.565 MB / 0.603 GB, free: 2.648 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.434e-06/0.5376, allocations: 0 / 0.603 GB, free: 2.648 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.277e-06/0.5376, allocations: 4 kB / 0.603 GB, free: 2.645 MB / 410.7 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.0002812/0.5379, allocations: 331.5 kB / 0.6033 GB, free: 2.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.538, allocations: 8.031 kB / 0.6033 GB, free: 2.262 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.939e-05/0.538, allocations: 4.875 kB / 0.6033 GB, free: 2.258 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.5381, allocations: 168.4 kB / 0.6035 GB, free: 2.055 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.5381, allocations: 4.375 kB / 0.6035 GB, free: 2.051 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.656e-06/0.5382, allocations: 4.312 kB / 0.6035 GB, free: 2.047 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.5383, allocations: 55.91 kB / 0.6036 GB, free: 1.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.5383, allocations: 192 / 0.6036 GB, free: 1.98 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.5383, allocations: 7.938 kB / 0.6036 GB, free: 1.973 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.5383, allocations: 0 / 0.6036 GB, free: 1.973 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.174e-05/0.5384, allocations: 8 kB / 0.6036 GB, free: 1.965 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000314/0.5387, allocations: 325.2 kB / 0.6039 GB, free: 1.594 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.515e-05/0.5388, allocations: 30.45 kB / 0.6039 GB, free: 1.555 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.91e-05/0.5388, allocations: 12.86 kB / 0.6039 GB, free: 1.539 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.5388, allocations: 96 / 0.6039 GB, free: 1.539 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.5389, allocations: 38.55 kB / 0.604 GB, free: 1.492 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.5389, allocations: 4 kB / 0.604 GB, free: 1.488 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.000176/0.5391, allocations: 57.53 kB / 0.604 GB, free: 1.426 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/0.5391, allocations: 51.41 kB / 0.6041 GB, free: 1.363 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.046e-05/0.5392, allocations: 97.86 kB / 0.6042 GB, free: 1.258 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.5392, allocations: 25.7 kB / 0.6042 GB, free: 1.227 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.284e-05/0.5392, allocations: 80.14 kB / 0.6043 GB, free: 1.145 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.84e-05/0.5393, allocations: 23.73 kB / 0.6043 GB, free: 1.121 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.846e-06/0.5393, allocations: 0 / 0.6043 GB, free: 1.121 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.5394, allocations: 315 kB / 0.6046 GB, free: 0.8047 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.302e-05/0.5394, allocations: 4 kB / 0.6046 GB, free: 0.8008 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.854e-05/0.5395, allocations: 25.7 kB / 0.6046 GB, free: 0.7695 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.905e-05/0.5395, allocations: 29.66 kB / 0.6047 GB, free: 0.7344 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.5395, allocations: 0 / 0.6047 GB, free: 0.7344 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.643e-05/0.5396, allocations: 53.86 kB / 0.6047 GB, free: 0.6758 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.5396, allocations: 8 kB / 0.6047 GB, free: 0.668 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.5397, allocations: 4.031 kB / 0.6047 GB, free: 0.6641 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.5397, allocations: 0 / 0.6047 GB, free: 0.6641 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.955e-05/0.5397, allocations: 8 kB / 0.6047 GB, free: 0.6562 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.5398, allocations: 7.922 kB / 0.6047 GB, free: 0.6484 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.109e-05/0.5398, allocations: 3.984 kB / 0.6047 GB, free: 0.6445 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.5398, allocations: 8 kB / 0.6047 GB, free: 0.6367 MB / 410.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.437e-05/0.5399, allocations: 117.7 kB / 0.6049 GB, free: 0.5117 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.169e-05/0.5399, allocations: 0 / 0.6049 GB, free: 0.5117 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001332/0.5401, allocations: 69.09 kB / 0.6049 GB, free: 444 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.5401, allocations: 192 / 0.6049 GB, free: 444 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.5401, allocations: 4 kB / 0.6049 GB, free: 440 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.5401, allocations: 0 / 0.6049 GB, free: 440 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.5403, allocations: 165.6 kB / 0.6051 GB, free: 224 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.5403, allocations: 0 / 0.6051 GB, free: 224 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.874e-05/0.5403, allocations: 11.94 kB / 0.6051 GB, free: 212 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.5403, allocations: 0 / 0.6051 GB, free: 212 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.5403, allocations: 7.922 kB / 0.6051 GB, free: 204 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.5403, allocations: 0 / 0.6051 GB, free: 204 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.5403, allocations: 0 / 0.6051 GB, free: 204 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000121/0.5405, allocations: 155.5 kB / 0.6052 GB, free: 32 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.373e-05/0.5405, allocations: 81.11 kB / 0.6053 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.5406, allocations: 0 / 0.6053 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.306e-05/0.5406, allocations: 0 / 0.6053 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.423e-05/0.5406, allocations: 0 / 0.6053 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.5407, allocations: 4 kB / 0.6053 GB, free: 15.93 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.495e-05/0.5407, allocations: 79.27 kB / 0.6054 GB, free: 15.85 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5407, allocations: 4.094 kB / 0.6054 GB, free: 15.85 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002085/0.5409, allocations: 12 kB / 0.6054 GB, free: 15.84 MB / 426.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001604/0.5411, allocations: 98.78 kB / 0.6055 GB, free: 15.73 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001084/0.5412, allocations: 20 kB / 0.6055 GB, free: 15.71 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.5412, allocations: 0 / 0.6055 GB, free: 15.71 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.205e-05/0.5413, allocations: 23.92 kB / 0.6056 GB, free: 15.69 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.5415, allocations: 3.938 kB / 0.6056 GB, free: 15.69 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002506/0.5417, allocations: 122.6 kB / 0.6057 GB, free: 15.54 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002395/0.542, allocations: 0.677 MB / 0.6063 GB, free: 14.84 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.247e-05/0.542, allocations: 4 kB / 0.6063 GB, free: 14.83 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.088e-05/0.5421, allocations: 11.44 kB / 0.6064 GB, free: 14.82 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5421, allocations: 0 / 0.6064 GB, free: 14.82 MB / 426.7 MB Notification: Performance of Templates: time 0.002278/0.5443, allocations: 417.1 kB / 0.6068 GB, free: 14.42 MB / 426.7 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 -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","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches