Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.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.001187/0.001187, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.001405/0.001405, allocations: 169 kB / 24.24 MB, free: 316 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 1.083/1.083, allocations: 158.6 MB / 186 MB, free: 2.941 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.1914/0.1914, 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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,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.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.935e-06/2.935e-06, allocations: 0 / 347.7 MB, free: 9.711 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.994e-05/5.288e-05, allocations: 12.22 kB / 347.8 MB, free: 9.699 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.003543/0.003595, allocations: 1.738 MB / 349.5 MB, free: 7.949 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001434/0.00503, allocations: 0.7804 MB / 350.3 MB, free: 7.16 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001467/0.005177, allocations: 3.938 kB / 350.3 MB, free: 7.156 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004993/0.005676, allocations: 47.75 kB / 350.3 MB, free: 7.109 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003638/0.00604, allocations: 47.77 kB / 350.4 MB, free: 7.062 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003762/0.006416, allocations: 95.62 kB / 350.5 MB, free: 6.969 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002329/0.006649, allocations: 95.69 kB / 350.6 MB, free: 6.875 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/0.006798, allocations: 8.219 kB / 350.6 MB, free: 6.867 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.006923, allocations: 55.78 kB / 350.6 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.007036, allocations: 27.91 kB / 350.6 MB, free: 6.785 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.925e-05/0.007065, allocations: 4 kB / 350.6 MB, free: 6.781 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000139/0.007204, allocations: 39.92 kB / 350.7 MB, free: 6.742 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.16e-05/0.007286, allocations: 23.92 kB / 350.7 MB, free: 6.719 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.212e-05/0.007348, allocations: 19.92 kB / 350.7 MB, free: 6.699 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002735/0.007621, allocations: 103.6 kB / 350.8 MB, free: 6.598 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.007626, allocations: 4 kB / 350.8 MB, free: 6.594 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.007628, allocations: 0 / 350.8 MB, free: 6.594 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.007636, allocations: 0 / 350.8 MB, free: 6.594 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.0005897/0.008226, allocations: 443.9 kB / 351.3 MB, free: 6.125 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.891e-05/0.008285, allocations: 8.031 kB / 351.3 MB, free: 6.117 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.294e-05/0.008368, allocations: 8.891 kB / 351.3 MB, free: 6.109 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/0.008597, allocations: 144.4 kB / 351.4 MB, free: 5.941 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.129e-05/0.008628, allocations: 4.375 kB / 351.4 MB, free: 5.938 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.526e-05/0.008663, allocations: 8.312 kB / 351.4 MB, free: 5.93 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.008857, allocations: 62.94 kB / 351.5 MB, free: 5.859 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.008873, allocations: 7.938 kB / 351.5 MB, free: 5.852 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.008888, allocations: 4 kB / 351.5 MB, free: 5.848 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.0089, allocations: 0 / 351.5 MB, free: 5.848 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.363e-05/0.008953, allocations: 15.92 kB / 351.5 MB, free: 5.832 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005018/0.009455, allocations: 279.8 kB / 351.8 MB, free: 5.523 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001597/0.009615, allocations: 47.17 kB / 351.8 MB, free: 5.465 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.608e-05/0.009661, allocations: 23.61 kB / 351.9 MB, free: 5.438 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.009682, allocations: 0 / 351.9 MB, free: 5.438 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001532/0.009835, allocations: 80.97 kB / 351.9 MB, free: 5.344 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 2.013e-06/0.009837, allocations: 0 / 351.9 MB, free: 5.344 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005644/0.0104, allocations: 153.3 kB / 352.1 MB, free: 5.188 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.01044, allocations: 51.41 kB / 352.1 MB, free: 5.125 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.01059, allocations: 228 kB / 352.4 MB, free: 4.887 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.0106, allocations: 25.7 kB / 352.4 MB, free: 4.855 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.932e-05/0.01066, allocations: 154.9 kB / 352.5 MB, free: 4.699 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.327e-05/0.0107, allocations: 27.75 kB / 352.6 MB, free: 4.672 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.854e-05/0.01073, allocations: 23.38 kB / 352.6 MB, free: 4.641 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.954e-05/0.01083, allocations: 0.5001 MB / 353.1 MB, free: 4.129 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.364e-05/0.01087, allocations: 12.36 kB / 353.1 MB, free: 4.117 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.194e-05/0.01091, allocations: 39.36 kB / 353.1 MB, free: 4.07 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.119e-05/0.01098, allocations: 51.25 kB / 353.2 MB, free: 4.012 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.01098, allocations: 4 kB / 353.2 MB, free: 4.008 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001429/0.01113, allocations: 93.55 kB / 353.3 MB, free: 3.91 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.01115, allocations: 4 kB / 353.3 MB, free: 3.906 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.637e-06/0.01116, allocations: 0 / 353.3 MB, free: 3.906 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.342e-05/0.01118, allocations: 0 / 353.3 MB, free: 3.906 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.0113, allocations: 20 kB / 353.3 MB, free: 3.887 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.0113, allocations: 4.031 kB / 353.3 MB, free: 3.883 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.849e-05/0.01134, allocations: 3.984 kB / 353.3 MB, free: 3.879 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.01135, allocations: 4 kB / 353.3 MB, free: 3.875 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.264e-05/0.01143, allocations: 164.5 kB / 353.5 MB, free: 3.703 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.094e-05/0.01145, allocations: 15.91 kB / 353.5 MB, free: 3.688 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001956/0.01165, allocations: 106.5 kB / 353.6 MB, free: 3.578 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.01166, allocations: 4 kB / 353.6 MB, free: 3.574 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/0.01166, allocations: 0 / 353.6 MB, free: 3.574 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.01167, allocations: 0 / 353.6 MB, free: 3.574 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003464/0.01201, allocations: 393 kB / 354 MB, free: 3.145 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.01202, allocations: 0 / 354 MB, free: 3.145 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.163e-05/0.01206, allocations: 11.94 kB / 354 MB, free: 3.133 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.01206, allocations: 3.984 kB / 354 MB, free: 3.129 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.01208, allocations: 11.98 kB / 354 MB, free: 3.117 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.01208, allocations: 0 / 354 MB, free: 3.117 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.01208, allocations: 0 / 354 MB, free: 3.117 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001694/0.01225, allocations: 259.4 kB / 354.3 MB, free: 2.84 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.838e-05/0.01227, allocations: 7.953 kB / 354.3 MB, free: 2.832 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.01229, allocations: 0 / 354.3 MB, free: 2.832 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.556e-05/0.01235, allocations: 8 kB / 354.3 MB, free: 2.824 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.888e-05/0.0124, allocations: 12.02 kB / 354.3 MB, free: 2.812 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.997e-05/0.01242, allocations: 7.938 kB / 354.3 MB, free: 2.805 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.204e-05/0.0125, allocations: 164 kB / 354.5 MB, free: 2.645 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.0125, allocations: 0 / 354.5 MB, free: 2.645 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002251/0.01272, allocations: 31.92 kB / 354.5 MB, free: 2.613 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.001175/0.0139, allocations: 437.3 kB / 354.9 MB, free: 2.273 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001986/0.01409, allocations: 55.53 kB / 355 MB, free: 2.215 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.0141, allocations: 0 / 355 MB, free: 2.215 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.484e-05/0.01415, allocations: 39.67 kB / 355 MB, free: 2.172 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/0.01447, allocations: 31.17 kB / 355.1 MB, free: 2.145 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005228/0.01499, allocations: 217.7 kB / 355.3 MB, free: 1.898 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.02e-05/0.01505, allocations: 71.33 kB / 355.3 MB, free: 1.809 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.251e-05/0.01511, allocations: 12.48 kB / 355.3 MB, free: 1.797 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.472e-05/0.01515, allocations: 20.48 kB / 355.4 MB, free: 1.777 MB / 282.7 MB Notification: Performance of SimCode: time 1.523e-06/0.01515, allocations: 64 / 355.4 MB, free: 1.777 MB / 282.7 MB Notification: Performance of Templates: time 0.005182/0.02034, allocations: 1.845 MB / 357.2 MB, free: 15.95 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.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: 3.617117192130536]