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.001025/0.001025, allocations: 92.12 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001173/0.001173, allocations: 196.6 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 227.8 MB / 246.8 MB, free: 11.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2261/0.2261, allocations: 46.19 MB / 345.2 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002828/0.0002827, allocations: 12 kB / 419.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1212, allocations: 63.55 MB / 483.1 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.002509/0.1237, allocations: 1.678 MB / 484.8 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002017/0.1258, allocations: 1.162 MB / 485.9 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001464/0.1259, allocations: 3.938 kB / 485.9 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006884/0.1266, allocations: 191.5 kB / 486.1 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005202/0.1272, allocations: 175.5 kB / 486.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004527/0.1276, allocations: 139 kB / 486.4 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003636/0.128, allocations: 263.2 kB / 486.7 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.1281, allocations: 32.28 kB / 486.7 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001998/0.1283, allocations: 95.5 kB / 486.8 MB, free: 432 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001958/0.1285, allocations: 111.5 kB / 486.9 MB, free: 320 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.733e-05/0.1286, allocations: 7.938 kB / 486.9 MB, free: 312 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001535/0.1287, allocations: 43.98 kB / 487 MB, free: 268 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.76e-05/0.1288, allocations: 51.81 kB / 487 MB, free: 216 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000154/0.129, allocations: 105.1 kB / 487.1 MB, free: 104 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003511/0.1294, allocations: 235.5 kB / 487.4 MB, free: 15.87 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1294, allocations: 0 / 487.4 MB, free: 15.87 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1294, allocations: 0 / 487.4 MB, free: 15.87 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.1294, allocations: 0 / 487.4 MB, free: 15.87 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.0008398/0.1302, allocations: 0.5273 MB / 487.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.1303, allocations: 8.875 kB / 487.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.483e-05/0.1304, allocations: 24.66 kB / 487.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003919/0.1308, allocations: 287.5 kB / 488.2 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.1308, allocations: 8.375 kB / 488.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.398e-05/0.1308, allocations: 8.125 kB / 488.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002352/0.1311, allocations: 104.2 kB / 488.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.1311, allocations: 0 / 488.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.1311, allocations: 3.938 kB / 488.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.1311, allocations: 0 / 488.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001352/0.1313, allocations: 43.91 kB / 488.4 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00054/0.1318, allocations: 385.5 kB / 488.7 MB, free: 14.33 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002972/0.1321, allocations: 121.2 kB / 488.9 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.1323, allocations: 49.64 kB / 488.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.1323, allocations: 4 kB / 488.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002366/0.1325, allocations: 109 kB / 489 MB, free: 14.01 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.643e-06/0.1325, allocations: 0 / 489 MB, free: 14.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005177/0.1331, allocations: 185.3 kB / 489.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.017e-05/0.1332, allocations: 114.8 kB / 489.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004225/0.1336, allocations: 351.3 kB / 489.7 MB, free: 13.33 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.1336, allocations: 25.7 kB / 489.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.1337, allocations: 148 kB / 489.8 MB, free: 13.15 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.877e-05/0.1338, allocations: 23.66 kB / 489.8 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.107e-05/0.1338, allocations: 21.7 kB / 489.9 MB, free: 13.1 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.134, allocations: 342.8 kB / 490.2 MB, free: 12.76 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.944e-05/0.1341, allocations: 31.98 kB / 490.2 MB, free: 12.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.1342, allocations: 77.12 kB / 490.3 MB, free: 12.63 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001913/0.1344, allocations: 91.36 kB / 490.4 MB, free: 12.53 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1344, allocations: 4.031 kB / 490.4 MB, free: 12.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003157/0.1348, allocations: 157.2 kB / 490.6 MB, free: 12.37 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.1348, allocations: 4 kB / 490.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.1348, allocations: 4 kB / 490.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.687e-05/0.1348, allocations: 3.984 kB / 490.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.135, allocations: 19.98 kB / 490.6 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.135, allocations: 4 kB / 490.6 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.733e-05/0.1351, allocations: 8 kB / 490.6 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.763e-05/0.1351, allocations: 16 kB / 490.6 MB, free: 12.31 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.0001643/0.1353, allocations: 155.4 kB / 490.8 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.703e-05/0.1353, allocations: 27.7 kB / 490.8 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.638e-05/0.1354, allocations: 29.83 kB / 490.8 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.1354, allocations: 0 / 490.8 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.1354, allocations: 0 / 490.8 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.1354, allocations: 4 kB / 490.8 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002585/0.1357, allocations: 269.4 kB / 491.1 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.1357, allocations: 0 / 491.1 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.428e-05/0.1358, allocations: 12 kB / 491.1 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.1358, allocations: 0 / 491.1 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.1358, allocations: 4 kB / 491.1 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.1358, allocations: 0 / 491.1 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1358, allocations: 0 / 491.1 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003238/0.1361, allocations: 189.5 kB / 491.3 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.007e-05/0.1362, allocations: 104.8 kB / 491.4 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.791e-05/0.1363, allocations: 8 kB / 491.4 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.658e-05/0.1364, allocations: 11.98 kB / 491.4 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.96e-05/0.1364, allocations: 7.938 kB / 491.4 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.142e-05/0.1365, allocations: 19.86 kB / 491.4 MB, free: 11.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002858/0.1368, allocations: 257.9 kB / 491.7 MB, free: 11.13 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1368, allocations: 0 / 491.7 MB, free: 11.13 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002738/0.1371, allocations: 36 kB / 491.7 MB, free: 11.09 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.0009914/0.138, allocations: 409.8 kB / 492.1 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002754/0.1383, allocations: 87.91 kB / 492.2 MB, free: 10.74 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1384, allocations: 4 kB / 492.2 MB, free: 10.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.1385, allocations: 43.97 kB / 492.3 MB, free: 10.69 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004543/0.1389, allocations: 64.53 kB / 492.3 MB, free: 10.63 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007855/0.1397, allocations: 455.6 kB / 492.8 MB, free: 10.15 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/0.1401, allocations: 0.7521 MB / 493.5 MB, free: 9.371 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001279/0.1403, allocations: 37.91 kB / 493.6 MB, free: 9.336 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.081e-05/0.1403, allocations: 27.42 kB / 493.6 MB, free: 9.309 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1403, allocations: 0 / 493.6 MB, free: 9.309 MB / 366.1 MB Notification: Performance of Templates: time 0.006929/0.1473, allocations: 2.828 MB / 496.4 MB, free: 6.504 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