Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 110.9 kB / 17.33 MB, free: 6.012 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.001809/0.001809, allocations: 193.3 kB / 18.25 MB, free: 5.102 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.374/1.374, allocations: 222.9 MB / 241.9 MB, free: 15.45 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.2217/0.2217, allocations: 44.18 MB / 336.2 MB, free: 2.957 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 69.64 kB / 407.9 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1189, allocations: 60.83 MB / 468.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.003392/0.1223, allocations: 1.756 MB / 470.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00145/0.1238, allocations: 0.8614 MB / 471.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.836e-05/0.1239, allocations: 0 / 471.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003433/0.1243, allocations: 39.83 kB / 471.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000215/0.1245, allocations: 47.83 kB / 471.4 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002738/0.1248, allocations: 91.83 kB / 471.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.125, allocations: 99.69 kB / 471.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.1251, allocations: 12.22 kB / 471.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.307e-05/0.1252, allocations: 39.8 kB / 471.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.804e-05/0.1253, allocations: 39.77 kB / 471.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.1253, allocations: 4 kB / 471.7 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.26e-05/0.1254, allocations: 39.98 kB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.578e-05/0.1255, allocations: 19.92 kB / 471.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.338e-05/0.1255, allocations: 39.73 kB / 471.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002024/0.1258, allocations: 115.9 kB / 471.9 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1258, allocations: 0 / 471.9 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1258, allocations: 0 / 471.9 MB, free: 11.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.1258, allocations: 0 / 471.9 MB, free: 11.53 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.0005475/0.1263, allocations: 411 kB / 472.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.1264, allocations: 8.031 kB / 472.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.391e-05/0.1264, allocations: 8.844 kB / 472.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/0.1266, allocations: 212 kB / 472.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.1267, allocations: 4.375 kB / 472.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.257e-05/0.1267, allocations: 8.125 kB / 472.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.1268, allocations: 53.67 kB / 472.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.1269, allocations: 0 / 472.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.1269, allocations: 3.938 kB / 472.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.1269, allocations: 0 / 472.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.494e-05/0.127, allocations: 23.92 kB / 472.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003588/0.1273, allocations: 292.9 kB / 472.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/0.1275, allocations: 54.69 kB / 473 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.567e-05/0.1276, allocations: 20.84 kB / 473 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.1276, allocations: 3.938 kB / 473 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001873/0.1278, allocations: 67.39 kB / 473.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.1278, allocations: 7.938 kB / 473.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005522/0.1284, allocations: 173.2 kB / 473.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.1284, allocations: 51.41 kB / 473.3 MB, free: 9.973 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/0.1286, allocations: 186.2 kB / 473.5 MB, free: 9.781 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/0.1286, allocations: 29.7 kB / 473.5 MB, free: 9.746 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.733e-05/0.1287, allocations: 100.1 kB / 473.6 MB, free: 9.645 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.242e-05/0.1287, allocations: 23.66 kB / 473.6 MB, free: 9.621 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.527e-05/0.1288, allocations: 33.7 kB / 473.7 MB, free: 9.582 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.129, allocations: 326.8 kB / 474 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.448e-05/0.129, allocations: 15.98 kB / 474 MB, free: 9.238 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.503e-05/0.1291, allocations: 37.7 kB / 474 MB, free: 9.195 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.1292, allocations: 61.64 kB / 474.1 MB, free: 9.129 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1292, allocations: 0 / 474.1 MB, free: 9.129 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001826/0.1294, allocations: 109.4 kB / 474.2 MB, free: 9.016 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.1294, allocations: 4 kB / 474.2 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.1295, allocations: 0 / 474.2 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.1295, allocations: 0 / 474.2 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.386e-05/0.1296, allocations: 19.98 kB / 474.2 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.1296, allocations: 0 / 474.2 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.658e-05/0.1296, allocations: 11.94 kB / 474.2 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.1296, allocations: 0 / 474.2 MB, free: 8.98 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.111e-05/0.1297, allocations: 121.8 kB / 474.4 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.008e-05/0.1298, allocations: 15.94 kB / 474.4 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.494e-05/0.1298, allocations: 20.7 kB / 474.4 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.1298, allocations: 0 / 474.4 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1298, allocations: 0 / 474.4 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.636e-05/0.1298, allocations: 7.938 kB / 474.4 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004374/0.1303, allocations: 383.3 kB / 474.8 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1303, allocations: 192 / 474.8 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.515e-05/0.1303, allocations: 12.31 kB / 474.8 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.1304, allocations: 11.95 kB / 474.8 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.298e-05/0.1304, allocations: 15.94 kB / 474.8 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.1304, allocations: 3.984 kB / 474.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1304, allocations: 0 / 474.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002225/0.1306, allocations: 200.4 kB / 475 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.856e-05/0.1307, allocations: 89.02 kB / 475.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.583e-05/0.1307, allocations: 11.88 kB / 475.1 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.001e-05/0.1308, allocations: 4 kB / 475.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.694e-05/0.1309, allocations: 11.92 kB / 475.1 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.1309, allocations: 4 kB / 475.1 MB, free: 7.977 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001197/0.131, allocations: 147.2 kB / 475.3 MB, free: 7.832 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.131, allocations: 0 / 475.3 MB, free: 7.832 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002591/0.1313, allocations: 24 kB / 475.3 MB, free: 7.809 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.001015/0.1323, allocations: 463.1 kB / 475.7 MB, free: 7.535 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001854/0.1325, allocations: 63.91 kB / 475.8 MB, free: 7.473 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1325, allocations: 0 / 475.8 MB, free: 7.473 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.189e-05/0.1326, allocations: 27.98 kB / 475.8 MB, free: 7.445 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.1329, allocations: 27.34 kB / 475.9 MB, free: 7.422 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004758/0.1334, allocations: 251.1 kB / 476.1 MB, free: 7.145 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.1337, allocations: 0.7119 MB / 476.8 MB, free: 6.406 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.416e-05/0.1338, allocations: 17.12 kB / 476.8 MB, free: 6.391 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.987e-05/0.1339, allocations: 19.42 kB / 476.9 MB, free: 6.371 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1339, allocations: 3.938 kB / 476.9 MB, free: 6.367 MB / 350.1 MB Notification: Performance of Templates: time 0.004658/0.1385, allocations: 1.678 MB / 478.5 MB, free: 4.707 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches