Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001042/0.001042, 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.00284/0.00284, allocations: 165 kB / 24.99 MB, free: 8.789 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.044/1.044, allocations: 177.1 MB / 205.3 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3152/0.3152, allocations: 34.27 MB / 296 MB, free: 0.7695 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_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_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 378.1 MB, free: 2.883 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.516e-05/2.72e-05, allocations: 2.312 kB / 378.1 MB, free: 2.879 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.00314/0.003168, allocations: 1.766 MB / 379.9 MB, free: 1.098 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00165/0.004818, allocations: 0.9971 MB / 380.9 MB, free: 100 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.004918, allocations: 4 kB / 380.9 MB, free: 96 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003258/0.005244, allocations: 51.62 kB / 380.9 MB, free: 44 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003712/0.005616, allocations: 95.53 kB / 381 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002658/0.005881, allocations: 79.61 kB / 381.1 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002144/0.006096, allocations: 111.6 kB / 381.2 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.006213, allocations: 11.98 kB / 381.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.006326, allocations: 43.84 kB / 381.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.507e-05/0.006421, allocations: 27.91 kB / 381.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.006441, allocations: 4 kB / 381.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.006554, allocations: 43.92 kB / 381.3 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.846e-05/0.006632, allocations: 31.91 kB / 381.4 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.704e-05/0.006689, allocations: 19.92 kB / 381.4 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002442/0.006933, allocations: 107.5 kB / 381.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.006937, allocations: 0 / 381.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.006939, allocations: 0 / 381.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.006944, allocations: 0 / 381.5 MB, free: 15.48 MB / 362.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.0005585/0.007503, allocations: 443.9 kB / 381.9 MB, free: 15.01 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.007555, allocations: 12.03 kB / 381.9 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.216e-05/0.007617, allocations: 12.84 kB / 381.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002315/0.007848, allocations: 153.1 kB / 382.1 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.007871, allocations: 12.38 kB / 382.1 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/0.007895, allocations: 4.312 kB / 382.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.008061, allocations: 62.94 kB / 382.2 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.008075, allocations: 3.938 kB / 382.2 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.008086, allocations: 0 / 382.2 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.008096, allocations: 4 kB / 382.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.457e-05/0.008141, allocations: 7.984 kB / 382.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000544/0.008685, allocations: 287.8 kB / 382.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/0.008828, allocations: 51.11 kB / 382.5 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.032e-05/0.008868, allocations: 31.61 kB / 382.6 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.008882, allocations: 0 / 382.6 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001346/0.009017, allocations: 69.05 kB / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.633e-06/0.009018, allocations: 0 / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004668/0.009485, allocations: 153.6 kB / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.009529, allocations: 55.41 kB / 382.8 MB, free: 13.99 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.009707, allocations: 238.3 kB / 383.1 MB, free: 13.74 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.009723, allocations: 29.64 kB / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.111e-05/0.009794, allocations: 154.9 kB / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.484e-05/0.009829, allocations: 27.78 kB / 383.3 MB, free: 13.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.714e-05/0.009876, allocations: 35.36 kB / 383.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.01001, allocations: 0.4923 MB / 383.8 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.929e-05/0.01005, allocations: 19.94 kB / 383.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.479e-05/0.0101, allocations: 27.36 kB / 383.8 MB, free: 12.92 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.149e-05/0.01018, allocations: 63.36 kB / 383.9 MB, free: 12.85 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.01018, allocations: 0 / 383.9 MB, free: 12.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001507/0.01033, allocations: 89.53 kB / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.01035, allocations: 4 kB / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.01035, allocations: 4.031 kB / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.01037, allocations: 0 / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.879e-05/0.01047, allocations: 19.98 kB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.01047, allocations: 0 / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.181e-05/0.01051, allocations: 3.938 kB / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-06/0.01052, allocations: 8 kB / 384 MB, free: 12.71 MB / 362.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 0.0001046/0.01063, allocations: 160.5 kB / 384.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.696e-05/0.01065, allocations: 15.95 kB / 384.2 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001992/0.01085, allocations: 107.1 kB / 384.3 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.01086, allocations: 0 / 384.3 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.01086, allocations: 4 kB / 384.3 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.01087, allocations: 0 / 384.3 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004156/0.01128, allocations: 396.9 kB / 384.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.01128, allocations: 0 / 384.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.218e-05/0.01135, allocations: 8 kB / 384.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.01135, allocations: 4 kB / 384.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.01136, allocations: 0 / 384.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.01136, allocations: 0 / 384.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.01136, allocations: 4 kB / 384.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002031/0.01157, allocations: 259.4 kB / 385 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.947e-05/0.01159, allocations: 19.92 kB / 385 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/0.01161, allocations: 0 / 385 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.081e-05/0.01168, allocations: 4 kB / 385 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.162e-05/0.01172, allocations: 7.984 kB / 385 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/0.01174, allocations: 4 kB / 385 MB, free: 11.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001085/0.01185, allocations: 176 kB / 385.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01185, allocations: 0 / 385.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002685/0.01212, allocations: 27.92 kB / 385.2 MB, free: 11.46 MB / 362.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.001208/0.01333, allocations: 440.2 kB / 385.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001534/0.01348, allocations: 55.61 kB / 385.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01348, allocations: 0 / 385.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.69e-05/0.01354, allocations: 35.66 kB / 385.7 MB, free: 11.08 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.01389, allocations: 33.34 kB / 385.7 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004463/0.01434, allocations: 217.9 kB / 386 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.349e-05/0.01439, allocations: 71.33 kB / 386 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.882e-05/0.01444, allocations: 13.11 kB / 386 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.236e-05/0.01448, allocations: 20.48 kB / 386.1 MB, free: 10.68 MB / 362.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01448, allocations: 0 / 386.1 MB, free: 10.68 MB / 362.7 MB Notification: Performance of Templates: time 0.005274/0.01976, allocations: 1.865 MB / 387.9 MB, free: 8.84 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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: 3.318156025838107]