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.001671/0.001671, 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.001833/0.001833, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2251/0.2251, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00242/0.002421, allocations: 79.62 kB / 417.6 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.137, allocations: 62.45 MB / 480 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.004165/0.1412, allocations: 1.971 MB / 482 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001961/0.1432, allocations: 1.187 MB / 483.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001226/0.1433, allocations: 7.938 kB / 483.2 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000768/0.1441, allocations: 199.4 kB / 483.4 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004703/0.1446, allocations: 203.2 kB / 483.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004221/0.145, allocations: 166.9 kB / 483.8 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003008/0.1454, allocations: 263.3 kB / 484 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000148/0.1455, allocations: 36.28 kB / 484 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.1457, allocations: 107.5 kB / 484.1 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001472/0.1458, allocations: 107.5 kB / 484.3 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.066e-05/0.1459, allocations: 15.98 kB / 484.3 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001411/0.146, allocations: 63.91 kB / 484.3 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.102e-05/0.1461, allocations: 43.84 kB / 484.4 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.397e-05/0.1462, allocations: 91.41 kB / 484.5 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002851/0.1465, allocations: 239.5 kB / 484.7 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.219e-05/0.1465, allocations: 0 / 484.7 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1465, allocations: 3.938 kB / 484.7 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.523e-06/0.1465, allocations: 0 / 484.7 MB, free: 0.5859 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000865/0.1474, allocations: 0.5585 MB / 485.3 MB, free: 15.97 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.1474, allocations: 8.031 kB / 485.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.595e-05/0.1475, allocations: 24.66 kB / 485.3 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003566/0.1479, allocations: 291.5 kB / 485.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.1479, allocations: 12.38 kB / 485.6 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.1479, allocations: 12.06 kB / 485.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002191/0.1482, allocations: 100.2 kB / 485.7 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.1482, allocations: 0 / 485.7 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.1482, allocations: 7.938 kB / 485.7 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1482, allocations: 0 / 485.7 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001269/0.1483, allocations: 43.91 kB / 485.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005019/0.1489, allocations: 385.5 kB / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002942/0.1492, allocations: 117.2 kB / 486.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.983e-05/0.1493, allocations: 45.7 kB / 486.3 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.1493, allocations: 0 / 486.3 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002264/0.1495, allocations: 117 kB / 486.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.312e-06/0.1496, allocations: 4 kB / 486.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004648/0.15, allocations: 177.3 kB / 486.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.1501, allocations: 110.8 kB / 486.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003703/0.1505, allocations: 351.3 kB / 487 MB, free: 14.01 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.1505, allocations: 25.7 kB / 487.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.967e-05/0.1506, allocations: 148.2 kB / 487.2 MB, free: 13.83 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.796e-05/0.1507, allocations: 31.56 kB / 487.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.305e-05/0.1507, allocations: 33.7 kB / 487.3 MB, free: 13.76 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.1508, allocations: 342.8 kB / 487.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.107e-05/0.1509, allocations: 27.98 kB / 487.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.1511, allocations: 81.12 kB / 487.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001904/0.1513, allocations: 103.9 kB / 487.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1513, allocations: 0 / 487.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002972/0.1516, allocations: 141.3 kB / 487.9 MB, free: 13.03 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.1516, allocations: 4 kB / 487.9 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.1516, allocations: 4 kB / 488 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.1516, allocations: 0 / 488 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.1518, allocations: 31.86 kB / 488 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.1518, allocations: 4.062 kB / 488 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.731e-05/0.1519, allocations: 15.89 kB / 488 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.1519, allocations: 7.938 kB / 488 MB, free: 12.96 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.0001393/0.152, allocations: 150.9 kB / 488.2 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.94e-05/0.1521, allocations: 23.72 kB / 488.2 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.987e-05/0.1521, allocations: 29.81 kB / 488.2 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.1522, allocations: 7.938 kB / 488.2 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.1522, allocations: 0 / 488.2 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.1522, allocations: 4 kB / 488.2 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/0.1524, allocations: 265.4 kB / 488.5 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1524, allocations: 0 / 488.5 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.433e-05/0.1525, allocations: 8 kB / 488.5 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1525, allocations: 0 / 488.5 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.1525, allocations: 7.984 kB / 488.5 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1525, allocations: 0 / 488.5 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.1525, allocations: 128 / 488.5 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003262/0.1528, allocations: 197.3 kB / 488.7 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.184e-05/0.1529, allocations: 104.8 kB / 488.8 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.98e-05/0.153, allocations: 4 kB / 488.8 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.155e-05/0.153, allocations: 4 kB / 488.8 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.647e-05/0.1531, allocations: 11.98 kB / 488.8 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.918e-05/0.1531, allocations: 7.938 kB / 488.8 MB, free: 12.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002739/0.1534, allocations: 261.9 kB / 489.1 MB, free: 11.8 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1534, allocations: 0 / 489.1 MB, free: 11.8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002683/0.1537, allocations: 39.98 kB / 489.1 MB, free: 11.76 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.001047/0.1547, allocations: 407.4 kB / 489.5 MB, free: 11.49 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003433/0.1551, allocations: 91.89 kB / 489.6 MB, free: 11.4 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/0.1551, allocations: 0 / 489.6 MB, free: 11.4 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.1552, allocations: 51.86 kB / 489.7 MB, free: 11.35 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004416/0.1557, allocations: 61.44 kB / 489.7 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007964/0.1565, allocations: 408.5 kB / 490.1 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003741/0.1569, allocations: 0.748 MB / 490.9 MB, free: 10.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001172/0.157, allocations: 33.92 kB / 490.9 MB, free: 10.06 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.67e-05/0.1571, allocations: 27.42 kB / 490.9 MB, free: 10.04 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1571, allocations: 0 / 490.9 MB, free: 10.04 MB / 366.1 MB Notification: Performance of Templates: time 0.007028/0.1641, allocations: 3.015 MB / 493.9 MB, free: 7.047 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches