Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 88.2 kB / 20.94 MB, free: 3.598 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 165 kB / 24.24 MB, free: 308 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9933/0.9933, allocations: 158.6 MB / 186 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2106/0.2106, allocations: 32.37 MB / 270.7 MB, free: 14.78 MB / 266.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.687e-06/3.687e-06, allocations: 0 / 347.7 MB, free: 9.707 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.483e-05/4.852e-05, allocations: 9.344 kB / 347.8 MB, free: 9.699 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.006658/0.006707, allocations: 1.73 MB / 349.5 MB, free: 7.957 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004629/0.01134, allocations: 0.7881 MB / 350.3 MB, free: 7.16 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001253/0.01146, allocations: 0 / 350.3 MB, free: 7.16 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004738/0.01194, allocations: 43.7 kB / 350.3 MB, free: 7.117 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003086/0.01224, allocations: 51.75 kB / 350.4 MB, free: 7.066 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003282/0.01257, allocations: 91.7 kB / 350.5 MB, free: 6.977 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003266/0.01584, allocations: 99.62 kB / 350.5 MB, free: 6.879 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.01598, allocations: 12.22 kB / 350.6 MB, free: 6.867 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.0161, allocations: 43.84 kB / 350.6 MB, free: 6.824 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.01622, allocations: 31.89 kB / 350.6 MB, free: 6.793 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.125e-05/0.01625, allocations: 4 kB / 350.6 MB, free: 6.789 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001392/0.01639, allocations: 39.92 kB / 350.7 MB, free: 6.75 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.189e-05/0.01646, allocations: 27.92 kB / 350.7 MB, free: 6.723 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.31e-05/0.01651, allocations: 15.94 kB / 350.7 MB, free: 6.707 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002678/0.01678, allocations: 99.53 kB / 350.8 MB, free: 6.609 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.01679, allocations: 0 / 350.8 MB, free: 6.609 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.01679, allocations: 4 kB / 350.8 MB, free: 6.605 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.0168, allocations: 4 kB / 350.8 MB, free: 6.602 MB / 282.7 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.0006014/0.0174, allocations: 443.9 kB / 351.3 MB, free: 6.133 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/0.01745, allocations: 8.031 kB / 351.3 MB, free: 6.125 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.853e-05/0.01752, allocations: 12.89 kB / 351.3 MB, free: 6.113 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002338/0.01776, allocations: 144.4 kB / 351.4 MB, free: 5.945 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.808e-05/0.01778, allocations: 8.312 kB / 351.4 MB, free: 5.938 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.699e-05/0.01781, allocations: 4.328 kB / 351.4 MB, free: 5.934 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.018, allocations: 62.94 kB / 351.5 MB, free: 5.863 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.01801, allocations: 3.938 kB / 351.5 MB, free: 5.859 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.01803, allocations: 4 kB / 351.5 MB, free: 5.855 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.488e-05/0.01804, allocations: 4 kB / 351.5 MB, free: 5.852 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.07e-05/0.01809, allocations: 11.98 kB / 351.5 MB, free: 5.84 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004087/0.0185, allocations: 279.8 kB / 351.8 MB, free: 5.531 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003173/0.02167, allocations: 55.11 kB / 351.8 MB, free: 5.465 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.108e-05/0.02171, allocations: 19.62 kB / 351.9 MB, free: 5.441 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.02173, allocations: 0 / 351.9 MB, free: 5.441 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000149/0.02188, allocations: 69.03 kB / 351.9 MB, free: 5.359 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 2.955e-06/0.02188, allocations: 4 kB / 351.9 MB, free: 5.355 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005363/0.02242, allocations: 157.3 kB / 352.1 MB, free: 5.195 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.02246, allocations: 55.41 kB / 352.1 MB, free: 5.129 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.0226, allocations: 224 kB / 352.4 MB, free: 4.895 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.02261, allocations: 29.7 kB / 352.4 MB, free: 4.859 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.124e-05/0.02266, allocations: 146.9 kB / 352.5 MB, free: 4.711 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.331e-05/0.02271, allocations: 31.73 kB / 352.6 MB, free: 4.68 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.855e-05/0.02276, allocations: 35.31 kB / 352.6 MB, free: 4.637 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.936e-05/0.02283, allocations: 0.4923 MB / 353.1 MB, free: 4.133 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.963e-05/0.02287, allocations: 16.36 kB / 353.1 MB, free: 4.117 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.518e-05/0.02291, allocations: 31.38 kB / 353.1 MB, free: 4.078 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.097e-05/0.02299, allocations: 55.3 kB / 353.2 MB, free: 4.016 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.02299, allocations: 4 kB / 353.2 MB, free: 4.012 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001452/0.02314, allocations: 85.58 kB / 353.3 MB, free: 3.922 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.02316, allocations: 4 kB / 353.3 MB, free: 3.918 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.02317, allocations: 3.984 kB / 353.3 MB, free: 3.914 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.02319, allocations: 4 kB / 353.3 MB, free: 3.91 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.0233, allocations: 19.92 kB / 353.3 MB, free: 3.891 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.02331, allocations: 0 / 353.3 MB, free: 3.891 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.43e-05/0.02335, allocations: 12.03 kB / 353.3 MB, free: 3.879 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.375e-06/0.02336, allocations: 0 / 353.3 MB, free: 3.879 MB / 282.7 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 8.509e-05/0.02345, allocations: 160.5 kB / 353.5 MB, free: 3.711 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.833e-05/0.02348, allocations: 23.89 kB / 353.5 MB, free: 3.688 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002176/0.02369, allocations: 106.5 kB / 353.6 MB, free: 3.578 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-06/0.0237, allocations: 0 / 353.6 MB, free: 3.578 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.892e-06/0.0237, allocations: 0 / 353.6 MB, free: 3.578 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.02371, allocations: 3.984 kB / 353.6 MB, free: 3.574 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003858/0.0241, allocations: 389 kB / 354 MB, free: 3.148 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.237e-06/0.0241, allocations: 0 / 354 MB, free: 3.148 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.861e-05/0.02415, allocations: 12.03 kB / 354 MB, free: 3.137 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.02415, allocations: 0 / 354 MB, free: 3.137 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.02417, allocations: 4 kB / 354 MB, free: 3.133 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.02417, allocations: 0 / 354 MB, free: 3.133 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.02417, allocations: 0 / 354 MB, free: 3.133 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003209/0.02738, allocations: 259.4 kB / 354.3 MB, free: 2.855 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.79e-05/0.02741, allocations: 15.94 kB / 354.3 MB, free: 2.84 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.084e-05/0.02744, allocations: 4 kB / 354.3 MB, free: 2.836 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.534e-05/0.02753, allocations: 0 / 354.3 MB, free: 2.836 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.285e-05/0.02758, allocations: 7.984 kB / 354.3 MB, free: 2.828 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.761e-05/0.02761, allocations: 15.94 kB / 354.3 MB, free: 2.812 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000102/0.02771, allocations: 171.9 kB / 354.5 MB, free: 2.645 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02771, allocations: 0 / 354.5 MB, free: 2.645 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002955/0.028, allocations: 23.94 kB / 354.5 MB, free: 2.621 MB / 282.7 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 (9): * Single equations (assignments): 7 * 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.001274/0.02928, allocations: 437.8 kB / 354.9 MB, free: 2.285 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002179/0.02949, allocations: 59.53 kB / 355 MB, free: 2.223 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.0295, allocations: 0 / 355 MB, free: 2.223 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.333e-05/0.02955, allocations: 27.67 kB / 355 MB, free: 2.191 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004149/0.02997, allocations: 40 kB / 355 MB, free: 2.152 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003292/0.03326, allocations: 221.6 kB / 355.3 MB, free: 1.902 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.215e-05/0.03332, allocations: 67.34 kB / 355.3 MB, free: 1.816 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.554e-05/0.0334, allocations: 16.47 kB / 355.3 MB, free: 1.801 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.789e-05/0.03345, allocations: 16.5 kB / 355.4 MB, free: 1.785 MB / 282.7 MB Notification: Performance of SimCode: time 3.126e-06/0.03346, allocations: 0 / 355.4 MB, free: 1.785 MB / 282.7 MB Notification: Performance of Templates: time 0.005919/0.03938, allocations: 1.848 MB / 357.2 MB, free: 15.96 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.000052506104112]