Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001547/0.001547, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001943/0.001943, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2229/0.2229, allocations: 46.11 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 78.38 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1209, allocations: 62.44 MB / 481.5 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.00383/0.1248, allocations: 1.839 MB / 483.3 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00196/0.1268, allocations: 1.091 MB / 484.4 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001241/0.127, allocations: 0 / 484.4 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005161/0.1275, allocations: 303.3 kB / 484.7 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005397/0.1281, allocations: 251.2 kB / 484.9 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003034/0.1284, allocations: 111.6 kB / 485 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003796/0.1288, allocations: 255.3 kB / 485.3 MB, free: 0.668 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.933e-05/0.1288, allocations: 21.66 kB / 485.3 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002365/0.1291, allocations: 127.5 kB / 485.4 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002779/0.1294, allocations: 188 kB / 485.6 MB, free: 348 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.243e-05/0.1294, allocations: 11.94 kB / 485.6 MB, free: 336 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001461/0.1296, allocations: 47.97 kB / 485.7 MB, free: 288 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001377/0.1297, allocations: 128.5 kB / 485.8 MB, free: 160 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001497/0.1299, allocations: 142.8 kB / 485.9 MB, free: 16 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004616/0.1303, allocations: 378.6 kB / 486.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1304, allocations: 0 / 486.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1304, allocations: 0 / 486.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.501e-05/0.1304, allocations: 0 / 486.3 MB, free: 15.64 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001084/0.1315, allocations: 0.7347 MB / 487 MB, free: 14.86 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.1315, allocations: 8.031 kB / 487.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.1316, allocations: 48.28 kB / 487.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006659/0.1323, allocations: 451.8 kB / 487.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.1323, allocations: 384 / 487.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.05e-05/0.1323, allocations: 12.12 kB / 487.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/0.1325, allocations: 87.3 kB / 487.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.1326, allocations: 0 / 487.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.1326, allocations: 4 kB / 487.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.1326, allocations: 4 kB / 487.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.1327, allocations: 27.97 kB / 487.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004653/0.1332, allocations: 370.4 kB / 488 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002627/0.1335, allocations: 109.2 kB / 488.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.281e-05/0.1336, allocations: 41.64 kB / 488.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.1336, allocations: 0 / 488.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002685/0.1339, allocations: 113 kB / 488.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.283e-06/0.1339, allocations: 0 / 488.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005184/0.1344, allocations: 201.3 kB / 488.5 MB, free: 13.26 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.301e-05/0.1345, allocations: 77.11 kB / 488.6 MB, free: 13.17 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001102/0.1356, allocations: 1.03 MB / 489.6 MB, free: 12.13 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.1356, allocations: 29.64 kB / 489.6 MB, free: 12.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/0.1357, allocations: 232.1 kB / 489.9 MB, free: 11.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.705e-05/0.1358, allocations: 39.62 kB / 489.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.817e-05/0.1359, allocations: 25.7 kB / 489.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.136, allocations: 366.8 kB / 490.3 MB, free: 11.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.879e-05/0.1361, allocations: 27.98 kB / 490.3 MB, free: 11.4 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.677e-05/0.1362, allocations: 59.42 kB / 490.4 MB, free: 11.33 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001586/0.1363, allocations: 99.34 kB / 490.5 MB, free: 11.22 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1363, allocations: 0 / 490.5 MB, free: 11.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002669/0.1366, allocations: 164.9 kB / 490.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.1366, allocations: 8 kB / 490.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1366, allocations: 64 / 490.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.1367, allocations: 7.984 kB / 490.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.1368, allocations: 20 kB / 490.7 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.1368, allocations: 3.938 kB / 490.7 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.658e-05/0.1369, allocations: 15.89 kB / 490.7 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.1369, allocations: 4 kB / 490.7 MB, free: 10.99 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: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001802/0.1371, allocations: 226.6 kB / 490.9 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.473e-05/0.1372, allocations: 43.44 kB / 490.9 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.767e-05/0.1372, allocations: 64.09 kB / 491 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.1373, allocations: 4 kB / 491 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.1373, allocations: 4 kB / 491 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.1373, allocations: 0 / 491 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002679/0.1375, allocations: 349.2 kB / 491.3 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1376, allocations: 128 / 491.3 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.502e-05/0.1376, allocations: 8 kB / 491.4 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.1376, allocations: 4 kB / 491.4 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.1376, allocations: 3.984 kB / 491.4 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.1376, allocations: 3.938 kB / 491.4 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1376, allocations: 4 kB / 491.4 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002899/0.1379, allocations: 205.2 kB / 491.6 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001571/0.1381, allocations: 136.5 kB / 491.7 MB, free: 9.855 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.114e-05/0.1381, allocations: 0 / 491.7 MB, free: 9.855 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.851e-05/0.1382, allocations: 7.984 kB / 491.7 MB, free: 9.848 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.22e-05/0.1383, allocations: 8 kB / 491.7 MB, free: 9.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.128e-05/0.1383, allocations: 8.078 kB / 491.7 MB, free: 9.832 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006962/0.139, allocations: 0.772 MB / 492.5 MB, free: 9.062 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.139, allocations: 0 / 492.5 MB, free: 9.062 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002621/0.1393, allocations: 40 kB / 492.5 MB, free: 9.023 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.0009353/0.1402, allocations: 414.4 kB / 492.9 MB, free: 8.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002341/0.1405, allocations: 71.91 kB / 493 MB, free: 8.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.1405, allocations: 4 kB / 493 MB, free: 8.676 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.1406, allocations: 44.05 kB / 493.1 MB, free: 8.633 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003918/0.141, allocations: 76.83 kB / 493.1 MB, free: 8.566 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.1422, allocations: 0.8551 MB / 494 MB, free: 7.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005533/0.1428, allocations: 0.8503 MB / 494.8 MB, free: 6.805 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000122/0.1429, allocations: 62.92 kB / 494.9 MB, free: 6.746 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.412e-05/0.143, allocations: 31.42 kB / 494.9 MB, free: 6.715 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.143, allocations: 3.938 kB / 494.9 MB, free: 6.711 MB / 366.1 MB Notification: Performance of Templates: time 0.007776/0.1508, allocations: 3.706 MB / 498.6 MB, free: 3.012 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches