Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.000972/0.000972, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001883/0.001883, allocations: 165 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 1.012/1.012, allocations: 177.2 MB / 205 MB, free: 5.262 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.2798/0.2798, allocations: 34.26 MB / 295.7 MB, free: 0.7305 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.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 378.1 MB, free: 2.562 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.989e-05/3.189e-05, allocations: 2.312 kB / 378.1 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.002658/0.00269, allocations: 1.77 MB / 379.9 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.004048, allocations: 1.013 MB / 380.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.935e-05/0.004148, allocations: 7.938 kB / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003628/0.004511, allocations: 39.72 kB / 381 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003646/0.004875, allocations: 99.52 kB / 381.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002416/0.005117, allocations: 79.61 kB / 381.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003703/0.005487, allocations: 115.6 kB / 381.2 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.005593, allocations: 11.98 kB / 381.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.005698, allocations: 51.89 kB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001/0.005798, allocations: 27.84 kB / 381.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.005817, allocations: 8 kB / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.005923, allocations: 43.92 kB / 381.4 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.64e-05/0.005989, allocations: 19.92 kB / 381.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.959e-05/0.006039, allocations: 27.84 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002206/0.00626, allocations: 103.6 kB / 381.5 MB, free: 15.13 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.006264, allocations: 4 kB / 381.5 MB, free: 15.13 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.006266, allocations: 4 kB / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.006273, allocations: 0 / 381.5 MB, free: 15.12 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.0005602/0.006833, allocations: 459.8 kB / 382 MB, free: 14.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.006885, allocations: 12.03 kB / 382 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.443e-05/0.00694, allocations: 12.84 kB / 382 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002142/0.007154, allocations: 161.2 kB / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.007176, allocations: 12.25 kB / 382.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.759e-05/0.007203, allocations: 4.375 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.007353, allocations: 58.94 kB / 382.2 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.007366, allocations: 7.938 kB / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.007378, allocations: 4 kB / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.007386, allocations: 0 / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.945e-05/0.007426, allocations: 11.98 kB / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003831/0.007809, allocations: 291.8 kB / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.007937, allocations: 59.11 kB / 382.6 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.516e-05/0.007972, allocations: 19.62 kB / 382.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.007994, allocations: 7.984 kB / 382.6 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001153/0.008109, allocations: 65.05 kB / 382.7 MB, free: 13.82 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.924e-06/0.008111, allocations: 0 / 382.7 MB, free: 13.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004804/0.008592, allocations: 161.3 kB / 382.9 MB, free: 13.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/0.008638, allocations: 51.41 kB / 382.9 MB, free: 13.6 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/0.008825, allocations: 259.1 kB / 383.2 MB, free: 13.33 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.008847, allocations: 29.69 kB / 383.2 MB, free: 13.29 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.777e-05/0.008924, allocations: 158.9 kB / 383.3 MB, free: 13.13 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.367e-05/0.008958, allocations: 27.78 kB / 383.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.843e-05/0.008997, allocations: 31.31 kB / 383.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.009115, allocations: 0.5001 MB / 383.9 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.852e-05/0.009143, allocations: 8 kB / 383.9 MB, free: 12.55 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.497e-05/0.009188, allocations: 35.36 kB / 383.9 MB, free: 12.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.474e-05/0.009253, allocations: 59.36 kB / 384 MB, free: 12.44 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.582e-06/0.009254, allocations: 0 / 384 MB, free: 12.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001234/0.009378, allocations: 97.52 kB / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.009393, allocations: 8 kB / 384.1 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.009397, allocations: 0 / 384.1 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.009414, allocations: 0 / 384.1 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.038e-05/0.009494, allocations: 15.94 kB / 384.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.009502, allocations: 7.984 kB / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.074e-05/0.009532, allocations: 0 / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.009539, allocations: 8.031 kB / 384.1 MB, free: 12.3 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 8.744e-05/0.009627, allocations: 164.5 kB / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.827e-05/0.009645, allocations: 15.91 kB / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001689/0.009814, allocations: 107.1 kB / 384.4 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.009816, allocations: 3.938 kB / 384.4 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.00982, allocations: 0 / 384.4 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.009825, allocations: 3.984 kB / 384.4 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003116/0.01014, allocations: 408.9 kB / 384.8 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.01014, allocations: 0 / 384.8 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.135e-05/0.01017, allocations: 12.03 kB / 384.8 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.339e-06/0.01017, allocations: 4 kB / 384.8 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.01018, allocations: 384 / 384.8 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.01018, allocations: 0 / 384.8 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.01019, allocations: 8 kB / 384.9 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001514/0.01034, allocations: 259.4 kB / 385.1 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.616e-05/0.01036, allocations: 15.89 kB / 385.1 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.01037, allocations: 4 kB / 385.1 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.521e-05/0.01042, allocations: 4 kB / 385.1 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.801e-05/0.01046, allocations: 7.984 kB / 385.1 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.01047, allocations: 0 / 385.1 MB, free: 11.21 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001026/0.01057, allocations: 195 kB / 385.3 MB, free: 11.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01057, allocations: 0 / 385.3 MB, free: 11.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001935/0.01077, allocations: 27.94 kB / 385.4 MB, free: 11 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.0009697/0.01174, allocations: 431 kB / 385.8 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001386/0.01187, allocations: 51.59 kB / 385.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.01188, allocations: 0 / 385.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.983e-05/0.01193, allocations: 31.67 kB / 385.9 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.01219, allocations: 39.47 kB / 385.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004347/0.01262, allocations: 237.5 kB / 386.1 MB, free: 10.34 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.918e-05/0.01267, allocations: 79.27 kB / 386.2 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.047e-05/0.01271, allocations: 12.97 kB / 386.2 MB, free: 10.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.492e-05/0.01275, allocations: 16.5 kB / 386.2 MB, free: 10.21 MB / 362.7 MB Notification: Performance of SimCode: time 8.11e-07/0.01275, allocations: 0 / 386.2 MB, free: 10.21 MB / 362.7 MB Notification: Performance of Templates: time 0.004517/0.01727, allocations: 1.896 MB / 388.1 MB, free: 8.344 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.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.4176042089238763]