Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001551/0.001551, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001615/0.001615, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 227.4 MB / 247.1 MB, free: 9.055 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.225/0.225, allocations: 46.12 MB / 344.5 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002211/0.00221, allocations: 82.2 kB / 417.8 MB, free: 19.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1194, allocations: 62.46 MB / 480.2 MB, free: 5.512 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.003478/0.1229, allocations: 1.777 MB / 482 MB, free: 3.719 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001752/0.1247, allocations: 1.013 MB / 483 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.663e-05/0.1248, allocations: 0 / 483 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002897/0.1251, allocations: 35.83 kB / 483.1 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002799/0.1254, allocations: 79.75 kB / 483.1 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001844/0.1256, allocations: 71.81 kB / 483.2 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001739/0.1258, allocations: 103.7 kB / 483.3 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.112e-05/0.1259, allocations: 8 kB / 483.3 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.955e-05/0.126, allocations: 47.77 kB / 483.4 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.943e-05/0.1261, allocations: 35.8 kB / 483.4 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.1261, allocations: 4 kB / 483.4 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.1262, allocations: 51.91 kB / 483.5 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.272e-05/0.1263, allocations: 19.92 kB / 483.5 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.678e-05/0.1263, allocations: 31.75 kB / 483.5 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001717/0.1265, allocations: 92.09 kB / 483.6 MB, free: 2.129 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1265, allocations: 0 / 483.6 MB, free: 2.129 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1265, allocations: 0 / 483.6 MB, free: 2.129 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.1265, allocations: 0 / 483.6 MB, free: 2.129 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.0005736/0.1271, allocations: 418.9 kB / 484 MB, free: 1.672 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.1272, allocations: 8.031 kB / 484 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.639e-05/0.1272, allocations: 16.78 kB / 484 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000251/0.1275, allocations: 216.7 kB / 484.2 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.1275, allocations: 8.375 kB / 484.2 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.298e-05/0.1275, allocations: 4.125 kB / 484.3 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.1277, allocations: 53.67 kB / 484.3 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.1277, allocations: 4 kB / 484.3 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.507e-06/0.1277, allocations: 0 / 484.3 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.1277, allocations: 3.938 kB / 484.3 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.77e-05/0.1278, allocations: 19.98 kB / 484.3 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003915/0.1282, allocations: 300.7 kB / 484.6 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001696/0.1284, allocations: 54.69 kB / 484.7 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.542e-05/0.1285, allocations: 20.84 kB / 484.7 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.1285, allocations: 0 / 484.7 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002245/0.1287, allocations: 71.39 kB / 484.8 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 3.667e-06/0.1287, allocations: 0 / 484.8 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005645/0.1293, allocations: 169.2 kB / 484.9 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.1293, allocations: 51.41 kB / 485 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.1296, allocations: 198.8 kB / 485.2 MB, free: 360 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.1296, allocations: 25.7 kB / 485.2 MB, free: 328 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.404e-05/0.1297, allocations: 104.1 kB / 485.3 MB, free: 220 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.998e-05/0.1297, allocations: 27.7 kB / 485.3 MB, free: 192 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.592e-05/0.1298, allocations: 29.7 kB / 485.4 MB, free: 156 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.1299, allocations: 326.8 kB / 485.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.14e-05/0.13, allocations: 20 kB / 485.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.681e-05/0.1301, allocations: 33.7 kB / 485.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/0.1302, allocations: 65.77 kB / 485.8 MB, free: 15.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.1302, allocations: 0 / 485.8 MB, free: 15.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001961/0.1304, allocations: 105.4 kB / 485.9 MB, free: 15.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.1304, allocations: 4 kB / 485.9 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1305, allocations: 4 kB / 485.9 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.1305, allocations: 0 / 485.9 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.764e-05/0.1306, allocations: 15.94 kB / 485.9 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1306, allocations: 0 / 485.9 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.239e-05/0.1306, allocations: 11.92 kB / 485.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.1307, allocations: 8.312 kB / 485.9 MB, free: 15.54 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 0.0001226/0.1308, allocations: 128.5 kB / 486.1 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.221e-05/0.1308, allocations: 7.906 kB / 486.1 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.729e-05/0.1309, allocations: 21.39 kB / 486.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1309, allocations: 0 / 486.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/0.1309, allocations: 4 kB / 486.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.1309, allocations: 3.938 kB / 486.1 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004919/0.1314, allocations: 403.2 kB / 486.5 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1314, allocations: 0 / 486.5 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.303e-05/0.1314, allocations: 8.188 kB / 486.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1315, allocations: 0 / 486.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.459e-05/0.1315, allocations: 15.88 kB / 486.5 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.1315, allocations: 0 / 486.5 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1315, allocations: 0 / 486.5 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002451/0.1317, allocations: 204.2 kB / 486.7 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.567e-05/0.1318, allocations: 92.91 kB / 486.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.603e-05/0.1319, allocations: 7.938 kB / 486.8 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.883e-05/0.1319, allocations: 4 kB / 486.8 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.522e-05/0.132, allocations: 7.984 kB / 486.8 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.132, allocations: 4 kB / 486.8 MB, free: 14.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001434/0.1321, allocations: 152.7 kB / 487 MB, free: 14.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1322, allocations: 0 / 487 MB, free: 14.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002607/0.1324, allocations: 24 kB / 487 MB, free: 14.37 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.001712/0.1341, allocations: 464.4 kB / 487.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002018/0.1343, allocations: 51.97 kB / 487.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.1344, allocations: 4.062 kB / 487.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.024e-05/0.1345, allocations: 36.08 kB / 487.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003685/0.1348, allocations: 34.88 kB / 487.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005744/0.1354, allocations: 284.7 kB / 487.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003904/0.1358, allocations: 0.7041 MB / 488.6 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.507e-05/0.1359, allocations: 15.44 kB / 488.6 MB, free: 12.89 MB / 366.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1359, allocations: 0 / 488.6 MB, free: 12.89 MB / 366.1 MB Notification: Performance of Templates: time 0.00449/0.1404, allocations: 1.956 MB / 490.5 MB, free: 10.94 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches