Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009341/0.0009341, allocations: 94.31 kB / 16.99 MB, free: 5.938 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.0009374/0.0009375, allocations: 181.7 kB / 17.87 MB, free: 5.609 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.396/1.396, allocations: 223.2 MB / 241.8 MB, free: 384 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2199/0.2199, allocations: 44.22 MB / 337.1 MB, free: 2.926 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003228/0.0003228, allocations: 8 kB / 409.5 MB, free: 27.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1362, allocations: 61.92 MB / 471.5 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.002617/0.1389, allocations: 1.39 MB / 472.8 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001502/0.1404, allocations: 0.7958 MB / 473.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.073e-05/0.1405, allocations: 0 / 473.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003371/0.1409, allocations: 27.83 kB / 473.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002059/0.1411, allocations: 55.81 kB / 473.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003013/0.1414, allocations: 91.75 kB / 473.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001663/0.1416, allocations: 63.8 kB / 473.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.1417, allocations: 16.22 kB / 473.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.554e-05/0.1418, allocations: 39.84 kB / 473.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.861e-05/0.1419, allocations: 31.83 kB / 474 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.142, allocations: 0 / 474 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.483e-05/0.142, allocations: 28 kB / 474 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.722e-05/0.1421, allocations: 27.91 kB / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.048e-05/0.1422, allocations: 37.64 kB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001601/0.1423, allocations: 96.08 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.1423, allocations: 0 / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.1423, allocations: 0 / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.1424, allocations: 3.938 kB / 474.2 MB, free: 11.07 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.0006097/0.143, allocations: 422.7 kB / 474.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.143, allocations: 8.031 kB / 474.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.919e-05/0.1431, allocations: 15.91 kB / 474.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/0.1433, allocations: 210.8 kB / 474.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.1434, allocations: 4 kB / 474.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.1434, allocations: 3.938 kB / 474.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.1436, allocations: 61.62 kB / 474.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.1436, allocations: 0 / 474.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.1436, allocations: 4 kB / 474.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.1436, allocations: 0 / 474.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.104e-05/0.1437, allocations: 23.92 kB / 474.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004142/0.1441, allocations: 296.9 kB / 475.2 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002941/0.1444, allocations: 54.69 kB / 475.2 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.1444, allocations: 0 / 475.2 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002038/0.1446, allocations: 67.45 kB / 475.3 MB, free: 9.754 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.1447, allocations: 4 kB / 475.3 MB, free: 9.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005723/0.1452, allocations: 192.9 kB / 475.5 MB, free: 9.555 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/0.1453, allocations: 51.41 kB / 475.5 MB, free: 9.492 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002693/0.1456, allocations: 266.3 kB / 475.8 MB, free: 9.219 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.297e-05/0.1456, allocations: 25.7 kB / 475.8 MB, free: 9.188 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.1457, allocations: 116.1 kB / 475.9 MB, free: 9.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.482e-05/0.1458, allocations: 23.7 kB / 476 MB, free: 9.047 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.663e-06/0.1458, allocations: 0 / 476 MB, free: 9.047 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002025/0.146, allocations: 330.8 kB / 476.3 MB, free: 8.715 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.245e-05/0.1461, allocations: 19.98 kB / 476.3 MB, free: 8.695 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.763e-05/0.1462, allocations: 33.7 kB / 476.3 MB, free: 8.656 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.39e-05/0.1463, allocations: 27.95 kB / 476.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.1463, allocations: 0 / 476.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001835/0.1465, allocations: 105.4 kB / 476.5 MB, free: 8.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.1465, allocations: 8.031 kB / 476.5 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.1465, allocations: 0 / 476.5 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.1465, allocations: 4 kB / 476.5 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.1466, allocations: 12 kB / 476.5 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.1467, allocations: 3.938 kB / 476.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.678e-05/0.1467, allocations: 11.98 kB / 476.5 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-06/0.1467, allocations: 4 kB / 476.5 MB, free: 8.477 MB / 350.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001449/0.1469, allocations: 141.5 kB / 476.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.975e-05/0.1469, allocations: 15.81 kB / 476.7 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.771e-05/0.147, allocations: 25.39 kB / 476.7 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.147, allocations: 0 / 476.7 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.147, allocations: 0 / 476.7 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.147, allocations: 4.188 kB / 476.7 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006183/0.1476, allocations: 399.3 kB / 477.1 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.1477, allocations: 7.938 kB / 477.1 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.554e-05/0.1477, allocations: 12.36 kB / 477.1 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.1477, allocations: 3.984 kB / 477.1 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.1477, allocations: 4.031 kB / 477.1 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.1478, allocations: 4 kB / 477.1 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1478, allocations: 4 kB / 477.1 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002892/0.1481, allocations: 221.8 kB / 477.3 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.789e-05/0.1481, allocations: 92.91 kB / 477.4 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.1482, allocations: 4 kB / 477.4 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.893e-05/0.1482, allocations: 8 kB / 477.4 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.859e-05/0.1483, allocations: 7.984 kB / 477.4 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/0.1483, allocations: 4 kB / 477.5 MB, free: 7.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001851/0.1485, allocations: 192.5 kB / 477.6 MB, free: 7.242 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1485, allocations: 3.938 kB / 477.6 MB, free: 7.238 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002644/0.1488, allocations: 31.94 kB / 477.7 MB, free: 7.207 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001218/0.15, allocations: 454.4 kB / 478.1 MB, free: 6.934 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002115/0.1502, allocations: 63.91 kB / 478.2 MB, free: 6.871 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1502, allocations: 0 / 478.2 MB, free: 6.871 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.385e-05/0.1503, allocations: 23.94 kB / 478.2 MB, free: 6.848 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003269/0.1507, allocations: 32.09 kB / 478.2 MB, free: 6.816 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000665/0.1513, allocations: 294.9 kB / 478.5 MB, free: 6.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004616/0.1518, allocations: 0.7199 MB / 479.2 MB, free: 5.754 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.108e-05/0.1519, allocations: 16.88 kB / 479.3 MB, free: 5.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.728e-05/0.1519, allocations: 15.38 kB / 479.3 MB, free: 5.715 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.1519, allocations: 4 kB / 479.3 MB, free: 5.711 MB / 350.1 MB Notification: Performance of Templates: time 0.005087/0.157, allocations: 1.614 MB / 480.9 MB, free: 4.117 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches