Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001324/0.001324, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.622/1.622, allocations: 205.1 MB / 222.5 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001061/0.00106, allocations: 98.28 kB / 269.9 MB, free: 8.445 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3525/0.3525, allocations: 43.49 MB / 360.7 MB, free: 51.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001043/0.001044, allocations: 55.92 kB / 429.3 MB, free: 6.375 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1237, allocations: 57.76 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003491/0.1272, allocations: 1.76 MB / 488.8 MB, free: 10.76 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001194/0.1284, allocations: 0.7923 MB / 489.6 MB, free: 9.961 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.513e-05/0.1285, allocations: 0 / 489.6 MB, free: 9.961 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000356/0.1289, allocations: 87.81 kB / 489.7 MB, free: 9.875 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002348/0.1292, allocations: 71.73 kB / 489.7 MB, free: 9.805 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002934/0.1295, allocations: 71.84 kB / 489.8 MB, free: 9.734 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002087/0.1297, allocations: 107.7 kB / 489.9 MB, free: 9.629 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.263e-05/0.1298, allocations: 16.2 kB / 489.9 MB, free: 9.613 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.1299, allocations: 47.78 kB / 490 MB, free: 9.566 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.13, allocations: 55.81 kB / 490 MB, free: 9.512 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.13, allocations: 4 kB / 490 MB, free: 9.508 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.1302, allocations: 39.98 kB / 490.1 MB, free: 9.469 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.626e-05/0.1302, allocations: 23.91 kB / 490.1 MB, free: 9.445 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.792e-05/0.1303, allocations: 43.62 kB / 490.1 MB, free: 9.402 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002055/0.1305, allocations: 119.9 kB / 490.2 MB, free: 9.285 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1305, allocations: 4 kB / 490.2 MB, free: 9.281 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1305, allocations: 0 / 490.2 MB, free: 9.281 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.1306, allocations: 0 / 490.2 MB, free: 9.281 MB / 378.7 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.0006094/0.1312, allocations: 422.8 kB / 490.7 MB, free: 8.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.1312, allocations: 12.03 kB / 490.7 MB, free: 8.809 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.424e-05/0.1313, allocations: 8.844 kB / 490.7 MB, free: 8.801 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.1315, allocations: 220 kB / 490.9 MB, free: 8.547 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.1316, allocations: 4.375 kB / 490.9 MB, free: 8.543 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.1316, allocations: 8.062 kB / 490.9 MB, free: 8.535 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.1317, allocations: 57.67 kB / 491 MB, free: 8.473 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.1318, allocations: 0 / 491 MB, free: 8.473 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.1318, allocations: 0 / 491 MB, free: 8.473 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.1318, allocations: 4 kB / 491 MB, free: 8.469 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.658e-05/0.1319, allocations: 19.92 kB / 491 MB, free: 8.449 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003911/0.1323, allocations: 288.8 kB / 491.3 MB, free: 8.117 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/0.1325, allocations: 66.61 kB / 491.3 MB, free: 8.043 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.505e-05/0.1325, allocations: 16.86 kB / 491.3 MB, free: 8.023 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.1326, allocations: 3.984 kB / 491.4 MB, free: 8.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002154/0.1328, allocations: 71.38 kB / 491.4 MB, free: 7.938 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.532e-06/0.1328, allocations: 0 / 491.4 MB, free: 7.938 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005266/0.1333, allocations: 177.1 kB / 491.6 MB, free: 7.758 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.1334, allocations: 55.41 kB / 491.6 MB, free: 7.691 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.1336, allocations: 214.7 kB / 491.9 MB, free: 7.473 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.1336, allocations: 29.7 kB / 491.9 MB, free: 7.438 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.62e-05/0.1336, allocations: 108.1 kB / 492 MB, free: 7.328 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.471e-05/0.1337, allocations: 27.62 kB / 492 MB, free: 7.301 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.368e-05/0.1337, allocations: 21.72 kB / 492 MB, free: 7.273 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.1338, allocations: 330.8 kB / 492.4 MB, free: 6.941 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.514e-05/0.1339, allocations: 27.92 kB / 492.4 MB, free: 6.914 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.341e-05/0.134, allocations: 33.7 kB / 492.4 MB, free: 6.875 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.1341, allocations: 61.7 kB / 492.5 MB, free: 6.809 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.1341, allocations: 0 / 492.5 MB, free: 6.809 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001826/0.1343, allocations: 105.5 kB / 492.6 MB, free: 6.699 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.1343, allocations: 8 kB / 492.6 MB, free: 6.691 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.1343, allocations: 8.344 kB / 492.6 MB, free: 6.684 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.1343, allocations: 0 / 492.6 MB, free: 6.684 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.455e-05/0.1344, allocations: 15.98 kB / 492.6 MB, free: 6.668 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/0.1345, allocations: 8 kB / 492.6 MB, free: 6.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.701e-05/0.1345, allocations: 3.938 kB / 492.6 MB, free: 6.656 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.1345, allocations: 4 kB / 492.6 MB, free: 6.652 MB / 378.7 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.0001197/0.1347, allocations: 133.8 kB / 492.8 MB, free: 6.512 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.422e-05/0.1347, allocations: 7.906 kB / 492.8 MB, free: 6.504 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.962e-05/0.1347, allocations: 25.39 kB / 492.8 MB, free: 6.477 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1348, allocations: 0 / 492.8 MB, free: 6.477 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.1348, allocations: 0 / 492.8 MB, free: 6.477 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.1348, allocations: 7.938 kB / 492.8 MB, free: 6.469 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004867/0.1353, allocations: 395.2 kB / 493.2 MB, free: 6.023 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1353, allocations: 0 / 493.2 MB, free: 6.023 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.353e-05/0.1353, allocations: 8 kB / 493.2 MB, free: 6.016 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.379e-06/0.1353, allocations: 4.172 kB / 493.2 MB, free: 6.012 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.1354, allocations: 11.97 kB / 493.2 MB, free: 6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.1354, allocations: 7.938 kB / 493.2 MB, free: 5.992 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1354, allocations: 0 / 493.2 MB, free: 5.992 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00063/0.136, allocations: 0.787 MB / 494 MB, free: 5.145 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.799e-05/0.1361, allocations: 89.02 kB / 494.1 MB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.669e-05/0.1361, allocations: 8 kB / 494.1 MB, free: 5.031 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.035e-05/0.1362, allocations: 3.984 kB / 494.1 MB, free: 5.027 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.188e-05/0.1362, allocations: 4 kB / 494.1 MB, free: 5.023 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/0.1363, allocations: 7.938 kB / 494.1 MB, free: 5.016 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001532/0.1364, allocations: 172.3 kB / 494.3 MB, free: 4.848 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1364, allocations: 0 / 494.3 MB, free: 4.848 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003762/0.1368, allocations: 24 kB / 494.3 MB, free: 4.824 MB / 378.7 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.001064/0.1379, allocations: 461.6 kB / 494.8 MB, free: 4.422 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001835/0.1381, allocations: 67.83 kB / 494.8 MB, free: 4.355 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.1381, allocations: 0 / 494.8 MB, free: 4.355 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.071e-05/0.1382, allocations: 27.98 kB / 494.9 MB, free: 4.328 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003258/0.1385, allocations: 32.62 kB / 494.9 MB, free: 4.301 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006968/0.1392, allocations: 407.5 kB / 495.3 MB, free: 3.859 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000373/0.1396, allocations: 0.7121 MB / 496 MB, free: 3.121 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.262e-05/0.1397, allocations: 24.86 kB / 496 MB, free: 3.098 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.938e-05/0.1397, allocations: 15.44 kB / 496 MB, free: 3.086 MB / 378.7 MB Notification: Performance of SimCode: time 2e-07/0.1397, allocations: 0 / 496 MB, free: 3.086 MB / 378.7 MB Notification: Performance of Templates: time 0.004488/0.1442, allocations: 1.699 MB / 497.7 MB, free: 1.391 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches