Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008878/0.0008878, allocations: 97.38 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008771/0.0008772, allocations: 176.7 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.389/1.389, allocations: 205.4 MB / 222.7 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3012/0.3012, allocations: 43.54 MB / 314.5 MB, free: 8.715 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004811/0.0004811, allocations: 16 kB / 383.9 MB, free: 8.047 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.123, allocations: 58.86 MB / 442.8 MB, free: 13.08 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.002149/0.1252, allocations: 1.384 MB / 444.1 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.1265, allocations: 0.7267 MB / 444.9 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.628e-05/0.1267, allocations: 0 / 444.9 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003158/0.127, allocations: 35.83 kB / 444.9 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002737/0.1273, allocations: 47.88 kB / 445 MB, free: 10.87 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002468/0.1275, allocations: 71.8 kB / 445 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001576/0.1277, allocations: 59.86 kB / 445.1 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.1278, allocations: 16.2 kB / 445.1 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.887e-05/0.1279, allocations: 35.84 kB / 445.1 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.143e-05/0.128, allocations: 23.86 kB / 445.2 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.128, allocations: 4 kB / 445.2 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003429/0.1284, allocations: 35.86 kB / 445.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.498e-05/0.1284, allocations: 19.97 kB / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.547e-05/0.1285, allocations: 37.64 kB / 445.3 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.1286, allocations: 84.05 kB / 445.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.1287, allocations: 0 / 445.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1287, allocations: 0 / 445.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.1287, allocations: 0 / 445.3 MB, free: 10.48 MB / 382.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.0008519/0.1295, allocations: 410.7 kB / 445.7 MB, free: 10.03 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.1296, allocations: 8.031 kB / 445.7 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.519e-05/0.1296, allocations: 11.91 kB / 445.8 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.1299, allocations: 206.8 kB / 446 MB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.1299, allocations: 4 kB / 446 MB, free: 9.766 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.1299, allocations: 0 / 446 MB, free: 9.766 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.1301, allocations: 53.67 kB / 446 MB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.1301, allocations: 0 / 446 MB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.1301, allocations: 4 kB / 446 MB, free: 9.703 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.1301, allocations: 3.953 kB / 446 MB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.388e-05/0.1302, allocations: 19.92 kB / 446 MB, free: 9.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003711/0.1306, allocations: 285 kB / 446.3 MB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001547/0.1307, allocations: 62.66 kB / 446.4 MB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.1308, allocations: 4 kB / 446.4 MB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001766/0.131, allocations: 75.31 kB / 446.5 MB, free: 9.191 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.845e-06/0.131, allocations: 4 kB / 446.5 MB, free: 9.188 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005286/0.1315, allocations: 173.3 kB / 446.6 MB, free: 9.012 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001514/0.1317, allocations: 51.41 kB / 446.7 MB, free: 8.949 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002619/0.1319, allocations: 190.1 kB / 446.9 MB, free: 8.754 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.132, allocations: 25.7 kB / 446.9 MB, free: 8.723 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.078e-05/0.132, allocations: 108.1 kB / 447 MB, free: 8.613 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.568e-05/0.1321, allocations: 19.72 kB / 447 MB, free: 8.594 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-06/0.1321, allocations: 0 / 447 MB, free: 8.594 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0003208/0.1324, allocations: 326.8 kB / 447.3 MB, free: 8.266 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.711e-05/0.1325, allocations: 23.98 kB / 447.4 MB, free: 8.242 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.776e-05/0.1325, allocations: 33.7 kB / 447.4 MB, free: 8.203 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.723e-05/0.1326, allocations: 20 kB / 447.4 MB, free: 8.184 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.1326, allocations: 0 / 447.4 MB, free: 8.184 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001673/0.1328, allocations: 101.5 kB / 447.5 MB, free: 8.078 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.1328, allocations: 15.89 kB / 447.5 MB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1329, allocations: 4.031 kB / 447.5 MB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.1329, allocations: 0 / 447.5 MB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.777e-05/0.133, allocations: 12.19 kB / 447.5 MB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.133, allocations: 4 kB / 447.5 MB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.537e-05/0.1331, allocations: 7.922 kB / 447.6 MB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.1331, allocations: 4 kB / 447.6 MB, free: 8.031 MB / 382.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001016/0.1332, allocations: 129.8 kB / 447.7 MB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.651e-05/0.1332, allocations: 7.906 kB / 447.7 MB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.189e-05/0.1333, allocations: 24.66 kB / 447.7 MB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1333, allocations: 4 kB / 447.7 MB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1333, allocations: 0 / 447.7 MB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1333, allocations: 0 / 447.7 MB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000631/0.1339, allocations: 399.2 kB / 448.1 MB, free: 7.414 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1339, allocations: 0 / 448.1 MB, free: 7.414 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.278e-05/0.134, allocations: 11.98 kB / 448.1 MB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.134, allocations: 0 / 448.1 MB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.134, allocations: 0 / 448.1 MB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.134, allocations: 8.031 kB / 448.1 MB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.134, allocations: 0 / 448.1 MB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002123/0.1342, allocations: 217.9 kB / 448.3 MB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.309e-05/0.1343, allocations: 92.91 kB / 448.4 MB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.298e-05/0.1343, allocations: 4.375 kB / 448.4 MB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.746e-05/0.1344, allocations: 8 kB / 448.4 MB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.635e-05/0.1344, allocations: 3.984 kB / 448.4 MB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.1345, allocations: 8 kB / 448.5 MB, free: 7.023 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000121/0.1346, allocations: 140.1 kB / 448.6 MB, free: 6.887 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1346, allocations: 0 / 448.6 MB, free: 6.887 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002697/0.1349, allocations: 31.98 kB / 448.6 MB, free: 6.855 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009901/0.1359, allocations: 464.2 kB / 449.1 MB, free: 6.434 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001795/0.1361, allocations: 63.89 kB / 449.1 MB, free: 6.371 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1361, allocations: 3.938 kB / 449.1 MB, free: 6.367 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.672e-05/0.1361, allocations: 27.94 kB / 449.2 MB, free: 6.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002538/0.1364, allocations: 32.05 kB / 449.2 MB, free: 6.309 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004611/0.1369, allocations: 226.4 kB / 449.4 MB, free: 6.059 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004137/0.1373, allocations: 0.716 MB / 450.1 MB, free: 5.316 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.14e-05/0.1374, allocations: 8.891 kB / 450.1 MB, free: 5.305 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.806e-05/0.1374, allocations: 19.42 kB / 450.2 MB, free: 5.285 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1374, allocations: 0 / 450.2 MB, free: 5.285 MB / 382.1 MB Notification: Performance of Templates: time 0.004398/0.1418, allocations: 1.576 MB / 451.7 MB, free: 3.711 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches