Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001608/0.001609, allocations: 104.4 kB / 16.27 MB, free: 5.965 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.001886/0.001885, allocations: 196.4 kB / 17.2 MB, free: 5.598 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.532/1.532, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2153/0.2153, allocations: 43.52 MB / 313.9 MB, free: 0.5352 MB / 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.00193/0.00193, allocations: 76.86 kB / 382.7 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1262, allocations: 57.78 MB / 440.5 MB, free: 6.91 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.003071/0.1293, allocations: 1.693 MB / 442.2 MB, free: 5.199 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001208/0.1305, allocations: 0.7961 MB / 443 MB, free: 4.395 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.1307, allocations: 0 / 443 MB, free: 4.395 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003204/0.131, allocations: 39.83 kB / 443.1 MB, free: 4.355 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002275/0.1313, allocations: 55.69 kB / 443.1 MB, free: 4.301 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002611/0.1315, allocations: 87.39 kB / 443.2 MB, free: 4.219 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001427/0.1317, allocations: 91.7 kB / 443.3 MB, free: 4.129 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.1318, allocations: 24.47 kB / 443.3 MB, free: 4.105 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.965e-05/0.1319, allocations: 39.8 kB / 443.3 MB, free: 4.066 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.1e-05/0.132, allocations: 27.86 kB / 443.4 MB, free: 4.039 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.132, allocations: 4 kB / 443.4 MB, free: 4.035 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.1321, allocations: 47.91 kB / 443.4 MB, free: 3.988 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.152e-05/0.1322, allocations: 19.92 kB / 443.4 MB, free: 3.969 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.254e-05/0.1322, allocations: 31.75 kB / 443.5 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001864/0.1324, allocations: 111.6 kB / 443.6 MB, free: 3.828 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1324, allocations: 0 / 443.6 MB, free: 3.828 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1324, allocations: 4 kB / 443.6 MB, free: 3.824 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.1324, allocations: 4 kB / 443.6 MB, free: 3.82 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004794/0.1329, allocations: 410.9 kB / 444 MB, free: 3.371 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.133, allocations: 11.89 kB / 444 MB, free: 3.359 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.004e-05/0.133, allocations: 8.844 kB / 444 MB, free: 3.352 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001891/0.1332, allocations: 212.9 kB / 444.2 MB, free: 3.105 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.1332, allocations: 384 / 444.2 MB, free: 3.105 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.1333, allocations: 12.12 kB / 444.2 MB, free: 3.094 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.1334, allocations: 53.67 kB / 444.3 MB, free: 3.035 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.1334, allocations: 0 / 444.3 MB, free: 3.035 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.1335, allocations: 4 kB / 444.3 MB, free: 3.031 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.1335, allocations: 0 / 444.3 MB, free: 3.031 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.549e-05/0.1335, allocations: 19.98 kB / 444.3 MB, free: 3.012 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002985/0.1338, allocations: 288.7 kB / 444.6 MB, free: 2.68 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.134, allocations: 62.67 kB / 444.7 MB, free: 2.609 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.579e-05/0.134, allocations: 20.86 kB / 444.7 MB, free: 2.586 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.1341, allocations: 7.938 kB / 444.7 MB, free: 2.578 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001948/0.1343, allocations: 71.31 kB / 444.8 MB, free: 2.496 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.1343, allocations: 0 / 444.8 MB, free: 2.496 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005046/0.1348, allocations: 165.2 kB / 444.9 MB, free: 2.328 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/0.1348, allocations: 59.34 kB / 445 MB, free: 2.258 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.135, allocations: 198 kB / 445.2 MB, free: 2.055 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.135, allocations: 25.7 kB / 445.2 MB, free: 2.023 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.968e-05/0.135, allocations: 104.1 kB / 445.3 MB, free: 1.918 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.619e-05/0.1351, allocations: 19.72 kB / 445.3 MB, free: 1.898 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.533e-05/0.1351, allocations: 29.7 kB / 445.3 MB, free: 1.863 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.93e-05/0.1352, allocations: 326.8 kB / 445.7 MB, free: 1.535 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.16e-05/0.1352, allocations: 24 kB / 445.7 MB, free: 1.512 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.985e-05/0.1353, allocations: 33.7 kB / 445.7 MB, free: 1.473 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.151e-05/0.1354, allocations: 57.64 kB / 445.8 MB, free: 1.41 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1354, allocations: 0 / 445.8 MB, free: 1.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001527/0.1355, allocations: 101.6 kB / 445.9 MB, free: 1.305 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.1356, allocations: 4 kB / 445.9 MB, free: 1.301 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.1356, allocations: 0 / 445.9 MB, free: 1.301 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.1356, allocations: 8.031 kB / 445.9 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.544e-05/0.1357, allocations: 15.94 kB / 445.9 MB, free: 1.277 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.1357, allocations: 0 / 445.9 MB, free: 1.277 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.527e-05/0.1357, allocations: 11.92 kB / 445.9 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.505e-06/0.1358, allocations: 0 / 445.9 MB, free: 1.266 MB / 318.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 7.816e-05/0.1358, allocations: 133.3 kB / 446 MB, free: 1.129 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.092e-05/0.1359, allocations: 11.81 kB / 446.1 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.564e-05/0.1359, allocations: 16.86 kB / 446.1 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.1359, allocations: 8 kB / 446.1 MB, free: 1.086 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.1359, allocations: 0 / 446.1 MB, free: 1.086 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.1359, allocations: 3.938 kB / 446.1 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003397/0.1363, allocations: 399.2 kB / 446.5 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.1363, allocations: 0 / 446.5 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.242e-05/0.1363, allocations: 11.98 kB / 446.5 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1364, allocations: 4 kB / 446.5 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.1364, allocations: 4.312 kB / 446.5 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1364, allocations: 4.031 kB / 446.5 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.1364, allocations: 3.938 kB / 446.5 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00018/0.1366, allocations: 208.2 kB / 446.7 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.606e-05/0.1366, allocations: 85.02 kB / 446.8 MB, free: 288 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.613e-05/0.1366, allocations: 7.938 kB / 446.8 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.432e-05/0.1367, allocations: 3.984 kB / 446.8 MB, free: 276 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/0.1367, allocations: 12 kB / 446.8 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.1368, allocations: 4.188 kB / 446.8 MB, free: 260 kB / 318.1 MB Notification: Performance of sorting global known variables: time 8.244e-05/0.1369, allocations: 139.2 kB / 446.9 MB, free: 120 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1369, allocations: 3.938 kB / 447 MB, free: 116 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002488/0.1371, allocations: 27.91 kB / 447 MB, free: 88 kB / 318.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.00106/0.1382, allocations: 464.4 kB / 447.4 MB, free: 15.72 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002252/0.1384, allocations: 55.98 kB / 447.5 MB, free: 15.66 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.1384, allocations: 0 / 447.5 MB, free: 15.66 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.572e-05/0.1385, allocations: 31.92 kB / 447.5 MB, free: 15.63 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003675/0.1389, allocations: 23.97 kB / 447.5 MB, free: 15.61 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005963/0.1395, allocations: 227.5 kB / 447.8 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.1398, allocations: 0.7079 MB / 448.5 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.416e-05/0.1399, allocations: 21.11 kB / 448.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.965e-05/0.14, allocations: 15.44 kB / 448.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of SimCode: time 1.012e-06/0.14, allocations: 0 / 448.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of Templates: time 0.00549/0.1455, allocations: 1.681 MB / 450.2 MB, free: 12.92 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches