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.001212/0.001212, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.001201/0.001201, allocations: 195.3 kB / 19.23 MB, free: 3.961 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.367/1.367, allocations: 222.9 MB / 242.9 MB, free: 15.2 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.2033/0.2033, allocations: 44.16 MB / 337.3 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001297, allocations: 62.2 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1156, allocations: 60.84 MB / 469.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.00342/0.1191, allocations: 1.875 MB / 471.8 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001763/0.1209, allocations: 0.9977 MB / 472.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.121, allocations: 4 kB / 472.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005172/0.1215, allocations: 243.4 kB / 473.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003902/0.122, allocations: 187.4 kB / 473.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005193/0.1225, allocations: 186.6 kB / 473.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003168/0.1228, allocations: 255.3 kB / 473.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.123, allocations: 29.66 kB / 473.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001655/0.1232, allocations: 131.5 kB / 473.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002056/0.1234, allocations: 183.5 kB / 474 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.813e-05/0.1234, allocations: 8 kB / 474 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001362/0.1236, allocations: 55.98 kB / 474.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.436e-05/0.1237, allocations: 67.69 kB / 474.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.488e-05/0.1238, allocations: 91.3 kB / 474.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003296/0.1241, allocations: 243.4 kB / 474.5 MB, free: 9.816 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.1241, allocations: 4 kB / 474.5 MB, free: 9.812 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1241, allocations: 0 / 474.5 MB, free: 9.812 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1241, allocations: 4 kB / 474.5 MB, free: 9.809 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.0007252/0.1249, allocations: 0.5641 MB / 475 MB, free: 9.195 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.1249, allocations: 12.02 kB / 475 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.708e-05/0.125, allocations: 32.56 kB / 475.1 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003214/0.1253, allocations: 280 kB / 475.3 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.1253, allocations: 4.375 kB / 475.4 MB, free: 8.836 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.001e-05/0.1254, allocations: 16.11 kB / 475.4 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002314/0.1256, allocations: 107.3 kB / 475.5 MB, free: 8.703 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.1256, allocations: 7.984 kB / 475.5 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.1257, allocations: 7.938 kB / 475.5 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.1257, allocations: 0 / 475.5 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001261/0.1258, allocations: 43.97 kB / 475.5 MB, free: 8.645 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005291/0.1263, allocations: 488.6 kB / 476 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003543/0.1267, allocations: 121.2 kB / 476.1 MB, free: 7.977 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.9e-05/0.1268, allocations: 49.75 kB / 476.2 MB, free: 7.922 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.1269, allocations: 0 / 476.2 MB, free: 7.922 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002848/0.1271, allocations: 117.1 kB / 476.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.673e-06/0.1272, allocations: 0 / 476.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001282/0.1284, allocations: 0.4999 MB / 476.8 MB, free: 7.281 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.949e-05/0.1285, allocations: 85.05 kB / 476.9 MB, free: 7.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00042/0.1289, allocations: 481.7 kB / 477.3 MB, free: 6.703 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.129, allocations: 33.7 kB / 477.4 MB, free: 6.664 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.784e-05/0.1291, allocations: 160.5 kB / 477.5 MB, free: 6.504 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.164e-05/0.1291, allocations: 70.98 kB / 477.6 MB, free: 6.434 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.092e-05/0.1292, allocations: 41.7 kB / 477.6 MB, free: 6.387 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.1293, allocations: 346.8 kB / 478 MB, free: 6.039 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.1295, allocations: 63.97 kB / 478 MB, free: 5.977 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.1296, allocations: 95.33 kB / 478.1 MB, free: 5.871 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002551/0.1299, allocations: 155.4 kB / 478.3 MB, free: 5.707 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1299, allocations: 0 / 478.3 MB, free: 5.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003731/0.1303, allocations: 241.3 kB / 478.5 MB, free: 5.465 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.1303, allocations: 11.94 kB / 478.5 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.423e-06/0.1303, allocations: 0 / 478.5 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.1303, allocations: 0 / 478.5 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.1305, allocations: 39.98 kB / 478.6 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.1305, allocations: 3.938 kB / 478.6 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.152e-05/0.1306, allocations: 15.98 kB / 478.6 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.1306, allocations: 8 kB / 478.6 MB, free: 5.387 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.0001502/0.1307, allocations: 177.8 kB / 478.8 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.932e-05/0.1308, allocations: 39.47 kB / 478.8 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.692e-05/0.1309, allocations: 38.81 kB / 478.9 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.1309, allocations: 7.938 kB / 478.9 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.1309, allocations: 0 / 478.9 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.1309, allocations: 3.984 kB / 478.9 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008506/0.1318, allocations: 0.7312 MB / 479.6 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.1318, allocations: 96 / 479.6 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.342e-05/0.1319, allocations: 39.86 kB / 479.6 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.1319, allocations: 4 kB / 479.6 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.1319, allocations: 7.984 kB / 479.6 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.1319, allocations: 4 kB / 479.7 MB, free: 4.258 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1319, allocations: 128 / 479.7 MB, free: 4.258 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004767/0.1324, allocations: 425.7 kB / 480.1 MB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.106e-05/0.1325, allocations: 108.7 kB / 480.2 MB, free: 3.688 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.255e-05/0.1325, allocations: 8 kB / 480.2 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.1327, allocations: 7.984 kB / 480.2 MB, free: 3.672 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.352e-05/0.1328, allocations: 19.92 kB / 480.2 MB, free: 3.652 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.299e-05/0.1328, allocations: 8 kB / 480.2 MB, free: 3.645 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003065/0.1331, allocations: 367.1 kB / 480.6 MB, free: 3.285 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1331, allocations: 0 / 480.6 MB, free: 3.285 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003616/0.1335, allocations: 48 kB / 480.6 MB, free: 3.238 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.001174/0.1347, allocations: 0.5297 MB / 481.2 MB, free: 2.914 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003662/0.135, allocations: 163.8 kB / 481.3 MB, free: 2.754 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.135, allocations: 0 / 481.3 MB, free: 2.754 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001535/0.1352, allocations: 79.84 kB / 481.4 MB, free: 2.676 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005579/0.1358, allocations: 61.42 kB / 481.4 MB, free: 2.617 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009249/0.1367, allocations: 0.6283 MB / 482.1 MB, free: 1.941 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/0.137, allocations: 0.787 MB / 482.9 MB, free: 1.129 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.554e-05/0.1371, allocations: 27.44 kB / 482.9 MB, free: 1.105 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1371, allocations: 0 / 482.9 MB, free: 1.105 MB / 350.1 MB Notification: Performance of Templates: time 0.005656/0.1428, allocations: 3.769 MB / 486.7 MB, free: 13.36 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/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