Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001222, allocations: 106.5 kB / 17.2 MB, free: 6.289 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.001133/0.001134, allocations: 194 kB / 18.12 MB, free: 5.383 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.483/1.483, allocations: 222.9 MB / 241.8 MB, free: 15.38 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.2182/0.2182, allocations: 44.19 MB / 336.1 MB, free: 2.992 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 68.16 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1274, allocations: 60.82 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.003018/0.1304, allocations: 1.752 MB / 470.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001295/0.1318, allocations: 0.8692 MB / 471.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.533e-05/0.1318, allocations: 0 / 471.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002891/0.1321, allocations: 35.89 kB / 471.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001747/0.1323, allocations: 51.77 kB / 471.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002564/0.1326, allocations: 91.58 kB / 471.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001494/0.1328, allocations: 95.69 kB / 471.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.803e-05/0.1328, allocations: 16.2 kB / 471.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.301e-05/0.1329, allocations: 39.8 kB / 471.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.615e-05/0.133, allocations: 35.78 kB / 471.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.133, allocations: 4 kB / 471.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.674e-05/0.1331, allocations: 39.98 kB / 471.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.291e-05/0.1332, allocations: 11.92 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.082e-05/0.1333, allocations: 39.73 kB / 471.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001804/0.1334, allocations: 103.9 kB / 471.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1334, allocations: 0 / 471.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.21e-07/0.1335, allocations: 4 kB / 471.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.469e-06/0.1335, allocations: 0 / 471.7 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.0005467/0.134, allocations: 415 kB / 472.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.1341, allocations: 8.031 kB / 472.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.664e-05/0.1341, allocations: 8.844 kB / 472.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.1343, allocations: 212 kB / 472.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.1343, allocations: 4.375 kB / 472.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.1344, allocations: 8.125 kB / 472.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.1345, allocations: 61.67 kB / 472.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.567e-06/0.1345, allocations: 0 / 472.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.1346, allocations: 0 / 472.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1346, allocations: 0 / 472.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.799e-05/0.1346, allocations: 23.92 kB / 472.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003411/0.135, allocations: 284.9 kB / 472.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.1352, allocations: 62.67 kB / 472.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.267e-05/0.1352, allocations: 20.84 kB / 472.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.1353, allocations: 0 / 472.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001714/0.1354, allocations: 75.27 kB / 472.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.1354, allocations: 0 / 472.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000529/0.136, allocations: 173.2 kB / 473 MB, free: 10.15 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.136, allocations: 55.41 kB / 473.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/0.1362, allocations: 186.2 kB / 473.3 MB, free: 9.891 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.1362, allocations: 25.7 kB / 473.3 MB, free: 9.859 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.642e-05/0.1363, allocations: 100.1 kB / 473.4 MB, free: 9.758 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.145e-05/0.1363, allocations: 27.64 kB / 473.4 MB, free: 9.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.86e-05/0.1364, allocations: 29.66 kB / 473.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.1365, allocations: 326.8 kB / 473.8 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.6e-05/0.1366, allocations: 19.98 kB / 473.8 MB, free: 9.348 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.253e-05/0.1366, allocations: 41.7 kB / 473.8 MB, free: 9.301 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.1368, allocations: 57.72 kB / 473.9 MB, free: 9.238 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.1368, allocations: 0 / 473.9 MB, free: 9.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001804/0.137, allocations: 105.5 kB / 474 MB, free: 9.129 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.137, allocations: 4 kB / 474 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.137, allocations: 0 / 474 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.137, allocations: 4.031 kB / 474 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.663e-05/0.1371, allocations: 23.92 kB / 474 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.1371, allocations: 0 / 474 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.572e-05/0.1372, allocations: 7.938 kB / 474 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.1372, allocations: 0 / 474 MB, free: 9.09 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.538e-05/0.1373, allocations: 125.8 kB / 474.1 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.271e-05/0.1373, allocations: 11.89 kB / 474.2 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.375e-05/0.1374, allocations: 12.72 kB / 474.2 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1374, allocations: 384 / 474.2 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1374, allocations: 4 kB / 474.2 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.1374, allocations: 11.92 kB / 474.2 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004485/0.1378, allocations: 391.3 kB / 474.6 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1379, allocations: 0 / 474.6 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.49e-05/0.1379, allocations: 15.92 kB / 474.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1379, allocations: 0 / 474.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.1379, allocations: 7.938 kB / 474.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.1379, allocations: 0 / 474.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1379, allocations: 4.031 kB / 474.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002408/0.1382, allocations: 204.2 kB / 474.8 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.59e-05/0.1383, allocations: 88.95 kB / 474.9 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.807e-05/0.1383, allocations: 7.922 kB / 474.9 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.014e-05/0.1384, allocations: 4 kB / 474.9 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.583e-05/0.1384, allocations: 8 kB / 474.9 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.1384, allocations: 11.98 kB / 474.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001117/0.1385, allocations: 139.2 kB / 475 MB, free: 7.953 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1386, allocations: 0 / 475 MB, free: 7.953 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002662/0.1388, allocations: 27.98 kB / 475.1 MB, free: 7.926 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.1399, allocations: 470.8 kB / 475.5 MB, free: 7.645 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001794/0.1401, allocations: 55.97 kB / 475.6 MB, free: 7.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1401, allocations: 0 / 475.6 MB, free: 7.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.283e-05/0.1402, allocations: 35.92 kB / 475.6 MB, free: 7.555 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.1405, allocations: 23.97 kB / 475.6 MB, free: 7.531 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004615/0.141, allocations: 245.1 kB / 475.9 MB, free: 7.258 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.1413, allocations: 0.7043 MB / 476.6 MB, free: 6.527 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.6e-05/0.1414, allocations: 16.88 kB / 476.6 MB, free: 6.512 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.469e-05/0.1414, allocations: 19.38 kB / 476.6 MB, free: 6.492 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1414, allocations: 0 / 476.6 MB, free: 6.492 MB / 350.1 MB Notification: Performance of Templates: time 0.004171/0.1456, allocations: 1.635 MB / 478.3 MB, free: 4.875 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches