Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,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.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,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.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 113.4 kB / 17.86 MB, free: 5.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.001159/0.00116, allocations: 201.9 kB / 18.77 MB, free: 4.715 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.394/1.394, allocations: 222.9 MB / 242.5 MB, free: 15.46 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.2092/0.2092, allocations: 44.17 MB / 336.8 MB, free: 3 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 60.31 kB / 408.4 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1192, allocations: 60.83 MB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.003159/0.1224, allocations: 1.753 MB / 470.9 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001337/0.1237, allocations: 0.8693 MB / 471.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.507e-05/0.1238, allocations: 0 / 471.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003015/0.1241, allocations: 39.88 kB / 471.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001629/0.1243, allocations: 47.78 kB / 471.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002482/0.1246, allocations: 95.83 kB / 472 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001591/0.1248, allocations: 99.67 kB / 472.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.311e-05/0.1249, allocations: 4.234 kB / 472.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.81e-05/0.1249, allocations: 35.8 kB / 472.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.822e-05/0.125, allocations: 39.77 kB / 472.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.125, allocations: 0 / 472.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.477e-05/0.1251, allocations: 36 kB / 472.2 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.609e-05/0.1252, allocations: 23.91 kB / 472.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.786e-05/0.1253, allocations: 43.73 kB / 472.3 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001458/0.1254, allocations: 80.11 kB / 472.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.1254, allocations: 0 / 472.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.1254, allocations: 3.938 kB / 472.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.1254, allocations: 7.938 kB / 472.4 MB, free: 11.65 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.0005891/0.126, allocations: 414.9 kB / 472.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.1261, allocations: 8.031 kB / 472.8 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.595e-05/0.1261, allocations: 12.84 kB / 472.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002308/0.1264, allocations: 204.8 kB / 473 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.1264, allocations: 12.38 kB / 473 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.366e-05/0.1264, allocations: 8.109 kB / 473 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.1266, allocations: 53.67 kB / 473.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.1266, allocations: 0 / 473.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.1266, allocations: 4 kB / 473.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.1266, allocations: 0 / 473.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.56e-05/0.1267, allocations: 19.92 kB / 473.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003554/0.1271, allocations: 292.8 kB / 473.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.1273, allocations: 58.69 kB / 473.4 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.41e-05/0.1273, allocations: 20.84 kB / 473.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.1274, allocations: 0 / 473.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001932/0.1276, allocations: 71.33 kB / 473.5 MB, free: 10.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.1276, allocations: 4 kB / 473.5 MB, free: 10.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005668/0.1281, allocations: 177.1 kB / 473.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.1282, allocations: 55.39 kB / 473.7 MB, free: 10.08 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.1284, allocations: 199.3 kB / 473.9 MB, free: 9.871 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.1284, allocations: 29.64 kB / 474 MB, free: 9.836 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.575e-05/0.1285, allocations: 104.1 kB / 474.1 MB, free: 9.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.1285, allocations: 23.7 kB / 474.1 MB, free: 9.707 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.894e-05/0.1286, allocations: 21.72 kB / 474.1 MB, free: 9.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.1287, allocations: 330.8 kB / 474.4 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.956e-05/0.1287, allocations: 19.98 kB / 474.5 MB, free: 9.328 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.23e-05/0.1288, allocations: 37.7 kB / 474.5 MB, free: 9.285 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001184/0.1289, allocations: 57.66 kB / 474.5 MB, free: 9.223 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1289, allocations: 0 / 474.5 MB, free: 9.223 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000179/0.1291, allocations: 101.6 kB / 474.6 MB, free: 9.117 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.1291, allocations: 4 kB / 474.6 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1292, allocations: 0 / 474.6 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.1292, allocations: 4 kB / 474.7 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.929e-05/0.1293, allocations: 15.94 kB / 474.7 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.1293, allocations: 4.172 kB / 474.7 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.888e-05/0.1293, allocations: 11.94 kB / 474.7 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/0.1294, allocations: 3.938 kB / 474.7 MB, free: 9.074 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 0.0001583/0.1295, allocations: 125.8 kB / 474.8 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/0.1295, allocations: 15.84 kB / 474.8 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.131e-05/0.1296, allocations: 17.41 kB / 474.8 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.1296, allocations: 3.984 kB / 474.8 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1296, allocations: 0 / 474.8 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1296, allocations: 3.938 kB / 474.9 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004228/0.13, allocations: 395.3 kB / 475.2 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1301, allocations: 0 / 475.2 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.414e-05/0.1301, allocations: 8 kB / 475.2 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1301, allocations: 7.969 kB / 475.3 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.1301, allocations: 11.94 kB / 475.3 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1301, allocations: 0 / 475.3 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1301, allocations: 0 / 475.3 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002243/0.1304, allocations: 204.4 kB / 475.5 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.276e-05/0.1304, allocations: 93 kB / 475.6 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/0.1305, allocations: 3.938 kB / 475.6 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.115e-05/0.1305, allocations: 8.375 kB / 475.6 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.803e-05/0.1306, allocations: 7.984 kB / 475.6 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.1306, allocations: 0 / 475.6 MB, free: 8.082 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001129/0.1307, allocations: 156.8 kB / 475.7 MB, free: 7.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1307, allocations: 0 / 475.7 MB, free: 7.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002547/0.131, allocations: 24 kB / 475.8 MB, free: 7.906 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.001073/0.1321, allocations: 476.1 kB / 476.2 MB, free: 7.617 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001706/0.1322, allocations: 55.97 kB / 476.3 MB, free: 7.562 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1323, allocations: 0 / 476.3 MB, free: 7.562 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.642e-05/0.1323, allocations: 35.86 kB / 476.3 MB, free: 7.527 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003349/0.1327, allocations: 27.77 kB / 476.3 MB, free: 7.504 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004637/0.1332, allocations: 282.7 kB / 476.6 MB, free: 7.195 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.1334, allocations: 0.7082 MB / 477.3 MB, free: 6.461 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.494e-05/0.1335, allocations: 23.42 kB / 477.3 MB, free: 6.438 MB / 350.1 MB Notification: Performance of SimCode: time 1.593e-06/0.1335, allocations: 0 / 477.3 MB, free: 6.438 MB / 350.1 MB Notification: Performance of Templates: time 0.003854/0.1373, allocations: 1.915 MB / 479.3 MB, free: 4.531 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches