Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 187 kB / 18.09 MB, free: 3.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 223.3 MB / 242.1 MB, free: 11.63 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008275/0.0008276, allocations: 86.98 kB / 293.3 MB, free: 10.77 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3025/0.3025, allocations: 44.15 MB / 388.5 MB, free: 38.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003437/0.0003437, allocations: 15.98 kB / 461.1 MB, free: 1.316 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.3459, allocations: 61.87 MB / 0.5107 GB, free: 38.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1047/0.4506, allocations: 85.1 MB / 0.5938 GB, free: 9.996 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001996/0.4509, allocations: 67.95 kB / 0.5939 GB, free: 9.934 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001247/0.4521, allocations: 0.5573 MB / 0.5944 GB, free: 9.375 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4521, allocations: 4 kB / 0.5944 GB, free: 9.371 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.4521, allocations: 0 / 0.5944 GB, free: 9.371 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.0002403/0.4524, allocations: 331.4 kB / 0.5948 GB, free: 8.996 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.4524, allocations: 12.02 kB / 0.5948 GB, free: 8.984 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.574e-05/0.4525, allocations: 0.9375 kB / 0.5948 GB, free: 8.984 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.761e-05/0.4526, allocations: 168.3 kB / 0.5949 GB, free: 8.781 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.4526, allocations: 4.375 kB / 0.5949 GB, free: 8.777 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.526e-06/0.4526, allocations: 4.312 kB / 0.5949 GB, free: 8.773 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.4527, allocations: 51.97 kB / 0.595 GB, free: 8.711 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.4527, allocations: 4.188 kB / 0.595 GB, free: 8.707 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.4527, allocations: 3.938 kB / 0.595 GB, free: 8.703 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.4528, allocations: 4 kB / 0.595 GB, free: 8.699 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.138e-05/0.4528, allocations: 15.92 kB / 0.595 GB, free: 8.684 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002698/0.4531, allocations: 325.2 kB / 0.5953 GB, free: 8.312 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.582e-05/0.4531, allocations: 22.52 kB / 0.5953 GB, free: 8.281 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.387e-05/0.4532, allocations: 24.94 kB / 0.5954 GB, free: 8.254 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.108e-05/0.4532, allocations: 0 / 0.5954 GB, free: 8.254 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.583e-05/0.4532, allocations: 30.56 kB / 0.5954 GB, free: 8.215 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.4532, allocations: 0 / 0.5954 GB, free: 8.215 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.000156/0.4534, allocations: 61.53 kB / 0.5955 GB, free: 8.148 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.4534, allocations: 55.41 kB / 0.5955 GB, free: 8.082 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.108e-05/0.4535, allocations: 89.86 kB / 0.5956 GB, free: 7.984 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.4535, allocations: 33.83 kB / 0.5956 GB, free: 7.945 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.365e-05/0.4536, allocations: 80.14 kB / 0.5957 GB, free: 7.863 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.285e-05/0.4536, allocations: 19.73 kB / 0.5957 GB, free: 7.844 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.435e-06/0.4536, allocations: 0 / 0.5957 GB, free: 7.844 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.754e-05/0.4537, allocations: 314.8 kB / 0.596 GB, free: 7.527 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.967e-05/0.4537, allocations: 4 kB / 0.596 GB, free: 7.523 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.472e-05/0.4537, allocations: 25.7 kB / 0.5961 GB, free: 7.492 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.496e-05/0.4538, allocations: 29.66 kB / 0.5961 GB, free: 7.457 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.4538, allocations: 0 / 0.5961 GB, free: 7.457 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.391e-05/0.4539, allocations: 61.56 kB / 0.5961 GB, free: 7.391 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.4539, allocations: 8 kB / 0.5961 GB, free: 7.383 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.4539, allocations: 0 / 0.5961 GB, free: 7.383 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.919e-06/0.4539, allocations: 0 / 0.5961 GB, free: 7.383 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.774e-05/0.454, allocations: 8 kB / 0.5962 GB, free: 7.375 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.454, allocations: 0 / 0.5962 GB, free: 7.375 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.037e-05/0.454, allocations: 3.984 kB / 0.5962 GB, free: 7.371 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.454, allocations: 4.031 kB / 0.5962 GB, free: 7.367 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 6.184e-05/0.4541, allocations: 117.8 kB / 0.5963 GB, free: 7.242 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.028e-05/0.4541, allocations: 0 / 0.5963 GB, free: 7.242 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001193/0.4542, allocations: 65.03 kB / 0.5963 GB, free: 7.168 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.4543, allocations: 3.938 kB / 0.5963 GB, free: 7.164 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.4543, allocations: 0 / 0.5963 GB, free: 7.164 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.4543, allocations: 7.938 kB / 0.5963 GB, free: 7.156 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000141/0.4544, allocations: 165.6 kB / 0.5965 GB, free: 6.945 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.4544, allocations: 0 / 0.5965 GB, free: 6.945 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.754e-05/0.4545, allocations: 15.98 kB / 0.5965 GB, free: 6.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.4545, allocations: 0 / 0.5965 GB, free: 6.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.4545, allocations: 0 / 0.5965 GB, free: 6.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.4545, allocations: 0 / 0.5965 GB, free: 6.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.4545, allocations: 0 / 0.5965 GB, free: 6.93 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001121/0.4546, allocations: 155.4 kB / 0.5967 GB, free: 6.766 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.832e-05/0.4547, allocations: 85.05 kB / 0.5968 GB, free: 6.664 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.4547, allocations: 4 kB / 0.5968 GB, free: 6.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.549e-05/0.4547, allocations: 4 kB / 0.5968 GB, free: 6.656 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.791e-05/0.4548, allocations: 4 kB / 0.5968 GB, free: 6.652 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.4548, allocations: 0 / 0.5968 GB, free: 6.652 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.022e-05/0.4548, allocations: 79.27 kB / 0.5968 GB, free: 6.574 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4548, allocations: 0 / 0.5968 GB, free: 6.574 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001958/0.455, allocations: 8 kB / 0.5968 GB, free: 6.566 MB / 410.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.0001068/0.4551, allocations: 99.78 kB / 0.5969 GB, free: 6.461 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.109e-05/0.4552, allocations: 24.22 kB / 0.597 GB, free: 6.438 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.4552, allocations: 4.156 kB / 0.597 GB, free: 6.434 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.826e-05/0.4553, allocations: 15.94 kB / 0.597 GB, free: 6.418 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001893/0.4554, allocations: 3.938 kB / 0.597 GB, free: 6.414 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002215/0.4557, allocations: 126.5 kB / 0.5971 GB, free: 6.262 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002463/0.4559, allocations: 0.677 MB / 0.5978 GB, free: 5.559 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.093e-05/0.456, allocations: 4 kB / 0.5978 GB, free: 5.555 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.773e-05/0.456, allocations: 11.44 kB / 0.5978 GB, free: 5.543 MB / 410.7 MB Notification: Performance of SimCode: time 2.01e-07/0.456, allocations: 0 / 0.5978 GB, free: 5.543 MB / 410.7 MB Notification: Performance of Templates: time 0.002075/0.4581, allocations: 423.9 kB / 0.5982 GB, free: 5.129 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches