Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001156/0.001156, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.0009699/0.0009699, allocations: 161 kB / 24.56 MB, free: 16 kB / 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 0.9918/0.9918, allocations: 177.1 MB / 205 MB, free: 5.598 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.2614/0.2614, allocations: 32.81 MB / 294.3 MB, free: 1.203 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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 3.938 kB / 376.1 MB, free: 4.559 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.205e-05/3.379e-05, allocations: 6.25 kB / 376.1 MB, free: 4.551 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.005843/0.005876, allocations: 1.761 MB / 377.9 MB, free: 2.777 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001323/0.0072, allocations: 1.009 MB / 378.9 MB, free: 1.762 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.873e-05/0.007278, allocations: 3.938 kB / 378.9 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003183/0.007597, allocations: 39.77 kB / 378.9 MB, free: 1.719 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003258/0.007922, allocations: 99.47 kB / 379 MB, free: 1.621 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001915/0.008114, allocations: 83.59 kB / 379.1 MB, free: 1.539 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001646/0.008279, allocations: 111.6 kB / 379.2 MB, free: 1.43 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.692e-05/0.008375, allocations: 4 kB / 379.2 MB, free: 1.426 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.217e-05/0.008468, allocations: 59.81 kB / 379.3 MB, free: 1.367 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.012e-05/0.008558, allocations: 23.92 kB / 379.3 MB, free: 1.344 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.008576, allocations: 4 kB / 379.3 MB, free: 1.34 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.841e-05/0.008675, allocations: 47.91 kB / 379.3 MB, free: 1.293 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.954e-05/0.008724, allocations: 23.86 kB / 379.4 MB, free: 1.27 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.949e-05/0.008764, allocations: 15.94 kB / 379.4 MB, free: 1.254 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001834/0.008947, allocations: 107.6 kB / 379.5 MB, free: 1.148 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.008952, allocations: 0 / 379.5 MB, free: 1.148 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.008954, allocations: 4 kB / 379.5 MB, free: 1.145 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.008959, allocations: 0 / 379.5 MB, free: 1.145 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004892/0.009449, allocations: 443.9 kB / 379.9 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.009488, allocations: 12.02 kB / 379.9 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.486e-05/0.009543, allocations: 16.84 kB / 380 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003263/0.009869, allocations: 157 kB / 380.1 MB, free: 480 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.00989, allocations: 384 / 380.1 MB, free: 480 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.009913, allocations: 12.31 kB / 380.1 MB, free: 468 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.01004, allocations: 62.94 kB / 380.2 MB, free: 396 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.01005, allocations: 3.938 kB / 380.2 MB, free: 392 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.01006, allocations: 4 kB / 380.2 MB, free: 388 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.01007, allocations: 0 / 380.2 MB, free: 388 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.363e-05/0.0101, allocations: 11.98 kB / 380.2 MB, free: 376 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000285/0.01039, allocations: 283.8 kB / 380.5 MB, free: 56 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.01051, allocations: 55.11 kB / 380.5 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.263e-05/0.01054, allocations: 23.61 kB / 380.6 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/0.01055, allocations: 4 kB / 380.6 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.569e-05/0.01065, allocations: 65.05 kB / 380.6 MB, free: 15.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.01065, allocations: 0 / 380.6 MB, free: 15.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004175/0.01107, allocations: 161.4 kB / 380.8 MB, free: 15.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.0111, allocations: 51.41 kB / 380.8 MB, free: 15.65 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.01124, allocations: 238.3 kB / 381.1 MB, free: 15.4 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.01125, allocations: 29.7 kB / 381.1 MB, free: 15.37 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.128e-05/0.0113, allocations: 146.9 kB / 381.2 MB, free: 15.22 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.941e-05/0.01133, allocations: 27.78 kB / 381.3 MB, free: 15.19 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.555e-05/0.01137, allocations: 27.38 kB / 381.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.01149, allocations: 0.5 MB / 381.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.649e-05/0.01151, allocations: 11.98 kB / 381.8 MB, free: 14.63 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.938e-05/0.01155, allocations: 35.36 kB / 381.8 MB, free: 14.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.808e-05/0.01161, allocations: 51.31 kB / 381.9 MB, free: 14.53 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.01161, allocations: 0 / 381.9 MB, free: 14.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001173/0.01173, allocations: 101.5 kB / 382 MB, free: 14.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.01174, allocations: 4 kB / 382 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.01175, allocations: 4.375 kB / 382 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.01176, allocations: 0 / 382 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.82e-05/0.01183, allocations: 12 kB / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-06/0.01183, allocations: 7.938 kB / 382 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.797e-05/0.01186, allocations: 7.984 kB / 382 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.01187, allocations: 8.031 kB / 382 MB, free: 14.38 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 7.391e-05/0.01194, allocations: 160.5 kB / 382.2 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.64e-05/0.01196, allocations: 19.89 kB / 382.2 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001445/0.0121, allocations: 107.2 kB / 382.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.01211, allocations: 0 / 382.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.01211, allocations: 0 / 382.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.01211, allocations: 0 / 382.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002654/0.01238, allocations: 397 kB / 382.7 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.01238, allocations: 0 / 382.7 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.574e-05/0.01241, allocations: 16.02 kB / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.01241, allocations: 0 / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.01241, allocations: 4 kB / 382.7 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.01242, allocations: 0 / 382.7 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.01242, allocations: 0 / 382.7 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000133/0.01255, allocations: 255.4 kB / 383 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.226e-05/0.01256, allocations: 15.91 kB / 383 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.01258, allocations: 0 / 383 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.444e-05/0.01262, allocations: 7.984 kB / 383 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.962e-05/0.01265, allocations: 8 kB / 383 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.01267, allocations: 7.984 kB / 383 MB, free: 13.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.369e-05/0.01274, allocations: 172.1 kB / 383.2 MB, free: 13.15 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01274, allocations: 3.938 kB / 383.2 MB, free: 13.15 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001702/0.01291, allocations: 27.94 kB / 383.2 MB, free: 13.12 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.0009895/0.0139, allocations: 447 kB / 383.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003887/0.01429, allocations: 47.61 kB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01429, allocations: 0 / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.74e-05/0.01433, allocations: 31.67 kB / 383.7 MB, free: 12.76 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.01455, allocations: 32.09 kB / 383.8 MB, free: 12.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003204/0.01487, allocations: 221.9 kB / 384 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.326e-05/0.01491, allocations: 63.34 kB / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.787e-05/0.01495, allocations: 21.27 kB / 384 MB, free: 12.37 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.089e-05/0.01498, allocations: 16.44 kB / 384.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01498, allocations: 4 kB / 384.1 MB, free: 12.35 MB / 362.7 MB Notification: Performance of Templates: time 0.004137/0.01912, allocations: 2.008 MB / 386.1 MB, free: 10.38 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.053804308641702]