Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,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.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 95.34 kB / 15.68 MB, free: 488 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.001514/0.001514, allocations: 175.1 kB / 16.56 MB, free: 6.379 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.413/1.413, allocations: 205.4 MB / 222.7 MB, free: 5.664 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.3314/0.3314, allocations: 43.55 MB / 314.5 MB, free: 8.988 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.0005493/0.0005494, allocations: 22.97 kB / 383.9 MB, free: 8.262 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1289, allocations: 58.85 MB / 442.8 MB, free: 13.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.002272/0.1313, allocations: 1.384 MB / 444.1 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001339/0.1326, allocations: 0.7306 MB / 444.9 MB, free: 11.17 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.1328, allocations: 7.938 kB / 444.9 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002852/0.1331, allocations: 27.84 kB / 444.9 MB, free: 11.13 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002435/0.1333, allocations: 39.88 kB / 444.9 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003151/0.1337, allocations: 83.77 kB / 445 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002393/0.1339, allocations: 55.88 kB / 445.1 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.134, allocations: 16.2 kB / 445.1 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.1342, allocations: 39.84 kB / 445.1 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.648e-05/0.1343, allocations: 27.84 kB / 445.2 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.1343, allocations: 0 / 445.2 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.1344, allocations: 31.92 kB / 445.2 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.698e-05/0.1345, allocations: 19.92 kB / 445.2 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.718e-05/0.1345, allocations: 41.58 kB / 445.3 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001736/0.1347, allocations: 88.09 kB / 445.3 MB, free: 10.69 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.1347, allocations: 0 / 445.3 MB, free: 10.69 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1347, allocations: 0 / 445.3 MB, free: 10.69 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.1347, allocations: 0 / 445.3 MB, free: 10.69 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.0005674/0.1353, allocations: 418.8 kB / 445.7 MB, free: 10.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.1353, allocations: 8.031 kB / 445.8 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.961e-05/0.1354, allocations: 7.906 kB / 445.8 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002367/0.1356, allocations: 199.6 kB / 446 MB, free: 9.984 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.1357, allocations: 0 / 446 MB, free: 9.984 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.431e-05/0.1357, allocations: 7.938 kB / 446 MB, free: 9.977 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.1359, allocations: 53.67 kB / 446 MB, free: 9.918 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.1359, allocations: 3.906 kB / 446 MB, free: 9.914 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.1359, allocations: 0 / 446 MB, free: 9.914 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.1359, allocations: 7.953 kB / 446 MB, free: 9.906 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.524e-05/0.136, allocations: 23.98 kB / 446.1 MB, free: 9.883 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003932/0.1364, allocations: 280.9 kB / 446.3 MB, free: 9.559 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.1366, allocations: 58.61 kB / 446.4 MB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.658e-05/0.1366, allocations: 4.109 kB / 446.4 MB, free: 9.488 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001844/0.1368, allocations: 75.34 kB / 446.5 MB, free: 9.402 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.1368, allocations: 0 / 446.5 MB, free: 9.402 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005391/0.1373, allocations: 173.2 kB / 446.6 MB, free: 9.227 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.1374, allocations: 55.39 kB / 446.7 MB, free: 9.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.1376, allocations: 191.3 kB / 446.9 MB, free: 8.965 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.1376, allocations: 29.7 kB / 446.9 MB, free: 8.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.986e-05/0.1377, allocations: 108.1 kB / 447 MB, free: 8.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.1377, allocations: 19.72 kB / 447 MB, free: 8.801 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-06/0.1377, allocations: 0 / 447 MB, free: 8.801 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.1378, allocations: 326.8 kB / 447.3 MB, free: 8.473 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.441e-05/0.1379, allocations: 15.98 kB / 447.4 MB, free: 8.457 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.851e-05/0.1379, allocations: 41.64 kB / 447.4 MB, free: 8.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.43e-05/0.138, allocations: 32.05 kB / 447.4 MB, free: 8.379 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.138, allocations: 4 kB / 447.4 MB, free: 8.375 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001705/0.1382, allocations: 101.4 kB / 447.5 MB, free: 8.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.1382, allocations: 11.89 kB / 447.5 MB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1382, allocations: 4 kB / 447.6 MB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.1383, allocations: 192 / 447.6 MB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.639e-05/0.1383, allocations: 12 kB / 447.6 MB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.1384, allocations: 3.938 kB / 447.6 MB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.817e-05/0.1384, allocations: 11.98 kB / 447.6 MB, free: 8.227 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.1384, allocations: 4 kB / 447.6 MB, free: 8.223 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 9.874e-05/0.1385, allocations: 129.8 kB / 447.7 MB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.064e-05/0.1386, allocations: 15.91 kB / 447.7 MB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.724e-05/0.1386, allocations: 21.34 kB / 447.7 MB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.1386, allocations: 384 / 447.7 MB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1386, allocations: 0 / 447.7 MB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.1386, allocations: 4 kB / 447.8 MB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004171/0.1391, allocations: 399.2 kB / 448.1 MB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.1391, allocations: 4.031 kB / 448.1 MB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.632e-05/0.1391, allocations: 15.92 kB / 448.2 MB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.1391, allocations: 4 kB / 448.2 MB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.1391, allocations: 0 / 448.2 MB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.1392, allocations: 0 / 448.2 MB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1392, allocations: 0 / 448.2 MB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002239/0.1394, allocations: 214 kB / 448.4 MB, free: 7.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.157e-05/0.1394, allocations: 89 kB / 448.5 MB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.215e-05/0.1395, allocations: 8 kB / 448.5 MB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.869e-05/0.1396, allocations: 0 / 448.5 MB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.786e-05/0.1396, allocations: 11.92 kB / 448.5 MB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.1396, allocations: 4 kB / 448.5 MB, free: 7.211 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001185/0.1398, allocations: 156.9 kB / 448.6 MB, free: 7.059 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1398, allocations: 0 / 448.6 MB, free: 7.059 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002622/0.14, allocations: 23.91 kB / 448.7 MB, free: 7.035 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.001019/0.1411, allocations: 457.1 kB / 449.1 MB, free: 6.621 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001767/0.1413, allocations: 67.84 kB / 449.2 MB, free: 6.555 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1413, allocations: 4.062 kB / 449.2 MB, free: 6.551 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.023e-05/0.1413, allocations: 24.14 kB / 449.2 MB, free: 6.527 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.1416, allocations: 32.08 kB / 449.2 MB, free: 6.496 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000462/0.1421, allocations: 254.4 kB / 449.5 MB, free: 6.211 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002646/0.1424, allocations: 0.7082 MB / 450.2 MB, free: 5.477 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.189e-05/0.1424, allocations: 8.891 kB / 450.2 MB, free: 5.469 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.872e-05/0.1425, allocations: 19.42 kB / 450.2 MB, free: 5.449 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1425, allocations: 4 kB / 450.2 MB, free: 5.445 MB / 382.1 MB Notification: Performance of Templates: time 0.004375/0.1469, allocations: 1.588 MB / 451.8 MB, free: 3.859 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches