Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.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.001288/0.001288, allocations: 82.67 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001373/0.001373, allocations: 163.3 kB / 23.95 MB, free: 4.156 MB / 14.72 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.378/1.378, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.1 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.1959/0.1959, allocations: 32.81 MB / 293.5 MB, free: 24 kB / 270.1 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.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 440.2 MB, free: 8.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.325e-05/2.454e-05, allocations: 6.281 kB / 440.2 MB, free: 8.062 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.002999/0.003023, allocations: 1.708 MB / 441.9 MB, free: 6.34 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001706/0.00473, allocations: 0.9781 MB / 442.9 MB, free: 5.355 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.671e-05/0.004806, allocations: 0 / 442.9 MB, free: 5.355 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002612/0.005068, allocations: 35.78 kB / 442.9 MB, free: 5.32 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003314/0.005399, allocations: 99.47 kB / 443 MB, free: 5.223 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000236/0.005635, allocations: 79.59 kB / 443.1 MB, free: 5.145 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002086/0.005844, allocations: 115.6 kB / 443.2 MB, free: 5.031 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.459e-05/0.005938, allocations: 8 kB / 443.2 MB, free: 5.023 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.006061, allocations: 55.78 kB / 443.3 MB, free: 4.969 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.371e-05/0.006144, allocations: 27.89 kB / 443.3 MB, free: 4.941 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.006165, allocations: 4 kB / 443.3 MB, free: 4.938 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.006268, allocations: 43.98 kB / 443.3 MB, free: 4.895 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.585e-05/0.006334, allocations: 23.86 kB / 443.3 MB, free: 4.871 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.567e-05/0.006379, allocations: 23.92 kB / 443.4 MB, free: 4.848 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002402/0.00662, allocations: 123.5 kB / 443.5 MB, free: 4.727 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.006624, allocations: 4 kB / 443.5 MB, free: 4.723 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.81e-07/0.006625, allocations: 0 / 443.5 MB, free: 4.723 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.378e-06/0.006634, allocations: 0 / 443.5 MB, free: 4.723 MB / 366.1 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.0005936/0.007228, allocations: 345.6 kB / 443.8 MB, free: 4.355 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.007265, allocations: 15.97 kB / 443.8 MB, free: 4.34 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.903e-05/0.007324, allocations: 12.89 kB / 443.9 MB, free: 4.328 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/0.007563, allocations: 161.4 kB / 444 MB, free: 4.145 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.776e-06/0.007571, allocations: 384 / 444 MB, free: 4.145 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.612e-05/0.007598, allocations: 8.375 kB / 444 MB, free: 4.137 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.007768, allocations: 50.23 kB / 444.1 MB, free: 4.082 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.007781, allocations: 3.938 kB / 444.1 MB, free: 4.078 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.007796, allocations: 11.98 kB / 444.1 MB, free: 4.066 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-06/0.0078, allocations: 4 kB / 444.1 MB, free: 4.062 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.871e-05/0.007879, allocations: 19.98 kB / 444.1 MB, free: 4.043 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003519/0.00823, allocations: 228.6 kB / 444.3 MB, free: 3.789 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.008409, allocations: 54.62 kB / 444.4 MB, free: 3.727 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.318e-05/0.008472, allocations: 24.78 kB / 444.4 MB, free: 3.699 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/0.008487, allocations: 0 / 444.4 MB, free: 3.699 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001589/0.008646, allocations: 67.39 kB / 444.5 MB, free: 3.621 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.008648, allocations: 0 / 444.5 MB, free: 3.621 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005845/0.009232, allocations: 189.3 kB / 444.7 MB, free: 3.43 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.009274, allocations: 51.41 kB / 444.7 MB, free: 3.367 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002201/0.009494, allocations: 211 kB / 444.9 MB, free: 3.152 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.009515, allocations: 29.7 kB / 445 MB, free: 3.117 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.12e-05/0.009586, allocations: 108.1 kB / 445.1 MB, free: 3.008 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.73e-05/0.009624, allocations: 31.77 kB / 445.1 MB, free: 2.977 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.519e-05/0.009669, allocations: 25.66 kB / 445.1 MB, free: 2.945 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002295/0.009898, allocations: 326.8 kB / 445.4 MB, free: 2.617 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.171e-05/0.00996, allocations: 19.98 kB / 445.5 MB, free: 2.598 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.415e-05/0.01003, allocations: 33.7 kB / 445.5 MB, free: 2.559 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/0.01017, allocations: 73.7 kB / 445.6 MB, free: 2.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.01017, allocations: 0 / 445.6 MB, free: 2.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002069/0.01038, allocations: 105.5 kB / 445.7 MB, free: 2.371 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.01039, allocations: 7.984 kB / 445.7 MB, free: 2.363 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.0104, allocations: 4 kB / 445.7 MB, free: 2.359 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.01041, allocations: 4.172 kB / 445.7 MB, free: 2.355 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.638e-05/0.0105, allocations: 12 kB / 445.7 MB, free: 2.344 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.01051, allocations: 7.875 kB / 445.7 MB, free: 2.336 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.198e-05/0.01056, allocations: 8.359 kB / 445.7 MB, free: 2.328 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.01057, allocations: 11.97 kB / 445.7 MB, free: 2.316 MB / 366.1 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.0001247/0.01069, allocations: 129.8 kB / 445.8 MB, free: 2.184 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.421e-05/0.01072, allocations: 11.95 kB / 445.9 MB, free: 2.172 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002651/0.01098, allocations: 127 kB / 446 MB, free: 2.043 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.01098, allocations: 0 / 446 MB, free: 2.043 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.01099, allocations: 0 / 446 MB, free: 2.043 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.01099, allocations: 4 kB / 446 MB, free: 2.039 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00061/0.0116, allocations: 358.9 kB / 446.3 MB, free: 1.648 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.0116, allocations: 32 / 446.3 MB, free: 1.648 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.199e-05/0.01164, allocations: 16 kB / 446.3 MB, free: 1.633 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.01165, allocations: 0 / 446.3 MB, free: 1.633 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.01166, allocations: 0 / 446.3 MB, free: 1.633 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.01166, allocations: 4 kB / 446.4 MB, free: 1.629 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01166, allocations: 0 / 446.4 MB, free: 1.629 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002761/0.01194, allocations: 220.2 kB / 446.6 MB, free: 1.395 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.83e-05/0.01195, allocations: 7.953 kB / 446.6 MB, free: 1.387 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.099e-05/0.01199, allocations: 4 kB / 446.6 MB, free: 1.383 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.417e-05/0.01206, allocations: 4 kB / 446.6 MB, free: 1.379 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.507e-05/0.0121, allocations: 3.984 kB / 446.6 MB, free: 1.375 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.01211, allocations: 8 kB / 446.6 MB, free: 1.367 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001493/0.01226, allocations: 167.2 kB / 446.8 MB, free: 1.203 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01226, allocations: 0 / 446.8 MB, free: 1.203 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002803/0.01254, allocations: 27.94 kB / 446.8 MB, free: 1.176 MB / 366.1 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.001778/0.01432, allocations: 0.4889 MB / 447.3 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001874/0.0145, allocations: 59.91 kB / 447.3 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.0145, allocations: 0 / 447.3 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.648e-05/0.01459, allocations: 32.12 kB / 447.4 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/0.01494, allocations: 31.16 kB / 447.4 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004912/0.01543, allocations: 250 kB / 447.6 MB, free: 0.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001008/0.01553, allocations: 100.9 kB / 447.7 MB, free: 388 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.204e-05/0.01558, allocations: 12.98 kB / 447.7 MB, free: 372 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.184e-05/0.01563, allocations: 20.48 kB / 447.8 MB, free: 352 kB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.01563, allocations: 0 / 447.8 MB, free: 352 kB / 366.1 MB Notification: Performance of Templates: time 0.1606/0.1762, allocations: 1.853 MB / 449.6 MB, free: 21.18 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.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: 4.49242265149951]