Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.001125/0.001125, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001126/0.001126, allocations: 163.3 kB / 24.99 MB, free: 8.746 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.017/1.017, allocations: 177.1 MB / 205.3 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2746/0.2746, allocations: 32.8 MB / 294.6 MB, free: 1.285 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 376.1 MB, free: 4.918 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.295e-05/2.452e-05, allocations: 2.312 kB / 376.1 MB, free: 4.914 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003172/0.003196, allocations: 1.965 MB / 378 MB, free: 2.934 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001449/0.004646, allocations: 1.029 MB / 379.1 MB, free: 1.898 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.004764, allocations: 7.938 kB / 379.1 MB, free: 1.891 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003237/0.005087, allocations: 47.62 kB / 379.1 MB, free: 1.844 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000337/0.005424, allocations: 99.47 kB / 379.2 MB, free: 1.746 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002319/0.005656, allocations: 99.58 kB / 379.3 MB, free: 1.648 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002005/0.005857, allocations: 155.5 kB / 379.5 MB, free: 1.496 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.005972, allocations: 21.78 kB / 379.5 MB, free: 1.477 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.655e-05/0.006069, allocations: 67.77 kB / 379.6 MB, free: 1.41 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.773e-05/0.006156, allocations: 43.88 kB / 379.6 MB, free: 1.367 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.006175, allocations: 8 kB / 379.6 MB, free: 1.359 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.518e-05/0.00626, allocations: 47.92 kB / 379.7 MB, free: 1.312 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.615e-05/0.006316, allocations: 27.84 kB / 379.7 MB, free: 1.285 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.835e-05/0.006364, allocations: 31.86 kB / 379.7 MB, free: 1.254 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002104/0.006575, allocations: 127.4 kB / 379.8 MB, free: 1.129 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.006577, allocations: 4 kB / 379.8 MB, free: 1.125 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.006578, allocations: 0 / 379.8 MB, free: 1.125 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.006583, allocations: 4 kB / 379.8 MB, free: 1.121 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005578/0.007141, allocations: 0.4936 MB / 380.3 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.007178, allocations: 15.97 kB / 380.4 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.756e-05/0.007236, allocations: 20.8 kB / 380.4 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/0.007435, allocations: 173.1 kB / 380.5 MB, free: 360 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.43e-05/0.00746, allocations: 8.375 kB / 380.6 MB, free: 352 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.257e-05/0.007482, allocations: 4.375 kB / 380.6 MB, free: 348 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/0.007678, allocations: 147.6 kB / 380.7 MB, free: 172 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.007687, allocations: 7.938 kB / 380.7 MB, free: 164 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.007698, allocations: 0 / 380.7 MB, free: 164 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.007708, allocations: 4 kB / 380.7 MB, free: 160 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.697e-05/0.007765, allocations: 27.98 kB / 380.7 MB, free: 132 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005783/0.008344, allocations: 0.5834 MB / 381.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002312/0.008575, allocations: 71 kB / 381.4 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.609e-05/0.008621, allocations: 27.67 kB / 381.4 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.008639, allocations: 4 kB / 381.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001612/0.0088, allocations: 106.7 kB / 381.5 MB, free: 15.26 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.784e-06/0.008802, allocations: 3.938 kB / 381.5 MB, free: 15.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002384/0.00904, allocations: 109.5 kB / 381.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.009076, allocations: 55.41 kB / 381.7 MB, free: 15.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/0.009234, allocations: 247.1 kB / 381.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.00925, allocations: 25.7 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.142e-05/0.009332, allocations: 166.8 kB / 382.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.348e-05/0.009355, allocations: 31.73 kB / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-05/0.009394, allocations: 35.31 kB / 382.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.009532, allocations: 0.5079 MB / 382.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.156e-05/0.009564, allocations: 11.98 kB / 382.7 MB, free: 14.01 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.311e-05/0.009617, allocations: 65.3 kB / 382.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.512e-05/0.009702, allocations: 82.36 kB / 382.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.009705, allocations: 0 / 382.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001511/0.009856, allocations: 121.5 kB / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.009872, allocations: 4 kB / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.009878, allocations: 4 kB / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.009891, allocations: 0 / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.568e-05/0.009957, allocations: 23.94 kB / 383 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.009964, allocations: 3.984 kB / 383 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.629e-05/0.01, allocations: 7.938 kB / 383 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.01001, allocations: 8 kB / 383 MB, free: 13.65 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.752e-05/0.0101, allocations: 168.5 kB / 383.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.919e-05/0.01011, allocations: 15.91 kB / 383.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001424/0.01026, allocations: 107.2 kB / 383.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.01026, allocations: 0 / 383.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.01026, allocations: 7.938 kB / 383.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.01027, allocations: 3.984 kB / 383.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001162/0.01039, allocations: 164.5 kB / 383.5 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.01039, allocations: 0 / 383.5 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.859e-05/0.01043, allocations: 15.98 kB / 383.5 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.01044, allocations: 0 / 383.5 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.01045, allocations: 4 kB / 383.5 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.01045, allocations: 0 / 383.5 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01045, allocations: 8 kB / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001815/0.01063, allocations: 160.7 kB / 383.7 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.643e-05/0.01065, allocations: 19.84 kB / 383.7 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.01067, allocations: 0 / 383.7 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.391e-05/0.0107, allocations: 11.98 kB / 383.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.884e-05/0.01074, allocations: 7.984 kB / 383.7 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.01075, allocations: 0 / 383.7 MB, free: 12.9 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.798e-05/0.01084, allocations: 175.1 kB / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01084, allocations: 0 / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001666/0.011, allocations: 24 kB / 383.9 MB, free: 12.71 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0008139/0.01182, allocations: 401.7 kB / 384.3 MB, free: 12.45 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001383/0.01196, allocations: 55.78 kB / 384.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.01196, allocations: 8.062 kB / 384.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.728e-05/0.01201, allocations: 35.61 kB / 384.4 MB, free: 12.34 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/0.01224, allocations: 46.3 kB / 384.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004604/0.0127, allocations: 246 kB / 384.7 MB, free: 12.04 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.872e-05/0.01275, allocations: 71.83 kB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.03e-05/0.0128, allocations: 17.48 kB / 384.8 MB, free: 11.93 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.463e-05/0.01283, allocations: 20.5 kB / 384.8 MB, free: 11.91 MB / 362.7 MB Notification: Performance of SimCode: time 1.223e-06/0.01283, allocations: 0 / 384.8 MB, free: 11.91 MB / 362.7 MB Notification: Performance of Templates: time 0.003954/0.01679, allocations: 2.07 MB / 386.8 MB, free: 9.867 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.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.1686768690124154]