Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,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.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,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.Test78") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 107.6 kB / 17.21 MB, free: 6.289 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.001795/0.001795, allocations: 194 kB / 18.12 MB, free: 5.383 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.384/1.384, allocations: 222.9 MB / 241.8 MB, free: 15.36 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.2225/0.2225, allocations: 44.18 MB / 336.1 MB, free: 2.984 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 66.42 kB / 407.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1237, allocations: 60.82 MB / 468.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003218/0.127, allocations: 1.936 MB / 470.5 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001484/0.1285, allocations: 0.9783 MB / 471.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.622e-05/0.1286, allocations: 7.938 kB / 471.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004496/0.129, allocations: 243.5 kB / 471.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003174/0.1294, allocations: 171.5 kB / 471.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000407/0.1298, allocations: 155.8 kB / 472 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002961/0.1301, allocations: 247.2 kB / 472.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.1302, allocations: 29.69 kB / 472.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001662/0.1304, allocations: 119.5 kB / 472.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002114/0.1306, allocations: 179.5 kB / 472.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.711e-05/0.1307, allocations: 4 kB / 472.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.1308, allocations: 59.98 kB / 472.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.145e-05/0.1309, allocations: 67.7 kB / 472.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.399e-05/0.131, allocations: 91.28 kB / 472.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002608/0.1312, allocations: 231.5 kB / 473 MB, free: 10.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1313, allocations: 3.938 kB / 473 MB, free: 10.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.01e-07/0.1313, allocations: 0 / 473 MB, free: 10.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.1313, allocations: 0 / 473 MB, free: 10.31 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.0007029/0.132, allocations: 0.5719 MB / 473.6 MB, free: 9.691 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.132, allocations: 8.031 kB / 473.6 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.928e-05/0.1321, allocations: 28.56 kB / 473.6 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002883/0.1324, allocations: 284 kB / 473.9 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.1324, allocations: 12.36 kB / 473.9 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.641e-05/0.1324, allocations: 8.125 kB / 473.9 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002417/0.1327, allocations: 114 kB / 474 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.1327, allocations: 0 / 474 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.1327, allocations: 4 kB / 474 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.1327, allocations: 11.92 kB / 474.1 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001521/0.1329, allocations: 43.97 kB / 474.1 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005362/0.1334, allocations: 484.7 kB / 474.6 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003849/0.1338, allocations: 121.2 kB / 474.7 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.134, allocations: 49.81 kB / 474.7 MB, free: 8.426 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.134, allocations: 4 kB / 474.7 MB, free: 8.422 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002747/0.1343, allocations: 127.6 kB / 474.9 MB, free: 8.281 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/0.1343, allocations: 0 / 474.9 MB, free: 8.281 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001303/0.1356, allocations: 0.4921 MB / 475.4 MB, free: 7.781 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/0.1357, allocations: 85.11 kB / 475.4 MB, free: 7.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004573/0.1361, allocations: 489.6 kB / 475.9 MB, free: 7.191 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.1361, allocations: 29.7 kB / 475.9 MB, free: 7.156 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.1363, allocations: 156.5 kB / 476.1 MB, free: 7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.054e-05/0.1363, allocations: 78.98 kB / 476.2 MB, free: 6.922 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.587e-05/0.1364, allocations: 41.7 kB / 476.2 MB, free: 6.875 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.1365, allocations: 350.8 kB / 476.6 MB, free: 6.523 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.1367, allocations: 51.92 kB / 476.6 MB, free: 6.473 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.1368, allocations: 99.33 kB / 476.7 MB, free: 6.363 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002864/0.1371, allocations: 155.6 kB / 476.9 MB, free: 6.199 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.1371, allocations: 0 / 476.9 MB, free: 6.199 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003958/0.1375, allocations: 241 kB / 477.1 MB, free: 5.957 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.1375, allocations: 12 kB / 477.1 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1376, allocations: 4 kB / 477.1 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.1376, allocations: 0 / 477.1 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.1377, allocations: 47.92 kB / 477.2 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.1377, allocations: 0 / 477.2 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.601e-05/0.1378, allocations: 11.98 kB / 477.2 MB, free: 5.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.1379, allocations: 8 kB / 477.2 MB, free: 5.875 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.0001636/0.138, allocations: 178.3 kB / 477.4 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.894e-05/0.1381, allocations: 43.41 kB / 477.4 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.615e-05/0.1382, allocations: 43.75 kB / 477.4 MB, free: 5.605 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.1382, allocations: 4 kB / 477.4 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.1382, allocations: 7.922 kB / 477.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1382, allocations: 0 / 477.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008859/0.1391, allocations: 0.7272 MB / 478.2 MB, free: 4.797 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.1391, allocations: 3.984 kB / 478.2 MB, free: 4.793 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.379e-05/0.1392, allocations: 27.94 kB / 478.2 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.1392, allocations: 8 kB / 478.2 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/0.1392, allocations: 11.98 kB / 478.2 MB, free: 4.746 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.1392, allocations: 0 / 478.2 MB, free: 4.746 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.1392, allocations: 4 kB / 478.2 MB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004658/0.1397, allocations: 423.1 kB / 478.6 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.58e-05/0.1398, allocations: 104.9 kB / 478.7 MB, free: 4.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.074e-05/0.1398, allocations: 8 kB / 478.8 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.14, allocations: 19.92 kB / 478.8 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.002e-05/0.1401, allocations: 19.86 kB / 478.8 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-05/0.1401, allocations: 12 kB / 478.8 MB, free: 4.121 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003241/0.1404, allocations: 359.1 kB / 479.2 MB, free: 3.773 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1404, allocations: 0 / 479.2 MB, free: 3.773 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004025/0.1408, allocations: 51.98 kB / 479.2 MB, free: 3.723 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.001151/0.142, allocations: 0.508 MB / 479.7 MB, free: 3.414 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003465/0.1423, allocations: 151.8 kB / 479.9 MB, free: 3.266 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1424, allocations: 0 / 479.9 MB, free: 3.266 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001584/0.1425, allocations: 83.84 kB / 479.9 MB, free: 3.184 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005578/0.1431, allocations: 69.31 kB / 480 MB, free: 3.113 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009001/0.144, allocations: 0.659 MB / 480.7 MB, free: 2.41 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003715/0.1444, allocations: 0.7846 MB / 481.5 MB, free: 1.602 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001141/0.1445, allocations: 41.88 kB / 481.5 MB, free: 1.559 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.629e-05/0.1446, allocations: 27.42 kB / 481.5 MB, free: 1.535 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1446, allocations: 0 / 481.5 MB, free: 1.535 MB / 350.1 MB Notification: Performance of Templates: time 0.00649/0.1511, allocations: 3.007 MB / 484.5 MB, free: 14.56 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches