Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001225, 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.001398/0.001398, 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.456/1.456, allocations: 222.9 MB / 241.8 MB, free: 15.51 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.2199/0.2199, allocations: 44.18 MB / 336.1 MB, free: 3.023 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 68.05 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1286, allocations: 60.83 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003243/0.1319, allocations: 1.761 MB / 470.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001408/0.1333, allocations: 0.8693 MB / 471.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.608e-05/0.1334, allocations: 3.938 kB / 471.2 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003305/0.1337, allocations: 87.77 kB / 471.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001702/0.1339, allocations: 59.8 kB / 471.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002648/0.1342, allocations: 107.2 kB / 471.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001542/0.1344, allocations: 111.6 kB / 471.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.779e-05/0.1345, allocations: 15.98 kB / 471.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.28e-05/0.1345, allocations: 47.77 kB / 471.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.717e-05/0.1347, allocations: 55.77 kB / 471.7 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.1347, allocations: 4 kB / 471.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.1348, allocations: 51.97 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.831e-05/0.1349, allocations: 27.91 kB / 471.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.634e-05/0.1349, allocations: 43.69 kB / 471.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001901/0.1351, allocations: 119.9 kB / 471.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.1351, allocations: 4 kB / 471.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.1351, allocations: 0 / 471.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.748e-06/0.1351, allocations: 3.938 kB / 471.9 MB, free: 11.47 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005465/0.1357, allocations: 427 kB / 472.3 MB, free: 11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.1358, allocations: 8.031 kB / 472.3 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.948e-05/0.1358, allocations: 12.84 kB / 472.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002362/0.136, allocations: 212 kB / 472.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.1361, allocations: 4.375 kB / 472.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.1361, allocations: 16.06 kB / 472.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.1363, allocations: 65.64 kB / 472.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.1363, allocations: 0 / 472.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.1363, allocations: 0 / 472.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.1363, allocations: 0 / 472.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.812e-05/0.1364, allocations: 19.98 kB / 472.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003922/0.1368, allocations: 304.7 kB / 472.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002689/0.1371, allocations: 74.47 kB / 473 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.055e-05/0.1372, allocations: 20.98 kB / 473 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.1372, allocations: 3.984 kB / 473 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002245/0.1374, allocations: 71.45 kB / 473.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/0.1374, allocations: 4 kB / 473.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007774/0.1382, allocations: 233 kB / 473.3 MB, free: 9.852 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.1383, allocations: 67.27 kB / 473.4 MB, free: 9.773 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002077/0.1385, allocations: 211.5 kB / 473.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.1385, allocations: 25.7 kB / 473.6 MB, free: 9.523 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.371e-05/0.1386, allocations: 108.1 kB / 473.7 MB, free: 9.414 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.272e-05/0.1386, allocations: 35.53 kB / 473.8 MB, free: 9.379 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.394e-05/0.1387, allocations: 29.72 kB / 473.8 MB, free: 9.344 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.1388, allocations: 326.8 kB / 474.1 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.993e-05/0.1389, allocations: 27.98 kB / 474.2 MB, free: 8.988 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.093e-05/0.139, allocations: 49.64 kB / 474.2 MB, free: 8.934 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.1391, allocations: 73.7 kB / 474.3 MB, free: 8.855 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1391, allocations: 3.938 kB / 474.3 MB, free: 8.852 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002265/0.1394, allocations: 133.4 kB / 474.4 MB, free: 8.715 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.1394, allocations: 8 kB / 474.4 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.1394, allocations: 0 / 474.4 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.1394, allocations: 0 / 474.4 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.417e-05/0.1395, allocations: 27.92 kB / 474.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.1395, allocations: 3.938 kB / 474.5 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.488e-05/0.1396, allocations: 0 / 474.5 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.1396, allocations: 4 kB / 474.5 MB, free: 8.672 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 (13): * Single equations (assignments): 13 * 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.0001236/0.1397, allocations: 130.4 kB / 474.6 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.559e-05/0.1398, allocations: 19.84 kB / 474.6 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.082e-05/0.1398, allocations: 21.39 kB / 474.6 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.238e-05/0.1399, allocations: 4 kB / 474.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.1399, allocations: 3.938 kB / 474.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1399, allocations: 0 / 474.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005209/0.1404, allocations: 444 kB / 475.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1404, allocations: 4.062 kB / 475.1 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.567e-05/0.1405, allocations: 15.98 kB / 475.1 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.1405, allocations: 4 kB / 475.1 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.1405, allocations: 7.938 kB / 475.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1405, allocations: 4 kB / 475.1 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1405, allocations: 0 / 475.1 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002676/0.1408, allocations: 240.9 kB / 475.3 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.411e-05/0.1409, allocations: 85.02 kB / 475.4 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.833e-05/0.1409, allocations: 8 kB / 475.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.111e-05/0.141, allocations: 0 / 475.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.549e-05/0.141, allocations: 11.92 kB / 475.4 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.141, allocations: 4 kB / 475.4 MB, free: 7.574 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001337/0.1412, allocations: 167.2 kB / 475.6 MB, free: 7.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1412, allocations: 0 / 475.6 MB, free: 7.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002707/0.1415, allocations: 28 kB / 475.6 MB, free: 7.383 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001147/0.1426, allocations: 0.5073 MB / 476.1 MB, free: 7.078 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002124/0.1428, allocations: 87.78 kB / 476.2 MB, free: 6.992 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.1429, allocations: 0 / 476.2 MB, free: 6.992 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.339e-05/0.1429, allocations: 43.92 kB / 476.3 MB, free: 6.949 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003365/0.1433, allocations: 31.91 kB / 476.3 MB, free: 6.918 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004833/0.1438, allocations: 306 kB / 476.6 MB, free: 6.586 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.1441, allocations: 0.7197 MB / 477.3 MB, free: 5.84 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.613e-05/0.1442, allocations: 20.62 kB / 477.3 MB, free: 5.82 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.253e-05/0.1442, allocations: 19.44 kB / 477.4 MB, free: 5.801 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.1442, allocations: 0 / 477.4 MB, free: 5.801 MB / 350.1 MB Notification: Performance of Templates: time 0.00482/0.149, allocations: 1.885 MB / 479.2 MB, free: 3.93 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches