Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001144/0.001144, allocations: 116.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001104/0.001104, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 227.4 MB / 247.5 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2157/0.2157, allocations: 46.11 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 75.89 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.124, allocations: 62.44 MB / 481.5 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.002802/0.1269, allocations: 1.688 MB / 483.1 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00143/0.1283, allocations: 1.005 MB / 484.2 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.692e-05/0.1284, allocations: 0 / 484.2 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002735/0.1287, allocations: 63.73 kB / 484.2 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002594/0.1289, allocations: 103.6 kB / 484.3 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001643/0.1291, allocations: 79.66 kB / 484.4 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001464/0.1293, allocations: 99.69 kB / 484.5 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.692e-05/0.1293, allocations: 16.23 kB / 484.5 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.575e-05/0.1294, allocations: 43.77 kB / 484.6 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.852e-05/0.1295, allocations: 43.83 kB / 484.6 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.1295, allocations: 4 kB / 484.6 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.385e-05/0.1296, allocations: 35.98 kB / 484.6 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.913e-05/0.1297, allocations: 23.86 kB / 484.7 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.739e-05/0.1297, allocations: 31.75 kB / 484.7 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001632/0.1299, allocations: 107.6 kB / 484.8 MB, free: 1.176 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.1299, allocations: 0 / 484.8 MB, free: 1.176 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1299, allocations: 4 kB / 484.8 MB, free: 1.172 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.1299, allocations: 4 kB / 484.8 MB, free: 1.168 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000468/0.1304, allocations: 399 kB / 485.2 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.911e-05/0.1304, allocations: 8.031 kB / 485.2 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.049e-05/0.1305, allocations: 8.844 kB / 485.2 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/0.1307, allocations: 216.7 kB / 485.4 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.1307, allocations: 4.312 kB / 485.4 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.1308, allocations: 12.11 kB / 485.4 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.1309, allocations: 45.67 kB / 485.5 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.563e-06/0.1309, allocations: 4 kB / 485.5 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.1309, allocations: 0 / 485.5 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.1309, allocations: 4 kB / 485.5 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.598e-05/0.131, allocations: 15.98 kB / 485.5 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001705/0.1312, allocations: 181.7 kB / 485.7 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001448/0.1313, allocations: 58.55 kB / 485.7 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.191e-05/0.1314, allocations: 24.8 kB / 485.8 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.1314, allocations: 0 / 485.8 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001443/0.1316, allocations: 71.38 kB / 485.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.322e-06/0.1316, allocations: 0 / 485.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002699/0.1318, allocations: 97.42 kB / 485.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.1319, allocations: 51.41 kB / 486 MB, free: 15.81 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/0.1321, allocations: 198.4 kB / 486.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.1321, allocations: 25.7 kB / 486.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.2e-05/0.1322, allocations: 104.1 kB / 486.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.783e-05/0.1322, allocations: 7.906 kB / 486.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.422e-05/0.1322, allocations: 17.72 kB / 486.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.1324, allocations: 322.8 kB / 486.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.893e-05/0.1324, allocations: 19.92 kB / 486.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.532e-05/0.1325, allocations: 37.7 kB / 486.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.793e-05/0.1326, allocations: 37.72 kB / 486.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1326, allocations: 3.938 kB / 486.7 MB, free: 15 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001481/0.1327, allocations: 89.42 kB / 486.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.1328, allocations: 4 kB / 486.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.1328, allocations: 0 / 486.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.1328, allocations: 0 / 486.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.887e-05/0.1329, allocations: 11.94 kB / 486.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1329, allocations: 8.031 kB / 486.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.086e-05/0.1329, allocations: 0 / 486.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.1329, allocations: 4 kB / 486.8 MB, free: 14.88 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 (7): * Single equations (assignments): 7 * 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.0001064/0.133, allocations: 129.8 kB / 487 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.156e-05/0.1331, allocations: 11.81 kB / 487 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.945e-05/0.1331, allocations: 16.98 kB / 487 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1331, allocations: 7.938 kB / 487 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1331, allocations: 0 / 487 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1331, allocations: 320 / 487 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001566/0.1333, allocations: 197.5 kB / 487.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1333, allocations: 4 kB / 487.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.161e-05/0.1333, allocations: 7.984 kB / 487.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1333, allocations: 0 / 487.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.1334, allocations: 0 / 487.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.1334, allocations: 0 / 487.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1334, allocations: 0 / 487.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001753/0.1335, allocations: 112.9 kB / 487.3 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.501e-05/0.1336, allocations: 89.02 kB / 487.4 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.111e-05/0.1336, allocations: 4 kB / 487.4 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.413e-05/0.1337, allocations: 0 / 487.4 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.19e-05/0.1337, allocations: 11.97 kB / 487.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.1337, allocations: 0 / 487.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001164/0.1338, allocations: 148.2 kB / 487.6 MB, free: 14.06 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1339, allocations: 0 / 487.6 MB, free: 14.06 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002097/0.1341, allocations: 20 kB / 487.6 MB, free: 14.04 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0008903/0.135, allocations: 409 kB / 488 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001495/0.1351, allocations: 39.92 kB / 488 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1351, allocations: 0 / 488 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.305e-05/0.1352, allocations: 23.98 kB / 488.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002527/0.1355, allocations: 27.48 kB / 488.1 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003886/0.1359, allocations: 209.9 kB / 488.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.1361, allocations: 0.705 MB / 489 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.112e-05/0.1362, allocations: 8.562 kB / 489 MB, free: 12.72 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.253e-05/0.1362, allocations: 19.42 kB / 489 MB, free: 12.7 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1362, allocations: 0 / 489 MB, free: 12.7 MB / 366.1 MB Notification: Performance of Templates: time 0.00398/0.1402, allocations: 1.501 MB / 490.5 MB, free: 11.21 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches