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.001166/0.001166, allocations: 109.3 kB / 18.39 MB, free: 4.629 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.001396/0.001396, allocations: 184.1 kB / 19.33 MB, free: 3.699 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.358/1.358, allocations: 222.9 MB / 243 MB, free: 15.16 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.2171/0.2171, allocations: 44.18 MB / 337.4 MB, free: 2.723 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001264, allocations: 72 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.117, allocations: 60.82 MB / 470.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.002966/0.12, allocations: 1.882 MB / 472.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001454/0.1214, allocations: 0.9898 MB / 473.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.686e-05/0.1215, allocations: 4 kB / 473.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004195/0.122, allocations: 255.3 kB / 473.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003188/0.1223, allocations: 187.4 kB / 474 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003887/0.1227, allocations: 178.5 kB / 474.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002846/0.123, allocations: 251.3 kB / 474.4 MB, free: 9.926 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.1231, allocations: 37.61 kB / 474.5 MB, free: 9.887 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000153/0.1233, allocations: 131.5 kB / 474.6 MB, free: 9.758 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001883/0.1235, allocations: 175.5 kB / 474.8 MB, free: 9.586 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.423e-05/0.1235, allocations: 8 kB / 474.8 MB, free: 9.578 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001295/0.1236, allocations: 71.91 kB / 474.9 MB, free: 9.508 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.343e-05/0.1237, allocations: 63.77 kB / 474.9 MB, free: 9.445 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.741e-05/0.1238, allocations: 91.3 kB / 475 MB, free: 9.355 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002896/0.1241, allocations: 243 kB / 475.2 MB, free: 9.117 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1241, allocations: 0 / 475.2 MB, free: 9.117 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1241, allocations: 0 / 475.2 MB, free: 9.117 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.1242, allocations: 0 / 475.2 MB, free: 9.117 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.0007763/0.1249, allocations: 0.5681 MB / 475.8 MB, free: 8.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.125, allocations: 8.031 kB / 475.8 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.64e-05/0.125, allocations: 36.56 kB / 475.9 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000355/0.1254, allocations: 295.9 kB / 476.1 MB, free: 8.129 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.1254, allocations: 4.375 kB / 476.1 MB, free: 8.125 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.808e-05/0.1255, allocations: 12.12 kB / 476.2 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002247/0.1257, allocations: 117.9 kB / 476.3 MB, free: 7.988 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.1257, allocations: 0 / 476.3 MB, free: 7.988 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.1257, allocations: 4 kB / 476.3 MB, free: 7.984 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.1258, allocations: 4 kB / 476.3 MB, free: 7.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/0.1259, allocations: 51.89 kB / 476.3 MB, free: 7.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000526/0.1264, allocations: 472.7 kB / 476.8 MB, free: 7.414 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003658/0.1268, allocations: 125.2 kB / 476.9 MB, free: 7.273 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.541e-05/0.1269, allocations: 45.83 kB / 477 MB, free: 7.223 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.1269, allocations: 160 / 477 MB, free: 7.223 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002198/0.1272, allocations: 121 kB / 477.1 MB, free: 7.086 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.242e-06/0.1272, allocations: 0 / 477.1 MB, free: 7.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001213/0.1284, allocations: 0.5044 MB / 477.6 MB, free: 6.574 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/0.1285, allocations: 81.11 kB / 477.7 MB, free: 6.477 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004241/0.1289, allocations: 477.7 kB / 478.1 MB, free: 6.004 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.1289, allocations: 37.69 kB / 478.2 MB, free: 5.961 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.586e-05/0.129, allocations: 156.5 kB / 478.3 MB, free: 5.805 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.489e-05/0.1291, allocations: 67.02 kB / 478.4 MB, free: 5.738 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.775e-05/0.1291, allocations: 45.7 kB / 478.4 MB, free: 5.688 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.1293, allocations: 354.7 kB / 478.8 MB, free: 5.332 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.1294, allocations: 59.97 kB / 478.8 MB, free: 5.273 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.1295, allocations: 87.34 kB / 478.9 MB, free: 5.176 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000242/0.1298, allocations: 163.5 kB / 479.1 MB, free: 5.004 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1298, allocations: 0 / 479.1 MB, free: 5.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000396/0.1302, allocations: 229.2 kB / 479.3 MB, free: 4.773 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.1302, allocations: 11.94 kB / 479.3 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.1302, allocations: 0 / 479.3 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.1303, allocations: 7.938 kB / 479.3 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.1304, allocations: 47.91 kB / 479.4 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.1304, allocations: 8.062 kB / 479.4 MB, free: 4.699 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.95e-05/0.1305, allocations: 8 kB / 479.4 MB, free: 4.691 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.588e-05/0.1305, allocations: 8 kB / 479.4 MB, free: 4.684 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.000162/0.1307, allocations: 173.7 kB / 479.6 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.063e-05/0.1308, allocations: 47.44 kB / 479.6 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.181e-05/0.1308, allocations: 42.81 kB / 479.6 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1309, allocations: 0 / 479.6 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.1309, allocations: 4 kB / 479.7 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1309, allocations: 4 kB / 479.7 MB, free: 4.406 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000866/0.1317, allocations: 0.7349 MB / 480.4 MB, free: 3.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.1318, allocations: 4 kB / 480.4 MB, free: 3.598 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.747e-05/0.1318, allocations: 27.98 kB / 480.4 MB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.1319, allocations: 128 / 480.4 MB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.1319, allocations: 12 kB / 480.4 MB, free: 3.559 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.334e-06/0.1319, allocations: 7.938 kB / 480.4 MB, free: 3.551 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1319, allocations: 0 / 480.4 MB, free: 3.551 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004338/0.1323, allocations: 424.5 kB / 480.9 MB, free: 3.109 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.998e-05/0.1324, allocations: 100.7 kB / 481 MB, free: 2.992 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.268e-05/0.1325, allocations: 11.98 kB / 481 MB, free: 2.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.1326, allocations: 8 kB / 481 MB, free: 2.973 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.91e-05/0.1327, allocations: 23.86 kB / 481 MB, free: 2.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-05/0.1327, allocations: 15.98 kB / 481 MB, free: 2.934 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003196/0.1331, allocations: 355.1 kB / 481.4 MB, free: 2.586 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1331, allocations: 4 kB / 481.4 MB, free: 2.582 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003427/0.1334, allocations: 51.98 kB / 481.4 MB, free: 2.531 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.001177/0.1346, allocations: 0.5114 MB / 481.9 MB, free: 2.223 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003345/0.135, allocations: 159.8 kB / 482.1 MB, free: 2.066 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.135, allocations: 0 / 482.1 MB, free: 2.066 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001505/0.1351, allocations: 83.97 kB / 482.2 MB, free: 1.984 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005111/0.1356, allocations: 55.02 kB / 482.2 MB, free: 1.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008178/0.1365, allocations: 0.5907 MB / 482.8 MB, free: 1.297 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/0.1368, allocations: 0.7845 MB / 483.6 MB, free: 500 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.607e-05/0.1369, allocations: 37.92 kB / 483.6 MB, free: 460 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.277e-05/0.137, allocations: 31.44 kB / 483.7 MB, free: 432 kB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.137, allocations: 0 / 483.7 MB, free: 432 kB / 350.1 MB Notification: Performance of Templates: time 0.006358/0.1434, allocations: 3.132 MB / 486.8 MB, free: 13.32 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/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