Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.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.00167/0.00167, allocations: 88.23 kB / 20.21 MB, free: 4.223 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.001921/0.001921, allocations: 157.7 kB / 23.51 MB, free: 0.918 MB / 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.641/1.641, allocations: 158.6 MB / 185.3 MB, free: 2.891 MB / 170.7 MB " [Timeout remaining time 178] 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.2333/0.2333, allocations: 32.37 MB / 270 MB, free: 14.86 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.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 347 MB, free: 9.723 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.181e-05/3.402e-05, allocations: 6.25 kB / 347 MB, free: 9.715 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.003867/0.003901, allocations: 1.684 MB / 348.7 MB, free: 8.02 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001799/0.0057, allocations: 0.7727 MB / 349.5 MB, free: 7.238 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.005805, allocations: 0 / 349.5 MB, free: 7.238 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004238/0.006229, allocations: 55.7 kB / 349.5 MB, free: 7.184 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003332/0.006562, allocations: 59.69 kB / 349.6 MB, free: 7.125 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003562/0.006918, allocations: 83.7 kB / 349.7 MB, free: 7.043 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002091/0.007127, allocations: 99.62 kB / 349.8 MB, free: 6.945 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.007236, allocations: 4.234 kB / 349.8 MB, free: 6.941 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001394/0.007376, allocations: 55.83 kB / 349.8 MB, free: 6.887 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.672e-05/0.007472, allocations: 23.91 kB / 349.8 MB, free: 6.863 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.392e-05/0.007506, allocations: 4 kB / 349.9 MB, free: 6.859 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.007632, allocations: 47.92 kB / 349.9 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.585e-05/0.007698, allocations: 23.91 kB / 349.9 MB, free: 6.789 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.051e-05/0.007769, allocations: 27.8 kB / 349.9 MB, free: 6.762 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002818/0.00805, allocations: 115.6 kB / 350.1 MB, free: 6.648 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.008055, allocations: 0 / 350.1 MB, free: 6.648 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.008056, allocations: 0 / 350.1 MB, free: 6.648 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.008062, allocations: 0 / 350.1 MB, free: 6.648 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.0006522/0.008714, allocations: 353.5 kB / 350.4 MB, free: 6.273 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.008758, allocations: 8.031 kB / 350.4 MB, free: 6.266 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.55e-05/0.008843, allocations: 16.89 kB / 350.4 MB, free: 6.25 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000317/0.00916, allocations: 161.5 kB / 350.6 MB, free: 6.066 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.009182, allocations: 384 / 350.6 MB, free: 6.066 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.286e-05/0.009215, allocations: 4.375 kB / 350.6 MB, free: 6.062 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002138/0.009429, allocations: 58.22 kB / 350.7 MB, free: 6 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.009446, allocations: 7.875 kB / 350.7 MB, free: 5.992 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.009461, allocations: 0 / 350.7 MB, free: 5.992 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.009469, allocations: 4 kB / 350.7 MB, free: 5.988 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.009576, allocations: 23.98 kB / 350.7 MB, free: 5.965 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004261/0.01, allocations: 236.5 kB / 350.9 MB, free: 5.703 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000226/0.01023, allocations: 62.61 kB / 351 MB, free: 5.633 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.486e-05/0.0103, allocations: 20.8 kB / 351 MB, free: 5.609 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.394e-05/0.01034, allocations: 0 / 351 MB, free: 5.609 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001801/0.01052, allocations: 71.38 kB / 351.1 MB, free: 5.527 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.01052, allocations: 0 / 351.1 MB, free: 5.527 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007596/0.01128, allocations: 181.3 kB / 351.2 MB, free: 5.344 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.01132, allocations: 55.41 kB / 351.3 MB, free: 5.277 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002354/0.01156, allocations: 230.8 kB / 351.5 MB, free: 5.039 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.01157, allocations: 25.7 kB / 351.5 MB, free: 5.008 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.128e-05/0.01162, allocations: 112.1 kB / 351.7 MB, free: 4.895 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.61e-05/0.01166, allocations: 27.78 kB / 351.7 MB, free: 4.867 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.369e-05/0.01171, allocations: 25.7 kB / 351.7 MB, free: 4.836 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.896e-05/0.01177, allocations: 326.8 kB / 352 MB, free: 4.508 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.289e-05/0.01185, allocations: 19.98 kB / 352 MB, free: 4.488 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.085e-05/0.01194, allocations: 37.7 kB / 352.1 MB, free: 4.445 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001634/0.01211, allocations: 65.64 kB / 352.2 MB, free: 4.375 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.01211, allocations: 0 / 352.2 MB, free: 4.375 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002798/0.01239, allocations: 105.6 kB / 352.3 MB, free: 4.266 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.0124, allocations: 8 kB / 352.3 MB, free: 4.258 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.01241, allocations: 4 kB / 352.3 MB, free: 4.254 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.43e-05/0.01244, allocations: 0 / 352.3 MB, free: 4.254 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.01256, allocations: 19.92 kB / 352.3 MB, free: 4.234 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.01257, allocations: 0 / 352.3 MB, free: 4.234 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.8e-05/0.01265, allocations: 8.375 kB / 352.3 MB, free: 4.227 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.01266, allocations: 4 kB / 352.3 MB, free: 4.223 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 9.522e-05/0.01276, allocations: 130.6 kB / 352.4 MB, free: 4.086 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.162e-05/0.0128, allocations: 19.91 kB / 352.4 MB, free: 4.066 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003291/0.01313, allocations: 131.2 kB / 352.6 MB, free: 3.93 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.01313, allocations: 8 kB / 352.6 MB, free: 3.922 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.01314, allocations: 0 / 352.6 MB, free: 3.922 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.01314, allocations: 0 / 352.6 MB, free: 3.922 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005025/0.01365, allocations: 350.9 kB / 352.9 MB, free: 3.539 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.01365, allocations: 3.984 kB / 352.9 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.813e-05/0.01371, allocations: 8 kB / 352.9 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.01371, allocations: 0 / 352.9 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.01372, allocations: 8 kB / 352.9 MB, free: 3.52 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.01373, allocations: 0 / 352.9 MB, free: 3.52 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.01373, allocations: 4.031 kB / 352.9 MB, free: 3.516 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002956/0.01402, allocations: 224.2 kB / 353.2 MB, free: 3.277 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.596e-05/0.01405, allocations: 11.91 kB / 353.2 MB, free: 3.266 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.68e-05/0.01409, allocations: 7.984 kB / 353.2 MB, free: 3.258 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.01422, allocations: 4 kB / 353.2 MB, free: 3.254 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.571e-05/0.01427, allocations: 7.922 kB / 353.2 MB, free: 3.246 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.087e-05/0.01429, allocations: 4 kB / 353.2 MB, free: 3.242 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001668/0.01446, allocations: 180.2 kB / 353.4 MB, free: 3.066 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01446, allocations: 0 / 353.4 MB, free: 3.066 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004766/0.01494, allocations: 27.94 kB / 353.4 MB, free: 3.039 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.003046/0.01798, allocations: 0.4942 MB / 353.9 MB, free: 2.66 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000222/0.0182, allocations: 55.91 kB / 354 MB, free: 2.605 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.01821, allocations: 64 / 354 MB, free: 2.605 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.994e-05/0.0183, allocations: 35.98 kB / 354 MB, free: 2.57 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005567/0.01885, allocations: 33.59 kB / 354 MB, free: 2.539 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006468/0.0195, allocations: 260.9 kB / 354.3 MB, free: 2.258 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.09e-05/0.01959, allocations: 104.7 kB / 354.4 MB, free: 2.133 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.569e-05/0.01966, allocations: 20.86 kB / 354.4 MB, free: 2.113 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.11e-05/0.01971, allocations: 20.48 kB / 354.4 MB, free: 2.094 MB / 282.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01971, allocations: 0 / 354.4 MB, free: 2.094 MB / 282.7 MB Notification: Performance of Templates: time 0.006552/0.02626, allocations: 1.848 MB / 356.3 MB, free: 264 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.058685911935754]