Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.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 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 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 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.Test75,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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 110.7 kB / 17.04 MB, free: 5.812 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.001279/0.001279, allocations: 196 kB / 17.97 MB, free: 5.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.559/1.559, allocations: 205.1 MB / 223.8 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.234/0.234, allocations: 43.51 MB / 314.7 MB, free: 496 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 69.64 kB / 384.2 MB, free: 56.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.129, allocations: 57.79 MB / 442 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003026/0.132, allocations: 1.836 MB / 443.8 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.1333, allocations: 0.8935 MB / 444.7 MB, free: 3.395 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.049e-05/0.1334, allocations: 4 kB / 444.7 MB, free: 3.391 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004211/0.1339, allocations: 227.4 kB / 444.9 MB, free: 3.168 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002857/0.1342, allocations: 163.4 kB / 445.1 MB, free: 3.008 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003411/0.1345, allocations: 151.2 kB / 445.2 MB, free: 2.863 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002385/0.1348, allocations: 231.3 kB / 445.5 MB, free: 2.637 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.1349, allocations: 21.55 kB / 445.5 MB, free: 2.617 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.135, allocations: 107.6 kB / 445.6 MB, free: 2.512 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001457/0.1352, allocations: 151.5 kB / 445.7 MB, free: 2.363 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.325e-05/0.1352, allocations: 8 kB / 445.8 MB, free: 2.355 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.447e-05/0.1353, allocations: 47.98 kB / 445.8 MB, free: 2.309 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.882e-05/0.1354, allocations: 47.83 kB / 445.8 MB, free: 2.262 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.113e-05/0.1354, allocations: 79.36 kB / 445.9 MB, free: 2.184 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002221/0.1357, allocations: 219.1 kB / 446.1 MB, free: 1.969 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1357, allocations: 0 / 446.1 MB, free: 1.969 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1357, allocations: 0 / 446.1 MB, free: 1.969 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.1357, allocations: 0 / 446.1 MB, free: 1.969 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005873/0.1363, allocations: 0.5408 MB / 446.7 MB, free: 1.379 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.1363, allocations: 15.89 kB / 446.7 MB, free: 1.363 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.95e-05/0.1364, allocations: 28.66 kB / 446.7 MB, free: 1.336 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003218/0.1367, allocations: 280 kB / 447 MB, free: 1.023 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.1367, allocations: 4.375 kB / 447 MB, free: 1.02 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.839e-05/0.1368, allocations: 8.125 kB / 447 MB, free: 1.012 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/0.137, allocations: 95.36 kB / 447.1 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.137, allocations: 4 kB / 447.1 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.137, allocations: 3.984 kB / 447.1 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.137, allocations: 7.984 kB / 447.1 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.1371, allocations: 39.92 kB / 447.2 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003956/0.1375, allocations: 445 kB / 447.6 MB, free: 372 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002205/0.1378, allocations: 117.3 kB / 447.7 MB, free: 236 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.744e-05/0.1379, allocations: 41.7 kB / 447.7 MB, free: 188 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.76e-05/0.1379, allocations: 4 kB / 447.7 MB, free: 184 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001802/0.1381, allocations: 124.8 kB / 447.9 MB, free: 40 kB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.342e-06/0.1381, allocations: 0 / 447.9 MB, free: 40 kB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.001016/0.1391, allocations: 367.9 kB / 448.2 MB, free: 15.67 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.827e-05/0.1392, allocations: 81.05 kB / 448.3 MB, free: 15.57 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004256/0.1396, allocations: 428.5 kB / 448.7 MB, free: 15.14 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.1396, allocations: 33.7 kB / 448.8 MB, free: 15.11 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.1398, allocations: 156.3 kB / 448.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.988e-05/0.1398, allocations: 51.3 kB / 449 MB, free: 14.9 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.254e-05/0.1399, allocations: 29.72 kB / 449 MB, free: 14.86 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.14, allocations: 350.7 kB / 449.3 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.866e-05/0.1401, allocations: 43.94 kB / 449.4 MB, free: 14.47 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.1402, allocations: 72.61 kB / 449.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002009/0.1405, allocations: 123.5 kB / 449.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1405, allocations: 0.75 kB / 449.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003461/0.1408, allocations: 173.3 kB / 449.7 MB, free: 14.08 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.1408, allocations: 13.19 kB / 449.8 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1409, allocations: 4.062 kB / 449.8 MB, free: 14.06 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.1409, allocations: 0 / 449.8 MB, free: 14.06 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.141, allocations: 31.98 kB / 449.8 MB, free: 14.03 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.908e-06/0.141, allocations: 7.922 kB / 449.8 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.734e-05/0.1411, allocations: 12 kB / 449.8 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.1411, allocations: 8 kB / 449.8 MB, free: 14 MB / 334.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 (20): * Single equations (assignments): 20 * 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.0001789/0.1413, allocations: 165.7 kB / 450 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.027e-05/0.1414, allocations: 27.62 kB / 450 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.41e-05/0.1415, allocations: 38.62 kB / 450 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.1415, allocations: 4 kB / 450 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.1415, allocations: 3.938 kB / 450 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.413e-06/0.1415, allocations: 3.984 kB / 450.1 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007604/0.1423, allocations: 0.6241 MB / 450.7 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.1423, allocations: 0 / 450.7 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.532e-05/0.1423, allocations: 19.98 kB / 450.7 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/0.1424, allocations: 8.062 kB / 450.7 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.1424, allocations: 4 kB / 450.7 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.1424, allocations: 4 kB / 450.7 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.1424, allocations: 3.938 kB / 450.7 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004118/0.1428, allocations: 372 kB / 451.1 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.499e-05/0.1429, allocations: 100.8 kB / 451.2 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.82e-05/0.1429, allocations: 8 kB / 451.2 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.1431, allocations: 4 kB / 451.2 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.911e-05/0.1431, allocations: 11.98 kB / 451.2 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.272e-05/0.1432, allocations: 11.98 kB / 451.2 MB, free: 12.48 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003129/0.1435, allocations: 319 kB / 451.5 MB, free: 12.18 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1435, allocations: 0 / 451.5 MB, free: 12.18 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003283/0.1438, allocations: 47.98 kB / 451.6 MB, free: 12.13 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (16): * Single equations (assignments): 12 * 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.001102/0.1449, allocations: 472.2 kB / 452 MB, free: 11.75 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000285/0.1452, allocations: 115.9 kB / 452.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.1452, allocations: 0 / 452.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001383/0.1454, allocations: 71.83 kB / 452.2 MB, free: 11.57 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000512/0.1459, allocations: 58.97 kB / 452.3 MB, free: 11.52 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008362/0.1467, allocations: 0.4907 MB / 452.8 MB, free: 10.99 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005833/0.1473, allocations: 0.7593 MB / 453.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.576e-05/0.1474, allocations: 34.56 kB / 453.6 MB, free: 10.17 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.782e-05/0.1475, allocations: 27.42 kB / 453.6 MB, free: 10.14 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1475, allocations: 0 / 453.6 MB, free: 10.14 MB / 334.1 MB Notification: Performance of Templates: time 0.006436/0.1539, allocations: 2.72 MB / 456.3 MB, free: 7.441 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches