Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.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.Tables.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001496/0.001496, 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.001637/0.001637, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 227.4 MB / 247.5 MB, free: 10.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2337/0.2337, allocations: 46.12 MB / 344.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002196/0.002196, allocations: 76.53 kB / 418.3 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1339, allocations: 62.46 MB / 480.8 MB, free: 5.242 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.003679/0.1377, allocations: 1.604 MB / 482.4 MB, free: 3.625 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.1389, allocations: 0.5533 MB / 482.9 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.019e-05/0.1389, allocations: 0 / 482.9 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003164/0.1393, allocations: 91.67 kB / 483 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003541/0.1396, allocations: 115.6 kB / 483.1 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003503/0.14, allocations: 103.7 kB / 483.2 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001958/0.1402, allocations: 87.8 kB / 483.3 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.1403, allocations: 12 kB / 483.3 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.882e-05/0.1404, allocations: 43.84 kB / 483.4 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.1405, allocations: 55.81 kB / 483.4 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.1406, allocations: 4 kB / 483.4 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.1407, allocations: 47.97 kB / 483.5 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.016e-05/0.1407, allocations: 23.92 kB / 483.5 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.128e-05/0.1408, allocations: 35.62 kB / 483.5 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002149/0.141, allocations: 111.7 kB / 483.6 MB, free: 2.348 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.141, allocations: 0 / 483.6 MB, free: 2.348 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.141, allocations: 0 / 483.6 MB, free: 2.348 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.1411, allocations: 0 / 483.6 MB, free: 2.348 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000631/0.1417, allocations: 423.2 kB / 484.1 MB, free: 1.887 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.1417, allocations: 11.97 kB / 484.1 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.073e-05/0.1418, allocations: 12.75 kB / 484.1 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002568/0.1421, allocations: 208.1 kB / 484.3 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.1421, allocations: 384 / 484.3 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.969e-05/0.1421, allocations: 8.375 kB / 484.3 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.1423, allocations: 57.73 kB / 484.3 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.1423, allocations: 0 / 484.3 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.1424, allocations: 4 kB / 484.4 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.1424, allocations: 4 kB / 484.4 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.1425, allocations: 27.97 kB / 484.4 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005181/0.143, allocations: 308.7 kB / 484.7 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.1431, allocations: 50.48 kB / 484.7 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.718e-05/0.1432, allocations: 20.86 kB / 484.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.1432, allocations: 0 / 484.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/0.1433, allocations: 30.56 kB / 484.8 MB, free: 1.043 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.1433, allocations: 4 kB / 484.8 MB, free: 1.039 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009607/0.1443, allocations: 253 kB / 485 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.1443, allocations: 51.41 kB / 485.1 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002454/0.1446, allocations: 231.1 kB / 485.3 MB, free: 500 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.1446, allocations: 29.7 kB / 485.3 MB, free: 464 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.675e-05/0.1447, allocations: 108.1 kB / 485.4 MB, free: 352 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.626e-05/0.1447, allocations: 27.56 kB / 485.5 MB, free: 324 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.36e-05/0.1448, allocations: 21.7 kB / 485.5 MB, free: 296 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001801/0.145, allocations: 326.8 kB / 485.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.823e-05/0.1451, allocations: 31.92 kB / 485.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.091e-05/0.1451, allocations: 31.98 kB / 485.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001827/0.1453, allocations: 68.83 kB / 485.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1453, allocations: 0 / 485.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002352/0.1456, allocations: 113.5 kB / 486.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.1456, allocations: 14.64 kB / 486.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.1456, allocations: 0 / 486.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.1457, allocations: 3.938 kB / 486.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.1458, allocations: 23.92 kB / 486.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.1458, allocations: 0 / 486.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.67e-05/0.1459, allocations: 7.938 kB / 486.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/0.1459, allocations: 0 / 486.1 MB, free: 15.66 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 (8): * Single equations (assignments): 8 * 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.0001301/0.146, allocations: 130.9 kB / 486.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.206e-05/0.1461, allocations: 19.81 kB / 486.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003213/0.1464, allocations: 135.3 kB / 486.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.1464, allocations: 0 / 486.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.1464, allocations: 0 / 486.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.328e-06/0.1464, allocations: 4.359 kB / 486.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006128/0.147, allocations: 431.1 kB / 486.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1471, allocations: 0 / 486.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.14e-05/0.1471, allocations: 15.98 kB / 486.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.1471, allocations: 7.938 kB / 486.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.1472, allocations: 4 kB / 486.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.1472, allocations: 0 / 486.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.1472, allocations: 4 kB / 486.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003184/0.1475, allocations: 224.3 kB / 487.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.169e-05/0.1476, allocations: 96.8 kB / 487.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.1476, allocations: 0 / 487.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.187e-05/0.1477, allocations: 4 kB / 487.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.033e-05/0.1477, allocations: 11.98 kB / 487.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.93e-06/0.1477, allocations: 0 / 487.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001756/0.1479, allocations: 179.2 kB / 487.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1479, allocations: 4 kB / 487.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00026/0.1482, allocations: 24 kB / 487.4 MB, free: 14.29 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (8): * Single equations (assignments): 8 * 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.001712/0.1499, allocations: 448.5 kB / 487.8 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00026/0.1502, allocations: 79.89 kB / 487.9 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.1502, allocations: 4 kB / 487.9 MB, free: 13.92 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001002/0.1503, allocations: 43.95 kB / 487.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003928/0.1507, allocations: 23.48 kB / 488 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006502/0.1514, allocations: 320.5 kB / 488.3 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003629/0.1518, allocations: 0.7158 MB / 489 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.131e-05/0.1518, allocations: 19.44 kB / 489 MB, free: 12.75 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1518, allocations: 0 / 489 MB, free: 12.75 MB / 366.1 MB Notification: Performance of Templates: time 0.00413/0.1559, allocations: 1.852 MB / 490.9 MB, free: 10.89 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches