Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,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.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,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.Test57") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001092, allocations: 104.7 kB / 17.63 MB, free: 5.344 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.001778/0.001778, allocations: 192 kB / 18.56 MB, free: 4.434 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.349/1.349, allocations: 222.9 MB / 242.2 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.2269/0.2269, allocations: 44.19 MB / 336.6 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 64.61 kB / 408.4 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.118, allocations: 60.83 MB / 469.3 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003384/0.1214, allocations: 1.699 MB / 471 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002347/0.1238, allocations: 1.483 MB / 472.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.1239, allocations: 8 kB / 472.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003483/0.1243, allocations: 35.77 kB / 472.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002891/0.1246, allocations: 51.7 kB / 472.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000372/0.125, allocations: 114.4 kB / 472.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001908/0.1252, allocations: 95.75 kB / 472.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.1253, allocations: 12.22 kB / 472.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.1254, allocations: 43.73 kB / 472.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000164/0.1256, allocations: 39.83 kB / 472.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.359e-05/0.1256, allocations: 8 kB / 472.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000158/0.1258, allocations: 55.98 kB / 472.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.38e-05/0.1259, allocations: 19.91 kB / 472.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.825e-05/0.1259, allocations: 35.73 kB / 473 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002657/0.1262, allocations: 120 kB / 473.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.1262, allocations: 0 / 473.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.1262, allocations: 3.938 kB / 473.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.1262, allocations: 3.938 kB / 473.1 MB, free: 10.52 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.0005729/0.1268, allocations: 399.2 kB / 473.5 MB, free: 10.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.1269, allocations: 12.03 kB / 473.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.19e-05/0.1269, allocations: 8.844 kB / 473.5 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002639/0.1272, allocations: 208.1 kB / 473.7 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.1272, allocations: 4.375 kB / 473.7 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.1273, allocations: 8.125 kB / 473.7 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.1274, allocations: 67.33 kB / 473.8 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.1275, allocations: 4 kB / 473.8 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.1275, allocations: 0 / 473.8 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1275, allocations: 4 kB / 473.8 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.674e-05/0.1276, allocations: 19.98 kB / 473.8 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003894/0.128, allocations: 276.9 kB / 474.1 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/0.1281, allocations: 62.61 kB / 474.1 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.621e-05/0.1282, allocations: 20.86 kB / 474.1 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.1283, allocations: 7.984 kB / 474.2 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002036/0.1285, allocations: 67.33 kB / 474.2 MB, free: 9.199 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.1285, allocations: 0 / 474.2 MB, free: 9.199 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000564/0.129, allocations: 169.5 kB / 474.4 MB, free: 9.027 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.205e-05/0.1291, allocations: 81.09 kB / 474.5 MB, free: 8.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.1293, allocations: 152.2 kB / 474.6 MB, free: 8.773 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.1293, allocations: 29.7 kB / 474.6 MB, free: 8.738 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.708e-05/0.1294, allocations: 96.12 kB / 474.7 MB, free: 8.641 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.303e-05/0.1294, allocations: 23.7 kB / 474.8 MB, free: 8.617 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.767e-05/0.1295, allocations: 29.7 kB / 474.8 MB, free: 8.582 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.1296, allocations: 326.8 kB / 475.1 MB, free: 8.254 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.529e-05/0.1296, allocations: 12.06 kB / 475.1 MB, free: 8.242 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.904e-05/0.1297, allocations: 54.5 kB / 475.2 MB, free: 8.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.1299, allocations: 57.7 kB / 475.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.1299, allocations: 4 kB / 475.2 MB, free: 8.113 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001897/0.1301, allocations: 93.53 kB / 475.3 MB, free: 8.016 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.1301, allocations: 11.42 kB / 475.3 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1301, allocations: 192 / 475.3 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.1301, allocations: 4 kB / 475.3 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.899e-05/0.1302, allocations: 19.94 kB / 475.4 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.1302, allocations: 4.062 kB / 475.4 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.299e-05/0.1303, allocations: 11.88 kB / 475.4 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.1303, allocations: 3.984 kB / 475.4 MB, free: 7.965 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 ($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 9.995e-05/0.1304, allocations: 121.8 kB / 475.5 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.744e-05/0.1305, allocations: 7.906 kB / 475.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.596e-05/0.1305, allocations: 12.72 kB / 475.5 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.1305, allocations: 0 / 475.5 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.1305, allocations: 3.984 kB / 475.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.1305, allocations: 7.938 kB / 475.5 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004635/0.131, allocations: 387.3 kB / 475.9 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.131, allocations: 4 kB / 475.9 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.802e-05/0.1311, allocations: 8 kB / 475.9 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.1311, allocations: 0 / 475.9 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.1311, allocations: 11.92 kB / 475.9 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1311, allocations: 0 / 475.9 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.1311, allocations: 7.984 kB / 475.9 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002521/0.1314, allocations: 204.4 kB / 476.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.312e-05/0.1314, allocations: 84.95 kB / 476.2 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.22e-05/0.1315, allocations: 11.94 kB / 476.2 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.082e-05/0.1316, allocations: 3.984 kB / 476.2 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.1316, allocations: 4 kB / 476.2 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.1316, allocations: 4 kB / 476.2 MB, free: 6.988 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001017/0.1317, allocations: 119.2 kB / 476.4 MB, free: 6.871 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1317, allocations: 0 / 476.4 MB, free: 6.871 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002832/0.132, allocations: 35.98 kB / 476.4 MB, free: 6.836 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 (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.001301/0.1333, allocations: 0.4925 MB / 476.9 MB, free: 6.535 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002174/0.1336, allocations: 59.91 kB / 476.9 MB, free: 6.477 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.1336, allocations: 7.938 kB / 477 MB, free: 6.469 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.787e-05/0.1337, allocations: 27.94 kB / 477 MB, free: 6.441 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003481/0.134, allocations: 28.09 kB / 477 MB, free: 6.414 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004768/0.1345, allocations: 194.9 kB / 477.2 MB, free: 6.191 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/0.1348, allocations: 0.7012 MB / 477.9 MB, free: 5.465 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.965e-05/0.1349, allocations: 17.17 kB / 477.9 MB, free: 5.449 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.574e-05/0.1349, allocations: 19.42 kB / 477.9 MB, free: 5.43 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1349, allocations: 0 / 477.9 MB, free: 5.43 MB / 350.1 MB Notification: Performance of Templates: time 0.005205/0.1401, allocations: 1.965 MB / 479.9 MB, free: 3.484 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches