Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.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.001471/0.001471, allocations: 88.23 kB / 20.2 MB, free: 4.23 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.001581/0.001581, allocations: 157.7 kB / 23.51 MB, free: 0.9258 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.593/1.593, allocations: 158.6 MB / 185.3 MB, free: 2.887 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.296/0.296, allocations: 32.36 MB / 270 MB, free: 14.79 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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 347 MB, free: 9.746 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.834e-05/2.987e-05, allocations: 2.312 kB / 347 MB, free: 9.742 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.002865/0.002895, allocations: 1.695 MB / 348.7 MB, free: 8.035 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001358/0.004252, allocations: 0.7688 MB / 349.5 MB, free: 7.258 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.685e-05/0.004349, allocations: 7.938 kB / 349.5 MB, free: 7.25 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004079/0.004757, allocations: 31.78 kB / 349.5 MB, free: 7.219 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003049/0.005062, allocations: 63.69 kB / 349.6 MB, free: 7.156 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003143/0.005376, allocations: 83.7 kB / 349.7 MB, free: 7.074 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002192/0.005595, allocations: 103.6 kB / 349.8 MB, free: 6.973 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.005741, allocations: 8.219 kB / 349.8 MB, free: 6.965 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001703/0.005912, allocations: 47.84 kB / 349.8 MB, free: 6.918 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.006047, allocations: 23.91 kB / 349.8 MB, free: 6.895 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.882e-05/0.006076, allocations: 4 kB / 349.8 MB, free: 6.891 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001308/0.006207, allocations: 47.86 kB / 349.9 MB, free: 6.844 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.42e-05/0.006281, allocations: 23.91 kB / 349.9 MB, free: 6.82 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.104e-05/0.006352, allocations: 15.94 kB / 349.9 MB, free: 6.805 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002447/0.006596, allocations: 115.6 kB / 350 MB, free: 6.691 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.0066, allocations: 0 / 350 MB, free: 6.691 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.006601, allocations: 0 / 350 MB, free: 6.691 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.006607, allocations: 0 / 350 MB, free: 6.691 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.0006127/0.007219, allocations: 333.6 kB / 350.4 MB, free: 6.336 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.413e-05/0.007283, allocations: 8.031 kB / 350.4 MB, free: 6.328 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.684e-05/0.00736, allocations: 16.84 kB / 350.4 MB, free: 6.312 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00026/0.00762, allocations: 151.1 kB / 350.5 MB, free: 6.141 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.007642, allocations: 384 / 350.5 MB, free: 6.141 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.85e-05/0.00768, allocations: 8.359 kB / 350.5 MB, free: 6.133 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002226/0.007903, allocations: 58.23 kB / 350.6 MB, free: 6.07 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.865e-05/0.007931, allocations: 7.922 kB / 350.6 MB, free: 6.062 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.007947, allocations: 0 / 350.6 MB, free: 6.062 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.007953, allocations: 0 / 350.6 MB, free: 6.062 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001/0.008053, allocations: 19.98 kB / 350.6 MB, free: 6.043 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004686/0.008522, allocations: 240.5 kB / 350.9 MB, free: 5.777 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001972/0.008719, allocations: 46.69 kB / 350.9 MB, free: 5.723 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.017e-05/0.008789, allocations: 28.78 kB / 350.9 MB, free: 5.691 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.056e-05/0.00882, allocations: 0 / 350.9 MB, free: 5.691 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001717/0.008992, allocations: 71.39 kB / 351 MB, free: 5.609 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.008993, allocations: 3.938 kB / 351 MB, free: 5.605 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000649/0.009642, allocations: 177.4 kB / 351.2 MB, free: 5.426 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.009681, allocations: 55.34 kB / 351.2 MB, free: 5.359 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.009841, allocations: 178.2 kB / 351.4 MB, free: 5.176 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.009855, allocations: 25.7 kB / 351.4 MB, free: 5.145 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.172e-05/0.009906, allocations: 108.1 kB / 351.5 MB, free: 5.035 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.883e-05/0.009935, allocations: 23.8 kB / 351.6 MB, free: 5.012 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.789e-05/0.009973, allocations: 21.7 kB / 351.6 MB, free: 4.984 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.251e-05/0.01003, allocations: 326.8 kB / 351.9 MB, free: 4.656 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.436e-05/0.01008, allocations: 20.38 kB / 351.9 MB, free: 4.637 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.932e-05/0.01014, allocations: 37.7 kB / 352 MB, free: 4.594 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.01024, allocations: 65.58 kB / 352 MB, free: 4.523 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.01024, allocations: 8 kB / 352 MB, free: 4.516 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001671/0.01041, allocations: 105.6 kB / 352.1 MB, free: 4.406 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.01042, allocations: 4 kB / 352.1 MB, free: 4.402 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.01043, allocations: 0 / 352.1 MB, free: 4.402 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.502e-05/0.01047, allocations: 7.938 kB / 352.1 MB, free: 4.395 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.408e-05/0.01056, allocations: 23.95 kB / 352.2 MB, free: 4.371 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.01057, allocations: 0 / 352.2 MB, free: 4.371 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.789e-05/0.01061, allocations: 4 kB / 352.2 MB, free: 4.367 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.01062, allocations: 4 kB / 352.2 MB, free: 4.363 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 6.558e-05/0.01069, allocations: 126.8 kB / 352.3 MB, free: 4.23 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.278e-05/0.01073, allocations: 15.91 kB / 352.3 MB, free: 4.215 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002291/0.01096, allocations: 122.5 kB / 352.4 MB, free: 4.09 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.01096, allocations: 0 / 352.4 MB, free: 4.09 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.01097, allocations: 4 kB / 352.4 MB, free: 4.086 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.01097, allocations: 4 kB / 352.4 MB, free: 4.082 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003501/0.01132, allocations: 346.9 kB / 352.8 MB, free: 3.703 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.01132, allocations: 0 / 352.8 MB, free: 3.703 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.749e-05/0.01136, allocations: 8 kB / 352.8 MB, free: 3.695 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.01136, allocations: 0 / 352.8 MB, free: 3.695 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.01137, allocations: 8 kB / 352.8 MB, free: 3.688 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.01137, allocations: 0 / 352.8 MB, free: 3.688 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.01138, allocations: 3.938 kB / 352.8 MB, free: 3.684 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002013/0.01158, allocations: 216.2 kB / 353 MB, free: 3.453 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.676e-05/0.01159, allocations: 7.953 kB / 353 MB, free: 3.445 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.692e-05/0.01162, allocations: 11.97 kB / 353 MB, free: 3.434 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.537e-05/0.01172, allocations: 4 kB / 353 MB, free: 3.43 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.835e-05/0.01176, allocations: 7.984 kB / 353 MB, free: 3.422 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.01178, allocations: 4 kB / 353 MB, free: 3.418 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.43e-05/0.01186, allocations: 139.2 kB / 353.2 MB, free: 3.281 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01186, allocations: 0 / 353.2 MB, free: 3.281 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002679/0.01213, allocations: 27.94 kB / 353.2 MB, free: 3.254 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.002107/0.01424, allocations: 499.1 kB / 353.7 MB, free: 2.871 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001781/0.01442, allocations: 63.91 kB / 353.8 MB, free: 2.809 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01442, allocations: 0 / 353.8 MB, free: 2.809 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.968e-05/0.01449, allocations: 31.92 kB / 353.8 MB, free: 2.777 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003835/0.01487, allocations: 39.61 kB / 353.8 MB, free: 2.742 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005171/0.01539, allocations: 221.2 kB / 354 MB, free: 2.496 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.643e-05/0.01547, allocations: 85.44 kB / 354.1 MB, free: 2.391 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.205e-05/0.01553, allocations: 16.78 kB / 354.1 MB, free: 2.375 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.552e-05/0.01559, allocations: 20.5 kB / 354.2 MB, free: 2.355 MB / 282.7 MB Notification: Performance of SimCode: time 7.81e-07/0.01559, allocations: 0 / 354.2 MB, free: 2.355 MB / 282.7 MB Notification: Performance of Templates: time 0.005475/0.02107, allocations: 1.829 MB / 356 MB, free: 0.5391 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.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.077784857945517]