Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001119, allocations: 108.2 kB / 18.39 MB, free: 4.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 182.9 kB / 19.33 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 222.9 MB / 243 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2083/0.2083, allocations: 44.18 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 64.47 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1194, allocations: 60.82 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003445/0.1229, allocations: 1.886 MB / 472.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001723/0.1247, allocations: 0.9937 MB / 473.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.537e-05/0.1248, allocations: 4 kB / 473.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004497/0.1252, allocations: 215.4 kB / 473.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003437/0.1256, allocations: 175.5 kB / 474 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004362/0.1261, allocations: 179.2 kB / 474.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002839/0.1264, allocations: 243.4 kB / 474.4 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.1265, allocations: 33.66 kB / 474.4 MB, free: 9.914 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001615/0.1267, allocations: 119.5 kB / 474.5 MB, free: 9.797 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001767/0.1269, allocations: 147.5 kB / 474.7 MB, free: 9.652 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.527e-05/0.1269, allocations: 8 kB / 474.7 MB, free: 9.645 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001287/0.127, allocations: 63.91 kB / 474.7 MB, free: 9.582 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.999e-05/0.1271, allocations: 51.83 kB / 474.8 MB, free: 9.531 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.927e-05/0.1272, allocations: 87.34 kB / 474.9 MB, free: 9.445 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002953/0.1275, allocations: 239.1 kB / 475.1 MB, free: 9.211 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1275, allocations: 0 / 475.1 MB, free: 9.211 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1275, allocations: 4 kB / 475.1 MB, free: 9.207 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.7e-06/0.1275, allocations: 0 / 475.1 MB, free: 9.207 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007057/0.1283, allocations: 0.5448 MB / 475.7 MB, free: 8.613 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.1283, allocations: 8.031 kB / 475.7 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.122e-05/0.1284, allocations: 24.66 kB / 475.7 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003956/0.1288, allocations: 288 kB / 476 MB, free: 8.262 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.1288, allocations: 4.375 kB / 476 MB, free: 8.258 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.086e-05/0.1288, allocations: 16.12 kB / 476 MB, free: 8.242 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002272/0.1291, allocations: 107.3 kB / 476.1 MB, free: 8.125 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.1291, allocations: 3.906 kB / 476.1 MB, free: 8.121 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.1291, allocations: 4 kB / 476.1 MB, free: 8.117 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.1291, allocations: 4 kB / 476.1 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001341/0.1293, allocations: 47.89 kB / 476.2 MB, free: 8.066 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005588/0.1298, allocations: 476.7 kB / 476.6 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003718/0.1302, allocations: 121.2 kB / 476.7 MB, free: 7.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.1303, allocations: 45.83 kB / 476.8 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.1304, allocations: 8 kB / 476.8 MB, free: 7.352 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002391/0.1306, allocations: 117 kB / 476.9 MB, free: 7.219 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.613e-06/0.1306, allocations: 0 / 476.9 MB, free: 7.219 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001308/0.1319, allocations: 0.5008 MB / 477.4 MB, free: 6.711 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/0.132, allocations: 77.11 kB / 477.5 MB, free: 6.617 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003998/0.1324, allocations: 428.5 kB / 477.9 MB, free: 6.188 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.1324, allocations: 37.64 kB / 477.9 MB, free: 6.145 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.1325, allocations: 152.5 kB / 478.1 MB, free: 5.992 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.712e-05/0.1326, allocations: 71.09 kB / 478.2 MB, free: 5.922 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.963e-05/0.1327, allocations: 37.72 kB / 478.2 MB, free: 5.879 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.1328, allocations: 350.7 kB / 478.5 MB, free: 5.527 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.1329, allocations: 59.97 kB / 478.6 MB, free: 5.469 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.1331, allocations: 91.34 kB / 478.7 MB, free: 5.367 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002601/0.1333, allocations: 159.5 kB / 478.8 MB, free: 5.199 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.1334, allocations: 4 kB / 478.9 MB, free: 5.195 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003782/0.1337, allocations: 229.2 kB / 479.1 MB, free: 4.965 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.1338, allocations: 7.938 kB / 479.1 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.1338, allocations: 0 / 479.1 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.1338, allocations: 7.938 kB / 479.1 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.134, allocations: 47.91 kB / 479.1 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.134, allocations: 4 kB / 479.1 MB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.412e-05/0.1341, allocations: 11.94 kB / 479.2 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.62e-05/0.1341, allocations: 8.062 kB / 479.2 MB, free: 4.879 MB / 350.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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001477/0.1342, allocations: 165.8 kB / 479.3 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.506e-05/0.1343, allocations: 35.56 kB / 479.4 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.948e-05/0.1344, allocations: 42.61 kB / 479.4 MB, free: 4.629 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.1344, allocations: 7.984 kB / 479.4 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.381e-06/0.1344, allocations: 0 / 479.4 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.1344, allocations: 0 / 479.4 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009094/0.1353, allocations: 0.7311 MB / 480.1 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.1353, allocations: 0 / 480.1 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.375e-05/0.1354, allocations: 27.98 kB / 480.2 MB, free: 3.793 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.1354, allocations: 0 / 480.2 MB, free: 3.793 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.838e-05/0.1355, allocations: 12 kB / 480.2 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.1355, allocations: 7.922 kB / 480.2 MB, free: 3.773 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.1355, allocations: 4 kB / 480.2 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004613/0.136, allocations: 415.7 kB / 480.6 MB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.372e-05/0.136, allocations: 108.7 kB / 480.7 MB, free: 3.211 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.12e-05/0.1361, allocations: 19.94 kB / 480.7 MB, free: 3.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.1362, allocations: 8 kB / 480.7 MB, free: 3.184 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.797e-05/0.1363, allocations: 23.91 kB / 480.8 MB, free: 3.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.591e-05/0.1363, allocations: 12 kB / 480.8 MB, free: 3.148 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002831/0.1366, allocations: 319 kB / 481.1 MB, free: 2.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1366, allocations: 0 / 481.1 MB, free: 2.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003615/0.137, allocations: 48 kB / 481.1 MB, free: 2.793 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.001201/0.1382, allocations: 0.5117 MB / 481.6 MB, free: 2.488 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003405/0.1386, allocations: 155.8 kB / 481.8 MB, free: 2.336 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1386, allocations: 0 / 481.8 MB, free: 2.336 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00018/0.1388, allocations: 83.84 kB / 481.9 MB, free: 2.254 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005345/0.1393, allocations: 58.12 kB / 481.9 MB, free: 2.199 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008273/0.1401, allocations: 0.555 MB / 482.5 MB, free: 1.602 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/0.1405, allocations: 0.7735 MB / 483.3 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001063/0.1406, allocations: 37.92 kB / 483.3 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.461e-05/0.1407, allocations: 39.42 kB / 483.3 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1407, allocations: 0 / 483.3 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of Templates: time 0.006552/0.1472, allocations: 3.101 MB / 486.4 MB, free: 13.66 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches