Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.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.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001263/0.001263, allocations: 92.72 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000974/0.0009739, allocations: 205.4 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 227.2 MB / 245.9 MB, free: 10.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2023/0.2023, allocations: 45.91 MB / 344 MB, free: 12.14 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000311/0.0003111, allocations: 8 kB / 417.9 MB, free: 20.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1124, allocations: 63.46 MB / 481.4 MB, free: 5.406 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.0005561/0.113, allocations: 258.8 kB / 481.6 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006639/0.1137, allocations: 389.8 kB / 482 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.393e-05/0.1137, allocations: 0 / 482 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.148e-05/0.1138, allocations: 0 / 482 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.435e-05/0.1138, allocations: 3.938 kB / 482 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003654/0.1142, allocations: 99.75 kB / 482.1 MB, free: 4.668 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.184e-05/0.1142, allocations: 12 kB / 482.1 MB, free: 4.656 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.23e-05/0.1143, allocations: 4 kB / 482.1 MB, free: 4.652 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.509e-05/0.1143, allocations: 19.91 kB / 482.2 MB, free: 4.633 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.43e-05/0.1144, allocations: 19.92 kB / 482.2 MB, free: 4.613 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.094e-05/0.1144, allocations: 4 kB / 482.2 MB, free: 4.609 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002082/0.1146, allocations: 143.8 kB / 482.3 MB, free: 4.469 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.301e-05/0.1146, allocations: 11.91 kB / 482.3 MB, free: 4.457 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.959e-05/0.1147, allocations: 33.7 kB / 482.4 MB, free: 4.418 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001303/0.1148, allocations: 75.89 kB / 482.4 MB, free: 4.344 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.255e-06/0.1148, allocations: 4 kB / 482.4 MB, free: 4.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1148, allocations: 0 / 482.4 MB, free: 4.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.1148, allocations: 4 kB / 482.4 MB, free: 4.336 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003062/0.1151, allocations: 351.6 kB / 482.8 MB, free: 3.945 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.1152, allocations: 12.02 kB / 482.8 MB, free: 3.934 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.303e-05/0.1152, allocations: 7.906 kB / 482.8 MB, free: 3.926 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.1153, allocations: 171 kB / 483 MB, free: 3.719 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.1153, allocations: 8 kB / 483 MB, free: 3.711 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.403e-05/0.1154, allocations: 4 kB / 483 MB, free: 3.707 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.1155, allocations: 65.67 kB / 483 MB, free: 3.637 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.1155, allocations: 7.891 kB / 483.1 MB, free: 3.629 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.1155, allocations: 0 / 483.1 MB, free: 3.629 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.1156, allocations: 4 kB / 483.1 MB, free: 3.625 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.636e-05/0.1156, allocations: 39.97 kB / 483.1 MB, free: 3.586 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001609/0.1158, allocations: 177.5 kB / 483.3 MB, free: 3.363 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.1159, allocations: 86.48 kB / 483.4 MB, free: 3.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002705/0.1162, allocations: 109.1 kB / 483.5 MB, free: 3.145 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.1162, allocations: 34.56 kB / 483.5 MB, free: 3.102 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 3.546e-06/0.1163, allocations: 3.984 kB / 483.5 MB, free: 3.098 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: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.1297/0.2459, allocations: 5.852 MB / 489.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.246, allocations: 51.41 kB / 489.4 MB, free: 13.15 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.523e-05/0.2461, allocations: 97.86 kB / 489.5 MB, free: 13.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/0.2461, allocations: 25.7 kB / 489.5 MB, free: 13.01 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.547e-05/0.2462, allocations: 80.52 kB / 489.6 MB, free: 12.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.475e-05/0.2462, allocations: 86.73 kB / 489.7 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.952e-05/0.2463, allocations: 12.12 kB / 489.7 MB, free: 12.83 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.937e-05/0.2464, allocations: 314.8 kB / 490 MB, free: 12.51 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003489/0.2467, allocations: 135.9 kB / 490.1 MB, free: 12.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003309/0.247, allocations: 135.8 kB / 490.3 MB, free: 12.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007148/0.2478, allocations: 179.9 kB / 490.4 MB, free: 12.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-06/0.2478, allocations: 0 / 490.4 MB, free: 12.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001159/0.2489, allocations: 406.3 kB / 490.8 MB, free: 11.67 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.249, allocations: 4 kB / 490.8 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.249, allocations: 4 kB / 490.9 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.249, allocations: 4 kB / 490.9 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003737/0.2494, allocations: 95.84 kB / 490.9 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.2494, allocations: 3.953 kB / 491 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001956/0.2496, allocations: 39.97 kB / 491 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.491e-05/0.2496, allocations: 19.98 kB / 491 MB, free: 11.5 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 (23): * Single equations (assignments): 23 * 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 9.266e-05/0.2497, allocations: 116.4 kB / 491.1 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/0.2498, allocations: 7.906 kB / 491.1 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001379/0.2512, allocations: 481.2 kB / 491.6 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.2512, allocations: 4 kB / 491.6 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2512, allocations: 0 / 491.6 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.2512, allocations: 7.938 kB / 491.6 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002167/0.2534, allocations: 0.8655 MB / 492.5 MB, free: 9.961 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.2534, allocations: 4 kB / 492.5 MB, free: 9.957 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002929/0.2537, allocations: 83.94 kB / 492.6 MB, free: 9.875 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.2537, allocations: 7.984 kB / 492.6 MB, free: 9.867 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/0.2537, allocations: 12 kB / 492.6 MB, free: 9.855 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.2537, allocations: 0 / 492.6 MB, free: 9.855 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.2537, allocations: 7.984 kB / 492.6 MB, free: 9.848 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/0.2549, allocations: 488.2 kB / 493.1 MB, free: 9.336 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.857e-05/0.2549, allocations: 85.02 kB / 493.2 MB, free: 9.234 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.631e-05/0.255, allocations: 7.984 kB / 493.2 MB, free: 9.227 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002003/0.2552, allocations: 43.91 kB / 493.2 MB, free: 9.184 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.793e-05/0.2552, allocations: 19.94 kB / 493.2 MB, free: 9.164 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.472e-05/0.2553, allocations: 19.98 kB / 493.2 MB, free: 9.145 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.765e-05/0.2553, allocations: 75.28 kB / 493.3 MB, free: 9.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2553, allocations: 0 / 493.3 MB, free: 9.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001646/0.2569, allocations: 0.6328 MB / 493.9 MB, free: 8.438 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (23): * Single equations (assignments): 23 * 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.002768/0.2597, allocations: 295.5 kB / 494.2 MB, free: 8.141 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008115/0.2605, allocations: 303.6 kB / 494.5 MB, free: 7.844 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.2606, allocations: 0 / 494.5 MB, free: 7.844 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003647/0.2609, allocations: 159.9 kB / 494.7 MB, free: 7.688 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00016/0.2611, allocations: 11.94 kB / 494.7 MB, free: 7.676 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009869/0.2621, allocations: 394.7 kB / 495.1 MB, free: 7.254 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002794/0.2624, allocations: 0.7094 MB / 495.8 MB, free: 6.52 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000299/0.2627, allocations: 73.08 kB / 495.9 MB, free: 6.449 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.2628, allocations: 51.39 kB / 495.9 MB, free: 6.398 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2628, allocations: 0 / 495.9 MB, free: 6.398 MB / 366.1 MB Notification: Performance of Templates: time 0.2644/0.5273, allocations: 53.77 MB / 0.5368 GB, free: 20.77 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches