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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 113.4 kB / 17.86 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001694/0.001694, allocations: 201.9 kB / 18.77 MB, free: 4.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 222.9 MB / 242.5 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2012/0.2012, allocations: 44.18 MB / 336.8 MB, free: 2.996 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002202/0.002202, allocations: 75.3 kB / 408.4 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1341, allocations: 60.81 MB / 469.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.002013/0.1361, allocations: 0.5721 MB / 469.7 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003826/0.1365, allocations: 94.22 kB / 469.8 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.901e-05/0.1366, allocations: 0 / 469.8 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.92e-05/0.1366, allocations: 0 / 469.8 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.25e-05/0.1367, allocations: 4 kB / 469.8 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001965/0.1369, allocations: 11.98 kB / 469.8 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.112e-05/0.1369, allocations: 19.98 kB / 469.9 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.475e-05/0.137, allocations: 0 / 469.9 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.974e-05/0.137, allocations: 7.938 kB / 469.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.785e-05/0.1371, allocations: 11.97 kB / 469.9 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.1371, allocations: 0 / 469.9 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.59e-05/0.1372, allocations: 27.97 kB / 469.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.115e-05/0.1372, allocations: 4 kB / 469.9 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.746e-05/0.1373, allocations: 11.92 kB / 469.9 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.256e-05/0.1373, allocations: 11.98 kB / 469.9 MB, free: 14.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1374, allocations: 0 / 469.9 MB, free: 14.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1374, allocations: 0 / 469.9 MB, free: 14.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.1374, allocations: 4 kB / 469.9 MB, free: 14.07 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.0003996/0.1378, allocations: 335.5 kB / 470.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.1378, allocations: 12.03 kB / 470.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.226e-05/0.1379, allocations: 0.9375 kB / 470.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.138, allocations: 160.4 kB / 470.4 MB, free: 13.49 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.138, allocations: 4.375 kB / 470.4 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.138, allocations: 4.375 kB / 470.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.1382, allocations: 55.97 kB / 470.5 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.1382, allocations: 192 / 470.5 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.1382, allocations: 7.875 kB / 470.5 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.1382, allocations: 3.984 kB / 470.5 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.777e-05/0.1383, allocations: 15.94 kB / 470.5 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003215/0.1386, allocations: 321.2 kB / 470.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.975e-05/0.1387, allocations: 38.55 kB / 470.9 MB, free: 12.97 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.12e-05/0.1387, allocations: 16.86 kB / 470.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.1387, allocations: 3.938 kB / 470.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.1388, allocations: 30.56 kB / 470.9 MB, free: 12.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1388, allocations: 0 / 470.9 MB, free: 12.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001912/0.139, allocations: 53.78 kB / 471 MB, free: 12.85 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.139, allocations: 51.41 kB / 471 MB, free: 12.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.791e-05/0.1391, allocations: 101.8 kB / 471.1 MB, free: 12.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.1391, allocations: 25.7 kB / 471.2 MB, free: 12.65 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.321e-05/0.1392, allocations: 84.14 kB / 471.2 MB, free: 12.56 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.368e-05/0.1392, allocations: 15.8 kB / 471.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.54e-05/0.1393, allocations: 17.72 kB / 471.3 MB, free: 12.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.1394, allocations: 314.8 kB / 471.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.571e-05/0.1394, allocations: 4 kB / 471.6 MB, free: 12.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.963e-05/0.1395, allocations: 29.78 kB / 471.6 MB, free: 12.17 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.163e-05/0.1395, allocations: 29.7 kB / 471.6 MB, free: 12.13 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1395, allocations: 0 / 471.6 MB, free: 12.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.584e-05/0.1396, allocations: 57.56 kB / 471.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.1396, allocations: 8 kB / 471.7 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.1397, allocations: 0 / 471.7 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.1397, allocations: 0 / 471.7 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.943e-05/0.1397, allocations: 8.234 kB / 471.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.1398, allocations: 32 / 471.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.632e-05/0.1398, allocations: 7.906 kB / 471.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.1398, allocations: 8 kB / 471.7 MB, free: 12.04 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 8.234e-05/0.1399, allocations: 109.8 kB / 471.8 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.603e-05/0.1399, allocations: 11.97 kB / 471.9 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001322/0.1401, allocations: 65.25 kB / 471.9 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.1401, allocations: 4 kB / 471.9 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1401, allocations: 0 / 471.9 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.1401, allocations: 3.938 kB / 471.9 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/0.1403, allocations: 169.5 kB / 472.1 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1403, allocations: 0 / 472.1 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.377e-05/0.1403, allocations: 8 kB / 472.1 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1403, allocations: 0 / 472.1 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.1403, allocations: 0 / 472.1 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1404, allocations: 0 / 472.1 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1404, allocations: 0 / 472.1 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001381/0.1405, allocations: 159.4 kB / 472.3 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.908e-05/0.1406, allocations: 89 kB / 472.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.1406, allocations: 0 / 472.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.756e-05/0.1406, allocations: 0 / 472.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.136e-05/0.1407, allocations: 4 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.1407, allocations: 0 / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.87e-05/0.1407, allocations: 79.28 kB / 472.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1407, allocations: 0 / 472.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002343/0.141, allocations: 8 kB / 472.4 MB, free: 11.24 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.0001195/0.1411, allocations: 107.3 kB / 472.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.873e-05/0.1412, allocations: 23.94 kB / 472.6 MB, free: 11.1 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1412, allocations: 0 / 472.6 MB, free: 11.1 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.968e-05/0.1412, allocations: 15.98 kB / 472.6 MB, free: 11.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002135/0.1414, allocations: 7.938 kB / 472.6 MB, free: 11.08 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002585/0.1417, allocations: 140.4 kB / 472.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002438/0.142, allocations: 0.677 MB / 473.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.397e-05/0.142, allocations: 15.5 kB / 473.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.142, allocations: 0 / 473.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of Templates: time 0.002008/0.144, allocations: 0.5703 MB / 474 MB, free: 9.617 MB / 350.1 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches