Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001349/0.001349, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001336/0.001336, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.537/1.537, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2557/0.2557, allocations: 46.13 MB / 344.2 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002285/0.002285, allocations: 81.64 kB / 417.7 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1437, allocations: 62.45 MB / 480.1 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.003461/0.1472, allocations: 1.649 MB / 481.8 MB, free: 3.551 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.1483, allocations: 0.5572 MB / 482.3 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.912e-05/0.1484, allocations: 0 / 482.3 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002852/0.1487, allocations: 35.78 kB / 482.4 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003285/0.149, allocations: 83.61 kB / 482.4 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003502/0.1494, allocations: 119.5 kB / 482.6 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000214/0.1496, allocations: 87.77 kB / 482.6 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/0.1498, allocations: 27.97 kB / 482.7 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.359e-05/0.1499, allocations: 35.86 kB / 482.7 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.15, allocations: 43.83 kB / 482.7 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.15, allocations: 4 kB / 482.7 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.862e-05/0.1501, allocations: 47.92 kB / 482.8 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.823e-05/0.1502, allocations: 23.92 kB / 482.8 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.133e-05/0.1502, allocations: 31.73 kB / 482.8 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002102/0.1504, allocations: 115.9 kB / 483 MB, free: 2.348 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1505, allocations: 4 kB / 483 MB, free: 2.344 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.1505, allocations: 0 / 483 MB, free: 2.344 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.1505, allocations: 0 / 483 MB, free: 2.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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005745/0.1511, allocations: 403.1 kB / 483.4 MB, free: 1.902 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.1511, allocations: 8.031 kB / 483.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.824e-05/0.1512, allocations: 8.844 kB / 483.4 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002334/0.1514, allocations: 210.6 kB / 483.6 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.1514, allocations: 8.359 kB / 483.6 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.723e-05/0.1515, allocations: 12.31 kB / 483.6 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002015/0.1517, allocations: 69.8 kB / 483.7 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.1517, allocations: 4 kB / 483.7 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.1517, allocations: 0 / 483.7 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.1517, allocations: 0 / 483.7 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001354/0.1519, allocations: 47.95 kB / 483.7 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005456/0.1524, allocations: 348.5 kB / 484.1 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000149/0.1526, allocations: 62.56 kB / 484.1 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.264e-05/0.1527, allocations: 28.84 kB / 484.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.384e-05/0.1527, allocations: 4 kB / 484.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.1527, allocations: 34.5 kB / 484.2 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.1527, allocations: 0 / 484.2 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001141/0.1539, allocations: 321.1 kB / 484.5 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.727e-05/0.154, allocations: 59.41 kB / 484.6 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001699/0.1541, allocations: 164.8 kB / 484.7 MB, free: 412 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.1542, allocations: 25.7 kB / 484.7 MB, free: 380 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.532e-05/0.1542, allocations: 104 kB / 484.8 MB, free: 272 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.959e-05/0.1543, allocations: 39.38 kB / 484.9 MB, free: 232 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.86e-05/0.1543, allocations: 29.7 kB / 484.9 MB, free: 196 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.1545, allocations: 326.8 kB / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.1546, allocations: 43.97 kB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.758e-05/0.1547, allocations: 43.97 kB / 485.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002282/0.155, allocations: 116.9 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.155, allocations: 0 / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000286/0.1553, allocations: 148.5 kB / 485.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.1553, allocations: 10.44 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.1553, allocations: 4.688 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/0.1553, allocations: 4 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.1555, allocations: 31.92 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.1555, allocations: 0 / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.991e-05/0.1555, allocations: 8 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.1556, allocations: 4 kB / 485.6 MB, free: 15.45 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 (13): * Single equations (assignments): 13 * 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.0001148/0.1557, allocations: 133.8 kB / 485.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.168e-05/0.1557, allocations: 19.73 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003967/0.1561, allocations: 186.4 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1561, allocations: 0 / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.1562, allocations: 4 kB / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.598e-05/0.1562, allocations: 3.984 kB / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007111/0.1569, allocations: 0.4912 MB / 486.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1569, allocations: 0 / 486.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001378/0.1571, allocations: 31.92 kB / 486.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.1571, allocations: 0 / 486.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.1571, allocations: 4 kB / 486.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.1571, allocations: 0 / 486.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1571, allocations: 3.938 kB / 486.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000341/0.1574, allocations: 256.2 kB / 486.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.015e-05/0.1575, allocations: 85.02 kB / 486.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.1575, allocations: 8 kB / 486.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.016e-05/0.1576, allocations: 7.984 kB / 486.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.38e-05/0.1577, allocations: 8 kB / 486.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.1577, allocations: 7.984 kB / 486.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001328/0.1578, allocations: 134.6 kB / 487 MB, free: 13.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1578, allocations: 0 / 487 MB, free: 13.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002562/0.1581, allocations: 24 kB / 487 MB, free: 13.95 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 (13): * Single equations (assignments): 13 * 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.001643/0.1598, allocations: 446.8 kB / 487.5 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003127/0.1601, allocations: 119.9 kB / 487.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.1601, allocations: 0 / 487.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.1602, allocations: 63.89 kB / 487.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003831/0.1606, allocations: 20.16 kB / 487.7 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006141/0.1613, allocations: 271.3 kB / 487.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003806/0.1616, allocations: 0.708 MB / 488.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.971e-05/0.1617, allocations: 28.52 kB / 488.7 MB, free: 12.42 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.189e-05/0.1618, allocations: 23.44 kB / 488.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1618, allocations: 0 / 488.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of Templates: time 0.004847/0.1666, allocations: 1.582 MB / 490.3 MB, free: 10.82 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches