Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.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.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83") translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001357/0.001357, allocations: 115.9 kB / 18.41 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001435/0.001435, allocations: 203.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.364/1.364, allocations: 227.4 MB / 247.5 MB, free: 10.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.229/0.229, allocations: 46.1 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 80.44 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1329, allocations: 62.45 MB / 481.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003374/0.1363, allocations: 1.965 MB / 483.4 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001837/0.1381, allocations: 1.185 MB / 484.6 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.435e-05/0.1382, allocations: 4 kB / 484.6 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000645/0.1389, allocations: 203.3 kB / 484.8 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004698/0.1394, allocations: 203.2 kB / 485 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003955/0.1398, allocations: 159.2 kB / 485.2 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003058/0.1401, allocations: 275.2 kB / 485.5 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.1402, allocations: 24.31 kB / 485.5 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001482/0.1404, allocations: 119.5 kB / 485.6 MB, free: 400 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001456/0.1406, allocations: 107.5 kB / 485.7 MB, free: 292 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.685e-05/0.1406, allocations: 12 kB / 485.7 MB, free: 280 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001443/0.1407, allocations: 59.97 kB / 485.8 MB, free: 220 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.117e-05/0.1408, allocations: 63.69 kB / 485.8 MB, free: 156 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.96e-05/0.1409, allocations: 79.48 kB / 485.9 MB, free: 76 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003164/0.1413, allocations: 247.1 kB / 486.1 MB, free: 15.83 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1413, allocations: 4 kB / 486.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1413, allocations: 0 / 486.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.1413, allocations: 0 / 486.2 MB, free: 15.83 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008877/0.1422, allocations: 0.5583 MB / 486.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.1422, allocations: 8.031 kB / 486.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.536e-05/0.1423, allocations: 24.66 kB / 486.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003603/0.1427, allocations: 291.5 kB / 487 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.1427, allocations: 8.375 kB / 487 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.1427, allocations: 8.125 kB / 487 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002241/0.143, allocations: 108.1 kB / 487.1 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.143, allocations: 0 / 487.1 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.143, allocations: 8 kB / 487.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.143, allocations: 0 / 487.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000118/0.1431, allocations: 31.98 kB / 487.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004983/0.1436, allocations: 393.4 kB / 487.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002653/0.1439, allocations: 117.2 kB / 487.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.753e-05/0.144, allocations: 45.69 kB / 487.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.1441, allocations: 4 kB / 487.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002138/0.1443, allocations: 109.1 kB / 487.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.383e-06/0.1443, allocations: 0 / 487.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004433/0.1447, allocations: 189.5 kB / 488 MB, free: 13.74 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.915e-05/0.1448, allocations: 102.8 kB / 488.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003767/0.1452, allocations: 359.3 kB / 488.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.1452, allocations: 29.7 kB / 488.5 MB, free: 13.22 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.1453, allocations: 136.1 kB / 488.6 MB, free: 13.08 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.795e-05/0.1454, allocations: 39.48 kB / 488.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.022e-05/0.1454, allocations: 29.7 kB / 488.7 MB, free: 13.01 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.1456, allocations: 342.8 kB / 489 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.1457, allocations: 31.98 kB / 489.1 MB, free: 12.63 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.1458, allocations: 81.12 kB / 489.2 MB, free: 12.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.146, allocations: 91.36 kB / 489.2 MB, free: 12.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.146, allocations: 0 / 489.2 MB, free: 12.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002591/0.1463, allocations: 153.3 kB / 489.4 MB, free: 12.28 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.1463, allocations: 4 kB / 489.4 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.1463, allocations: 4 kB / 489.4 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.1464, allocations: 0 / 489.4 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.1465, allocations: 27.92 kB / 489.4 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.1465, allocations: 0 / 489.4 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.159e-05/0.1466, allocations: 15.91 kB / 489.4 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.1466, allocations: 7.938 kB / 489.4 MB, free: 12.22 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001283/0.1467, allocations: 155.4 kB / 489.6 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.838e-05/0.1468, allocations: 35.64 kB / 489.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.96e-05/0.1468, allocations: 29.83 kB / 489.7 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1468, allocations: 0 / 489.7 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.1469, allocations: 0 / 489.7 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.1469, allocations: 0 / 489.7 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002004/0.1471, allocations: 261.5 kB / 489.9 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1471, allocations: 0 / 489.9 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.178e-05/0.1471, allocations: 11.94 kB / 489.9 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.1471, allocations: 0 / 489.9 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.1471, allocations: 8 kB / 489.9 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.1471, allocations: 0 / 489.9 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1472, allocations: 0 / 489.9 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002888/0.1474, allocations: 193.4 kB / 490.1 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.152e-05/0.1475, allocations: 92.83 kB / 490.2 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.597e-05/0.1476, allocations: 4 kB / 490.2 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.545e-05/0.1476, allocations: 15.98 kB / 490.2 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.852e-05/0.1477, allocations: 11.92 kB / 490.3 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.718e-05/0.1477, allocations: 7.938 kB / 490.3 MB, free: 11.31 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002719/0.148, allocations: 261.9 kB / 490.5 MB, free: 11.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.148, allocations: 0 / 490.5 MB, free: 11.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002589/0.1483, allocations: 36 kB / 490.5 MB, free: 11.02 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009798/0.1492, allocations: 420.7 kB / 491 MB, free: 10.74 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002708/0.1495, allocations: 91.91 kB / 491.1 MB, free: 10.65 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1495, allocations: 0 / 491.1 MB, free: 10.65 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.1497, allocations: 51.91 kB / 491.1 MB, free: 10.6 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003772/0.15, allocations: 70.98 kB / 491.2 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00067/0.1507, allocations: 384.6 kB / 491.5 MB, free: 10.13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.1511, allocations: 0.7598 MB / 492.3 MB, free: 9.344 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.767e-05/0.1512, allocations: 34.42 kB / 492.3 MB, free: 9.312 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.001e-05/0.1512, allocations: 19.44 kB / 492.4 MB, free: 9.293 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1512, allocations: 3.938 kB / 492.4 MB, free: 9.289 MB / 366.1 MB Notification: Performance of Templates: time 0.006127/0.1574, allocations: 3.007 MB / 495.4 MB, free: 6.301 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches