Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001401/0.001406, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001539/0.001539, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 227.4 MB / 247.4 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2163/0.2163, allocations: 46.1 MB / 344.8 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001597/0.001597, allocations: 80 kB / 418.3 MB, free: 19.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1142, allocations: 62.43 MB / 480.7 MB, free: 5.324 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001864/0.1162, allocations: 0.5452 MB / 481.2 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000799/0.117, allocations: 401.5 kB / 481.6 MB, free: 4.383 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.891e-05/0.1171, allocations: 0 / 481.6 MB, free: 4.383 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.005e-05/0.1171, allocations: 3.938 kB / 481.6 MB, free: 4.379 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.913e-05/0.1171, allocations: 3.938 kB / 481.6 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005253/0.1177, allocations: 135.6 kB / 481.8 MB, free: 4.242 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.03e-05/0.1177, allocations: 27.86 kB / 481.8 MB, free: 4.215 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.604e-05/0.1178, allocations: 11.98 kB / 481.8 MB, free: 4.203 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.255e-05/0.1178, allocations: 8 kB / 481.8 MB, free: 4.195 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.175e-05/0.1179, allocations: 19.86 kB / 481.8 MB, free: 4.176 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.1179, allocations: 0 / 481.8 MB, free: 4.176 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002911/0.1182, allocations: 163.8 kB / 482 MB, free: 4.016 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.602e-05/0.1182, allocations: 4 kB / 482 MB, free: 4.012 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.58e-05/0.1182, allocations: 15.88 kB / 482 MB, free: 3.996 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002183/0.1185, allocations: 131.9 kB / 482.1 MB, free: 3.867 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1185, allocations: 0 / 482.1 MB, free: 3.867 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1185, allocations: 0 / 482.1 MB, free: 3.867 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.86e-06/0.1185, allocations: 4 kB / 482.1 MB, free: 3.863 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004358/0.1189, allocations: 359.5 kB / 482.5 MB, free: 3.465 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.119, allocations: 12.03 kB / 482.5 MB, free: 3.453 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.508e-05/0.119, allocations: 0.9375 kB / 482.5 MB, free: 3.453 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.1192, allocations: 180.2 kB / 482.7 MB, free: 3.238 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.1192, allocations: 4.312 kB / 482.7 MB, free: 3.234 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/0.1192, allocations: 4.375 kB / 482.7 MB, free: 3.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.1193, allocations: 54.19 kB / 482.7 MB, free: 3.172 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.1194, allocations: 3.938 kB / 482.7 MB, free: 3.168 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.1194, allocations: 8 kB / 482.8 MB, free: 3.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.1194, allocations: 0 / 482.8 MB, free: 3.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.661e-05/0.1195, allocations: 31.97 kB / 482.8 MB, free: 3.129 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001869/0.1196, allocations: 161.7 kB / 482.9 MB, free: 2.922 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000221/0.1199, allocations: 62.58 kB / 483 MB, free: 2.852 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.782e-05/0.1199, allocations: 20.86 kB / 483 MB, free: 2.828 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002838/0.1202, allocations: 121 kB / 483.1 MB, free: 2.691 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.1203, allocations: 30.56 kB / 483.2 MB, free: 2.652 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.1203, allocations: 0 / 483.2 MB, free: 2.652 MB / 350.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: k2 2: k1 3: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.1454/0.2657, allocations: 6.389 MB / 489.6 MB, free: 12.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.224e-05/0.2658, allocations: 51.41 kB / 489.6 MB, free: 12.17 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.129e-05/0.2659, allocations: 101.9 kB / 489.7 MB, free: 12.06 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.336e-05/0.2659, allocations: 29.7 kB / 489.7 MB, free: 12.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.514e-05/0.266, allocations: 84.14 kB / 489.8 MB, free: 11.94 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.282e-05/0.2661, allocations: 63.09 kB / 489.9 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000167/0.2663, allocations: 85.59 kB / 490 MB, free: 11.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.2664, allocations: 326.8 kB / 490.3 MB, free: 11.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005392/0.267, allocations: 223.8 kB / 490.5 MB, free: 11.24 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005233/0.2675, allocations: 228.3 kB / 490.7 MB, free: 11.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002136/0.2696, allocations: 0.559 MB / 491.3 MB, free: 10.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2697, allocations: 4 kB / 491.3 MB, free: 10.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00182/0.2715, allocations: 0.6089 MB / 491.9 MB, free: 9.836 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.2715, allocations: 4 kB / 491.9 MB, free: 9.832 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.2715, allocations: 3.938 kB / 491.9 MB, free: 9.828 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.2715, allocations: 3.938 kB / 491.9 MB, free: 9.824 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006549/0.2722, allocations: 115.8 kB / 492 MB, free: 9.711 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.2722, allocations: 3.984 kB / 492 MB, free: 9.707 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004401/0.2727, allocations: 27.95 kB / 492.1 MB, free: 9.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-05/0.2728, allocations: 31.94 kB / 492.1 MB, free: 9.648 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (19): * Single equations (assignments): 19 * 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 0.0001486/0.2729, allocations: 121.8 kB / 492.2 MB, free: 9.52 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.985e-05/0.273, allocations: 7.906 kB / 492.2 MB, free: 9.512 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002147/0.2751, allocations: 0.7359 MB / 493 MB, free: 8.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.2751, allocations: 0 / 493 MB, free: 8.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.2752, allocations: 4 kB / 493 MB, free: 8.766 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.2752, allocations: 0 / 493 MB, free: 8.766 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003997/0.2792, allocations: 1.165 MB / 494.1 MB, free: 7.527 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.2792, allocations: 0 / 494.1 MB, free: 7.527 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005388/0.2797, allocations: 104 kB / 494.2 MB, free: 7.426 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.2798, allocations: 0 / 494.2 MB, free: 7.426 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-05/0.2798, allocations: 31.95 kB / 494.3 MB, free: 7.395 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.2798, allocations: 4 kB / 494.3 MB, free: 7.391 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.2798, allocations: 0 / 494.3 MB, free: 7.391 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001685/0.2815, allocations: 0.5842 MB / 494.8 MB, free: 6.773 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.525e-05/0.2816, allocations: 93 kB / 494.9 MB, free: 6.664 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.709e-05/0.2817, allocations: 0 / 494.9 MB, free: 6.664 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004116/0.2821, allocations: 31.95 kB / 495 MB, free: 6.633 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.757e-05/0.2821, allocations: 15.98 kB / 495 MB, free: 6.617 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.746e-05/0.2822, allocations: 27.95 kB / 495 MB, free: 6.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.1e-05/0.2822, allocations: 79.28 kB / 495.1 MB, free: 6.512 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.2822, allocations: 0 / 495.1 MB, free: 6.512 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001699/0.2839, allocations: 0.6523 MB / 495.7 MB, free: 5.859 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 19 * 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.003271/0.2872, allocations: 298.8 kB / 496 MB, free: 5.555 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001274/0.2885, allocations: 451.5 kB / 496.5 MB, free: 5.113 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.2885, allocations: 4 kB / 496.5 MB, free: 5.109 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005412/0.2891, allocations: 207.1 kB / 496.7 MB, free: 4.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000311/0.2894, allocations: 8 kB / 496.7 MB, free: 4.902 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002415/0.2918, allocations: 0.5394 MB / 497.2 MB, free: 4.312 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/0.2921, allocations: 0.7003 MB / 497.9 MB, free: 3.582 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003092/0.2924, allocations: 87.28 kB / 498 MB, free: 3.496 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2924, allocations: 0 / 498 MB, free: 3.496 MB / 366.1 MB Notification: Performance of Templates: time 0.02486/0.3173, allocations: 15.96 MB / 0.5019 GB, free: 3.547 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches