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.001251/0.001251, allocations: 106.1 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001596/0.001596, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 227.4 MB / 246.4 MB, free: 10.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2251/0.2251, allocations: 46.1 MB / 343.8 MB, free: 11.73 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001498, allocations: 75.58 kB / 417 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1154, allocations: 62.46 MB / 479.5 MB, free: 5.594 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001898/0.1173, allocations: 0.5941 MB / 480.1 MB, free: 4.996 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008279/0.1182, allocations: 402.9 kB / 480.5 MB, free: 4.598 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.172e-05/0.1182, allocations: 4 kB / 480.5 MB, free: 4.594 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.85e-05/0.1183, allocations: 3.938 kB / 480.5 MB, free: 4.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.853e-05/0.1183, allocations: 0 / 480.5 MB, free: 4.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005753/0.1189, allocations: 123.8 kB / 480.6 MB, free: 4.469 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.841e-05/0.119, allocations: 31.91 kB / 480.6 MB, free: 4.438 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.262e-05/0.119, allocations: 4 kB / 480.6 MB, free: 4.434 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.901e-05/0.119, allocations: 15.98 kB / 480.7 MB, free: 4.418 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.492e-05/0.1191, allocations: 27.84 kB / 480.7 MB, free: 4.391 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.1191, allocations: 4 kB / 480.7 MB, free: 4.387 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002978/0.1194, allocations: 155.8 kB / 480.8 MB, free: 4.234 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.865e-05/0.1195, allocations: 11.98 kB / 480.9 MB, free: 4.223 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.634e-05/0.1195, allocations: 19.86 kB / 480.9 MB, free: 4.203 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002822/0.1198, allocations: 132 kB / 481 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.894e-06/0.1198, allocations: 0 / 481 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.476e-06/0.1198, allocations: 0 / 481 MB, free: 4.074 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.1198, allocations: 0 / 481 MB, free: 4.074 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.0004476/0.1203, allocations: 355.6 kB / 481.3 MB, free: 3.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.1203, allocations: 16.03 kB / 481.4 MB, free: 3.664 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.608e-05/0.1204, allocations: 4.844 kB / 481.4 MB, free: 3.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.1205, allocations: 172.3 kB / 481.5 MB, free: 3.453 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.1205, allocations: 4.375 kB / 481.5 MB, free: 3.449 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.789e-05/0.1206, allocations: 8.375 kB / 481.5 MB, free: 3.441 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.1207, allocations: 66.22 kB / 481.6 MB, free: 3.371 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.1207, allocations: 7.844 kB / 481.6 MB, free: 3.363 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.1207, allocations: 0 / 481.6 MB, free: 3.363 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.1207, allocations: 4 kB / 481.6 MB, free: 3.359 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.222e-05/0.1208, allocations: 43.95 kB / 481.7 MB, free: 3.316 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000185/0.121, allocations: 169.7 kB / 481.8 MB, free: 3.102 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.1212, allocations: 105.6 kB / 481.9 MB, free: 2.992 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.834e-05/0.1212, allocations: 28.84 kB / 482 MB, free: 2.961 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002735/0.1215, allocations: 101.1 kB / 482.1 MB, free: 2.844 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.1216, allocations: 38.56 kB / 482.1 MB, free: 2.797 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.1216, allocations: 0 / 482.1 MB, free: 2.797 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.1279/0.2495, allocations: 5.607 MB / 487.7 MB, free: 13.15 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/0.2496, allocations: 59.41 kB / 487.8 MB, free: 13.08 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.008e-05/0.2497, allocations: 97.84 kB / 487.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.333e-05/0.2497, allocations: 25.7 kB / 487.9 MB, free: 12.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.364e-05/0.2497, allocations: 84.52 kB / 488 MB, free: 12.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.62e-05/0.2498, allocations: 82.84 kB / 488 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.25, allocations: 57.67 kB / 488.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.2501, allocations: 326.8 kB / 488.4 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000368/0.2505, allocations: 112 kB / 488.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003272/0.2508, allocations: 115.8 kB / 488.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001422/0.2522, allocations: 323.5 kB / 489 MB, free: 11.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2522, allocations: 3.938 kB / 489 MB, free: 11.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001187/0.2534, allocations: 361.2 kB / 489.3 MB, free: 11.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.2535, allocations: 5.562 kB / 489.3 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.2535, allocations: 0 / 489.3 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.2535, allocations: 0 / 489.3 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003866/0.2539, allocations: 83.86 kB / 489.4 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.2539, allocations: 0 / 489.4 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002029/0.2541, allocations: 27.95 kB / 489.4 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.052e-05/0.2542, allocations: 19.92 kB / 489.5 MB, free: 11.35 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001188/0.2543, allocations: 117.8 kB / 489.6 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.865e-05/0.2543, allocations: 15.84 kB / 489.6 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001387/0.2557, allocations: 425 kB / 490 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.2558, allocations: 4 kB / 490 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.2558, allocations: 0 / 490 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.2558, allocations: 0 / 490 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002199/0.258, allocations: 0.7873 MB / 490.8 MB, free: 9.934 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.258, allocations: 0 / 490.8 MB, free: 9.934 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002816/0.2583, allocations: 75.88 kB / 490.9 MB, free: 9.859 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.2583, allocations: 4.062 kB / 490.9 MB, free: 9.855 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.154e-05/0.2583, allocations: 19.98 kB / 490.9 MB, free: 9.836 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.2584, allocations: 0 / 490.9 MB, free: 9.836 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.2584, allocations: 4 kB / 490.9 MB, free: 9.832 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/0.2595, allocations: 428.6 kB / 491.3 MB, free: 9.391 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.832e-05/0.2596, allocations: 81.02 kB / 491.4 MB, free: 9.293 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.321e-05/0.2596, allocations: 4 kB / 491.4 MB, free: 9.289 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001851/0.2598, allocations: 31.95 kB / 491.4 MB, free: 9.258 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.074e-05/0.2598, allocations: 15.98 kB / 491.4 MB, free: 9.242 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.599e-05/0.2599, allocations: 15.98 kB / 491.5 MB, free: 9.227 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.222e-05/0.2599, allocations: 75.28 kB / 491.5 MB, free: 9.152 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.704e-06/0.2599, allocations: 0 / 491.5 MB, free: 9.152 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001707/0.2616, allocations: 0.6404 MB / 492.2 MB, free: 8.512 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 (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.003346/0.265, allocations: 291 kB / 492.5 MB, free: 8.219 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007769/0.2658, allocations: 263.7 kB / 492.7 MB, free: 7.961 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2658, allocations: 0 / 492.7 MB, free: 7.961 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003304/0.2661, allocations: 135.8 kB / 492.8 MB, free: 7.828 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/0.2664, allocations: 10.41 kB / 492.9 MB, free: 7.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009496/0.2674, allocations: 384.8 kB / 493.2 MB, free: 7.414 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002657/0.2676, allocations: 0.697 MB / 493.9 MB, free: 6.688 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003008/0.2679, allocations: 69.09 kB / 494 MB, free: 6.621 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001371/0.2681, allocations: 55.39 kB / 494 MB, free: 6.566 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.2681, allocations: 0 / 494 MB, free: 6.566 MB / 366.1 MB Notification: Performance of Templates: time 0.2786/0.5467, allocations: 53.85 MB / 0.5351 GB, free: 21.9 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches