Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001179/0.001179, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001185/0.001185, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2258/0.2258, allocations: 46.13 MB / 344.2 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 71.97 kB / 417.6 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1204, allocations: 62.46 MB / 480.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.003145/0.1236, allocations: 1.727 MB / 481.8 MB, free: 3.465 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001604/0.1252, allocations: 1.025 MB / 482.8 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.503e-05/0.1253, allocations: 0 / 482.8 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002813/0.1256, allocations: 35.77 kB / 482.9 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002993/0.126, allocations: 103.5 kB / 483 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001944/0.1262, allocations: 79.66 kB / 483.1 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001605/0.1263, allocations: 107.7 kB / 483.2 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.1264, allocations: 8 kB / 483.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.584e-05/0.1265, allocations: 39.8 kB / 483.2 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.712e-05/0.1266, allocations: 39.78 kB / 483.3 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.1267, allocations: 4 kB / 483.3 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.622e-05/0.1268, allocations: 39.98 kB / 483.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.343e-05/0.1268, allocations: 27.91 kB / 483.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.67e-05/0.1269, allocations: 39.67 kB / 483.4 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001945/0.1271, allocations: 115.9 kB / 483.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1271, allocations: 4 kB / 483.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1271, allocations: 0 / 483.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1271, allocations: 0 / 483.5 MB, free: 1.801 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004884/0.1276, allocations: 410.9 kB / 483.9 MB, free: 1.352 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.995e-05/0.1276, allocations: 8.031 kB / 483.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.869e-05/0.1277, allocations: 8.844 kB / 483.9 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002006/0.1279, allocations: 216.8 kB / 484.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.1279, allocations: 4.375 kB / 484.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.1279, allocations: 4.125 kB / 484.1 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.1281, allocations: 61.55 kB / 484.2 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.1281, allocations: 4 kB / 484.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.1281, allocations: 0 / 484.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.1281, allocations: 0 / 484.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.953e-05/0.1282, allocations: 19.98 kB / 484.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003169/0.1285, allocations: 292.8 kB / 484.5 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/0.1287, allocations: 58.61 kB / 484.5 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.152e-05/0.1287, allocations: 20.86 kB / 484.6 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.1288, allocations: 3.984 kB / 484.6 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000196/0.129, allocations: 71.39 kB / 484.6 MB, free: 488 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.129, allocations: 3.938 kB / 484.6 MB, free: 484 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005054/0.1295, allocations: 165.2 kB / 484.8 MB, free: 312 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.1295, allocations: 55.39 kB / 484.9 MB, free: 244 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.1297, allocations: 198.4 kB / 485 MB, free: 36 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.1297, allocations: 25.7 kB / 485.1 MB, free: 4 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.964e-05/0.1298, allocations: 100.1 kB / 485.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.927e-05/0.1299, allocations: 23.7 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.648e-05/0.1299, allocations: 25.72 kB / 485.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.13, allocations: 330.8 kB / 485.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.528e-05/0.1301, allocations: 19.98 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.176e-05/0.1301, allocations: 37.64 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/0.1303, allocations: 61.69 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1303, allocations: 4 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000172/0.1304, allocations: 105.4 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.1305, allocations: 4 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1305, allocations: 4 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.1305, allocations: 0 / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.811e-05/0.1306, allocations: 15.98 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.1306, allocations: 384 / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.652e-05/0.1306, allocations: 7.938 kB / 485.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.1307, allocations: 4.156 kB / 485.8 MB, free: 15.24 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 (10): * Single equations (assignments): 10 * 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 9.372e-05/0.1308, allocations: 133.8 kB / 485.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.509e-05/0.1308, allocations: 15.89 kB / 485.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.473e-05/0.1308, allocations: 25.38 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1309, allocations: 0 / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.1309, allocations: 0 / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1309, allocations: 7.875 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004239/0.1313, allocations: 395.2 kB / 486.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1313, allocations: 0 / 486.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.412e-05/0.1314, allocations: 16.02 kB / 486.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1314, allocations: 0 / 486.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.1314, allocations: 7.938 kB / 486.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1314, allocations: 0 / 486.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1314, allocations: 0 / 486.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002815/0.1317, allocations: 200.2 kB / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.561e-05/0.1317, allocations: 88.92 kB / 486.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.1318, allocations: 8.125 kB / 486.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.065e-05/0.1318, allocations: 11.98 kB / 486.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.677e-05/0.1319, allocations: 7.938 kB / 486.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.1319, allocations: 4 kB / 486.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001285/0.132, allocations: 148.2 kB / 486.8 MB, free: 14.08 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.132, allocations: 0 / 486.8 MB, free: 14.08 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002619/0.1323, allocations: 27.98 kB / 486.9 MB, free: 14.05 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001096/0.1334, allocations: 454.8 kB / 487.3 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002082/0.1336, allocations: 59.91 kB / 487.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1336, allocations: 0 / 487.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.84e-05/0.1337, allocations: 36.05 kB / 487.4 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003603/0.1341, allocations: 27.97 kB / 487.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005714/0.1347, allocations: 231 kB / 487.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004125/0.1351, allocations: 0.708 MB / 488.4 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.269e-05/0.1352, allocations: 13.19 kB / 488.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.245e-05/0.1352, allocations: 19.42 kB / 488.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1352, allocations: 0 / 488.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of Templates: time 0.005022/0.1402, allocations: 1.741 MB / 490.1 MB, free: 10.9 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches