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.001056/0.001057, allocations: 98.86 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001086/0.001086, allocations: 203.8 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2171/0.2171, allocations: 45.92 MB / 344 MB, free: 12.12 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002721/0.0002721, allocations: 4 kB / 417.9 MB, free: 20.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1277, allocations: 63.46 MB / 481.4 MB, free: 5.398 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.0007083/0.1284, allocations: 258.7 kB / 481.6 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006881/0.1291, allocations: 385.8 kB / 482 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.347e-05/0.1292, allocations: 0 / 482 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.418e-05/0.1292, allocations: 3.938 kB / 482 MB, free: 4.762 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.47e-05/0.1292, allocations: 4 kB / 482 MB, free: 4.758 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003852/0.1296, allocations: 95.75 kB / 482.1 MB, free: 4.664 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.969e-05/0.1297, allocations: 11.94 kB / 482.1 MB, free: 4.652 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.279e-05/0.1297, allocations: 3.984 kB / 482.1 MB, free: 4.648 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.743e-05/0.1298, allocations: 19.98 kB / 482.1 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.298e-05/0.1298, allocations: 15.92 kB / 482.2 MB, free: 4.613 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.859e-06/0.1299, allocations: 0 / 482.2 MB, free: 4.613 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002431/0.1301, allocations: 147.8 kB / 482.3 MB, free: 4.469 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.118e-05/0.1301, allocations: 7.938 kB / 482.3 MB, free: 4.461 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.665e-05/0.1302, allocations: 29.7 kB / 482.3 MB, free: 4.426 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001472/0.1303, allocations: 79.88 kB / 482.4 MB, free: 4.348 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.1303, allocations: 4 kB / 482.4 MB, free: 4.344 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1303, allocations: 0 / 482.4 MB, free: 4.344 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.1303, allocations: 0 / 482.4 MB, free: 4.344 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.0004326/0.1308, allocations: 363.5 kB / 482.8 MB, free: 3.941 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.1308, allocations: 12.03 kB / 482.8 MB, free: 3.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.235e-05/0.1309, allocations: 0 / 482.8 MB, free: 3.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.131, allocations: 178.9 kB / 483 MB, free: 3.715 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.131, allocations: 4 kB / 483 MB, free: 3.711 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.61e-05/0.1311, allocations: 7.906 kB / 483 MB, free: 3.703 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.1312, allocations: 53.67 kB / 483 MB, free: 3.645 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.1312, allocations: 0 / 483 MB, free: 3.645 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.1312, allocations: 0 / 483 MB, free: 3.645 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.1312, allocations: 8 kB / 483 MB, free: 3.637 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.291e-05/0.1313, allocations: 27.92 kB / 483.1 MB, free: 3.609 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001916/0.1315, allocations: 173.6 kB / 483.2 MB, free: 3.391 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.1317, allocations: 58.5 kB / 483.3 MB, free: 3.324 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002772/0.132, allocations: 117.1 kB / 483.4 MB, free: 3.191 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.132, allocations: 34.78 kB / 483.4 MB, free: 3.148 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.132, allocations: 0 / 483.4 MB, free: 3.148 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.1381/0.2702, allocations: 6.62 MB / 490.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.234e-05/0.2703, allocations: 55.34 kB / 490.1 MB, free: 12.43 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.404e-05/0.2704, allocations: 105.8 kB / 490.2 MB, free: 12.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.913e-05/0.2704, allocations: 33.7 kB / 490.3 MB, free: 12.28 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.252e-05/0.2705, allocations: 80.14 kB / 490.3 MB, free: 12.2 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.852e-05/0.2706, allocations: 71 kB / 490.4 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-05/0.2706, allocations: 0 / 490.4 MB, free: 12.12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.2707, allocations: 326.8 kB / 490.7 MB, free: 11.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005362/0.2713, allocations: 243.8 kB / 491 MB, free: 11.56 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005134/0.2718, allocations: 239.8 kB / 491.2 MB, free: 11.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.2728, allocations: 299.8 kB / 491.5 MB, free: 11.03 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2728, allocations: 0 / 491.5 MB, free: 11.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001735/0.2746, allocations: 0.6362 MB / 492.1 MB, free: 10.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.2746, allocations: 8 kB / 492.1 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.2746, allocations: 0 / 492.1 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.2746, allocations: 4 kB / 492.1 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006185/0.2753, allocations: 115.8 kB / 492.2 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.2753, allocations: 0 / 492.2 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004244/0.2757, allocations: 39.95 kB / 492.3 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.847e-05/0.2758, allocations: 31.91 kB / 492.3 MB, free: 10.2 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001533/0.2759, allocations: 125.8 kB / 492.4 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.739e-05/0.276, allocations: 7.906 kB / 492.4 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002096/0.2781, allocations: 0.7594 MB / 493.2 MB, free: 9.289 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.2781, allocations: 0 / 493.2 MB, free: 9.289 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.2781, allocations: 0 / 493.2 MB, free: 9.289 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.2781, allocations: 4.469 kB / 493.2 MB, free: 9.285 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003877/0.282, allocations: 1.219 MB / 494.4 MB, free: 7.988 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.282, allocations: 0 / 494.4 MB, free: 7.988 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005307/0.2826, allocations: 115.9 kB / 494.5 MB, free: 7.875 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.117e-06/0.2826, allocations: 4 kB / 494.5 MB, free: 7.871 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.68e-05/0.2826, allocations: 39.83 kB / 494.6 MB, free: 7.832 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.2826, allocations: 0 / 494.6 MB, free: 7.832 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.2827, allocations: 7.938 kB / 494.6 MB, free: 7.824 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001692/0.2843, allocations: 0.6763 MB / 495.3 MB, free: 7.078 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.092e-05/0.2844, allocations: 85.02 kB / 495.4 MB, free: 6.977 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.138e-05/0.2845, allocations: 8 kB / 495.4 MB, free: 6.969 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004136/0.2849, allocations: 39.91 kB / 495.4 MB, free: 6.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.605e-05/0.2849, allocations: 19.92 kB / 495.4 MB, free: 6.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.908e-05/0.285, allocations: 28.2 kB / 495.4 MB, free: 6.883 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.805e-05/0.2851, allocations: 87.28 kB / 495.5 MB, free: 6.797 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2851, allocations: 0 / 495.5 MB, free: 6.797 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001927/0.287, allocations: 0.6445 MB / 496.2 MB, free: 6.152 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 (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.003107/0.2901, allocations: 299.5 kB / 496.5 MB, free: 5.848 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001197/0.2913, allocations: 483.5 kB / 496.9 MB, free: 5.375 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.2913, allocations: 0 / 496.9 MB, free: 5.375 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005203/0.2919, allocations: 215.9 kB / 497.2 MB, free: 5.164 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001992/0.2921, allocations: 15.88 kB / 497.2 MB, free: 5.148 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002284/0.2944, allocations: 0.586 MB / 497.8 MB, free: 4.516 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002677/0.2946, allocations: 0.6929 MB / 498.4 MB, free: 3.793 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005279/0.2952, allocations: 124.9 kB / 498.6 MB, free: 3.668 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002888/0.2955, allocations: 87.28 kB / 498.7 MB, free: 3.582 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2955, allocations: 7.938 kB / 498.7 MB, free: 3.574 MB / 366.1 MB Notification: Performance of Templates: time 0.285/0.5805, allocations: 56.9 MB / 0.5425 GB, free: 15.36 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches