Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.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.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001413/0.001413, allocations: 116.2 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001569/0.00157, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.492/1.492, allocations: 227.4 MB / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2104/0.2104, allocations: 46.12 MB / 343.8 MB, free: 11.73 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001469, allocations: 76.56 kB / 417.1 MB, free: 20.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1388, allocations: 62.43 MB / 479.5 MB, free: 5.602 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.003633/0.1424, allocations: 1.795 MB / 481.3 MB, free: 3.793 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001747/0.1442, allocations: 1.006 MB / 482.3 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.265e-05/0.1443, allocations: 0 / 482.3 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003554/0.1447, allocations: 39.83 kB / 482.3 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003647/0.1451, allocations: 83.69 kB / 482.4 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002772/0.1454, allocations: 67.81 kB / 482.5 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002233/0.1457, allocations: 107.7 kB / 482.6 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.1458, allocations: 15.97 kB / 482.6 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.856e-05/0.1459, allocations: 39.8 kB / 482.6 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.686e-05/0.146, allocations: 43.72 kB / 482.7 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.146, allocations: 4 kB / 482.7 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.1461, allocations: 43.98 kB / 482.7 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.763e-05/0.1462, allocations: 19.92 kB / 482.7 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.857e-05/0.1463, allocations: 35.73 kB / 482.8 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002155/0.1465, allocations: 115.9 kB / 482.9 MB, free: 2.176 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.1465, allocations: 4 kB / 482.9 MB, free: 2.172 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1465, allocations: 0 / 482.9 MB, free: 2.172 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.1465, allocations: 0 / 482.9 MB, free: 2.172 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005904/0.1471, allocations: 418.9 kB / 483.3 MB, free: 1.715 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.1472, allocations: 12.03 kB / 483.3 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.687e-05/0.1472, allocations: 12.84 kB / 483.3 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002193/0.1474, allocations: 208.8 kB / 483.5 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.1475, allocations: 384 / 483.5 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/0.1475, allocations: 12.06 kB / 483.5 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.1476, allocations: 53.67 kB / 483.6 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.1477, allocations: 0 / 483.6 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.1477, allocations: 0 / 483.6 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1477, allocations: 0 / 483.6 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.068e-05/0.1478, allocations: 27.92 kB / 483.6 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003774/0.1482, allocations: 288.8 kB / 483.9 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/0.1483, allocations: 54.67 kB / 484 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.504e-05/0.1484, allocations: 24.84 kB / 484 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.916e-05/0.1484, allocations: 4 kB / 484 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002251/0.1487, allocations: 67.33 kB / 484.1 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.1487, allocations: 0 / 484.1 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005632/0.1493, allocations: 181.2 kB / 484.2 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/0.1493, allocations: 55.41 kB / 484.3 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001959/0.1495, allocations: 190.9 kB / 484.5 MB, free: 412 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.1495, allocations: 29.7 kB / 484.5 MB, free: 376 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.688e-05/0.1496, allocations: 104.1 kB / 484.6 MB, free: 268 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.18e-05/0.1496, allocations: 23.72 kB / 484.6 MB, free: 244 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-05/0.1497, allocations: 21.7 kB / 484.6 MB, free: 216 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.1499, allocations: 330.8 kB / 485 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.89e-05/0.15, allocations: 16 kB / 485 MB, free: 15.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.678e-05/0.15, allocations: 41.64 kB / 485 MB, free: 15.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.1502, allocations: 65.7 kB / 485.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.1502, allocations: 4 kB / 485.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000189/0.1504, allocations: 97.48 kB / 485.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.1504, allocations: 14.64 kB / 485.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1504, allocations: 0 / 485.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.1504, allocations: 0 / 485.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.054e-05/0.1505, allocations: 23.94 kB / 485.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.1505, allocations: 0 / 485.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.628e-05/0.1506, allocations: 3.938 kB / 485.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.1506, allocations: 7.984 kB / 485.2 MB, free: 15.59 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001402/0.1507, allocations: 125.9 kB / 485.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.278e-05/0.1508, allocations: 11.91 kB / 485.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.584e-05/0.1508, allocations: 17.39 kB / 485.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1508, allocations: 0 / 485.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.1508, allocations: 3.938 kB / 485.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.1509, allocations: 3.938 kB / 485.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004796/0.1513, allocations: 399.2 kB / 485.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.1514, allocations: 3.984 kB / 485.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.297e-05/0.1514, allocations: 11.98 kB / 485.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.1514, allocations: 4 kB / 485.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.1514, allocations: 7.875 kB / 485.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.1514, allocations: 0 / 485.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1514, allocations: 0 / 485.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002273/0.1517, allocations: 204.3 kB / 486 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.271e-05/0.1517, allocations: 84.92 kB / 486.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.874e-05/0.1518, allocations: 11.92 kB / 486.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.166e-05/0.1518, allocations: 4.375 kB / 486.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.823e-05/0.1519, allocations: 4 kB / 486.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.1519, allocations: 7.984 kB / 486.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001342/0.152, allocations: 148.8 kB / 486.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.152, allocations: 0 / 486.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002725/0.1523, allocations: 27.98 kB / 486.3 MB, free: 14.43 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001084/0.1534, allocations: 464.8 kB / 486.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002284/0.1537, allocations: 63.91 kB / 486.8 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/0.1537, allocations: 4.062 kB / 486.8 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8e-05/0.1538, allocations: 24.16 kB / 486.8 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.0003914/0.1542, allocations: 32.42 kB / 486.9 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005478/0.1547, allocations: 263 kB / 487.1 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.1551, allocations: 0.7079 MB / 487.8 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.323e-05/0.1551, allocations: 12.89 kB / 487.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.502e-05/0.1552, allocations: 23.36 kB / 487.9 MB, free: 12.95 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1552, allocations: 0 / 487.9 MB, free: 12.95 MB / 366.1 MB Notification: Performance of Templates: time 0.004822/0.16, allocations: 1.701 MB / 489.6 MB, free: 11.27 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches