Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001134/0.001134, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001222/0.001222, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2083/0.2083, allocations: 46.09 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002222/0.002222, allocations: 77.12 kB / 417.6 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1382, allocations: 62.43 MB / 480 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.003217/0.1415, allocations: 1.616 MB / 481.6 MB, free: 3.637 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.1426, allocations: 0.5533 MB / 482.2 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.192e-05/0.1427, allocations: 0 / 482.2 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003078/0.143, allocations: 75.72 kB / 482.3 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003842/0.1434, allocations: 91.66 kB / 482.3 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004138/0.1439, allocations: 115.7 kB / 482.5 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000247/0.1441, allocations: 79.81 kB / 482.5 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.1443, allocations: 16 kB / 482.6 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.555e-05/0.1444, allocations: 39.83 kB / 482.6 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.1445, allocations: 43.84 kB / 482.6 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.1445, allocations: 4 kB / 482.6 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001184/0.1446, allocations: 47.97 kB / 482.7 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.494e-05/0.1447, allocations: 19.92 kB / 482.7 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.218e-05/0.1447, allocations: 35.69 kB / 482.7 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002195/0.145, allocations: 107.7 kB / 482.8 MB, free: 2.414 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.145, allocations: 4 kB / 482.8 MB, free: 2.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.145, allocations: 0 / 482.8 MB, free: 2.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.788e-06/0.145, allocations: 0 / 482.8 MB, free: 2.41 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.0005405/0.1456, allocations: 403.3 kB / 483.2 MB, free: 1.969 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.1456, allocations: 8.031 kB / 483.2 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.737e-05/0.1457, allocations: 12.75 kB / 483.3 MB, free: 1.949 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001872/0.1458, allocations: 200.1 kB / 483.5 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.1459, allocations: 384 / 483.5 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.1459, allocations: 8.312 kB / 483.5 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.146, allocations: 65.73 kB / 483.5 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.1461, allocations: 7.938 kB / 483.5 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.1461, allocations: 3.984 kB / 483.5 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.1461, allocations: 0 / 483.5 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.1462, allocations: 31.97 kB / 483.6 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004399/0.1467, allocations: 292.8 kB / 483.9 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.1468, allocations: 54.48 kB / 483.9 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.101e-05/0.1468, allocations: 12.86 kB / 483.9 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.1469, allocations: 8.141 kB / 483.9 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.1469, allocations: 34.56 kB / 484 MB, free: 1.129 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.183e-06/0.1469, allocations: 4 kB / 484 MB, free: 1.125 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009429/0.1479, allocations: 237 kB / 484.2 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.1479, allocations: 51.41 kB / 484.3 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002186/0.1481, allocations: 207.3 kB / 484.5 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.1482, allocations: 25.7 kB / 484.5 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.803e-05/0.1482, allocations: 104.1 kB / 484.6 MB, free: 480 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.86e-05/0.1483, allocations: 31.56 kB / 484.6 MB, free: 448 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.318e-05/0.1483, allocations: 25.7 kB / 484.6 MB, free: 416 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.1484, allocations: 322.8 kB / 485 MB, free: 84 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.932e-05/0.1485, allocations: 35.92 kB / 485 MB, free: 48 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.392e-05/0.1486, allocations: 27.98 kB / 485 MB, free: 20 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001818/0.1488, allocations: 68.91 kB / 485.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.1488, allocations: 4 kB / 485.1 MB, free: 15.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002328/0.1491, allocations: 113.5 kB / 485.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.1491, allocations: 11.98 kB / 485.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.1491, allocations: 0 / 485.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.1491, allocations: 0 / 485.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.1492, allocations: 19.92 kB / 485.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.1493, allocations: 0 / 485.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.534e-05/0.1493, allocations: 7.938 kB / 485.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.1493, allocations: 8 kB / 485.2 MB, free: 15.78 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.0001049/0.1494, allocations: 129.8 kB / 485.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.828e-05/0.1495, allocations: 15.81 kB / 485.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002886/0.1498, allocations: 127.3 kB / 485.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.1498, allocations: 4 kB / 485.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.1498, allocations: 0 / 485.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.1498, allocations: 3.938 kB / 485.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005554/0.1504, allocations: 427.2 kB / 485.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1504, allocations: 0 / 485.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.501e-05/0.1505, allocations: 15.98 kB / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.1505, allocations: 3.938 kB / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.1505, allocations: 4 kB / 486 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.1505, allocations: 0 / 486 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1505, allocations: 7.969 kB / 486 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002774/0.1508, allocations: 216.2 kB / 486.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.559e-05/0.1508, allocations: 89.38 kB / 486.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.218e-05/0.1509, allocations: 7.922 kB / 486.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.182e-05/0.151, allocations: 8 kB / 486.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.642e-05/0.151, allocations: 11.98 kB / 486.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.151, allocations: 4 kB / 486.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001246/0.1511, allocations: 151.9 kB / 486.4 MB, free: 14.47 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1511, allocations: 0 / 486.4 MB, free: 14.47 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002602/0.1514, allocations: 20 kB / 486.5 MB, free: 14.45 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.00105/0.1525, allocations: 460.2 kB / 486.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002396/0.1527, allocations: 83.88 kB / 487 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1527, allocations: 0 / 487 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001051/0.1528, allocations: 39.97 kB / 487 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003793/0.1532, allocations: 19.36 kB / 487.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000521/0.1538, allocations: 263.1 kB / 487.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/0.1541, allocations: 0.708 MB / 488 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.715e-05/0.1542, allocations: 20.95 kB / 488 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.489e-05/0.1542, allocations: 23.42 kB / 488.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1542, allocations: 0 / 488.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of Templates: time 0.003796/0.158, allocations: 1.374 MB / 489.4 MB, free: 11.59 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches