Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.001139/0.001139, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.0008767/0.0008767, allocations: 169.4 kB / 24.82 MB, free: 9.262 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.012/1.012, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.3778/0.3778, allocations: 34.26 MB / 296.1 MB, free: 0.7188 MB / 266.7 MB " [Timeout remaining time 179] 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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 378.6 MB, free: 2.309 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.753e-05/3.948e-05, allocations: 5.406 kB / 378.6 MB, free: 2.305 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.005595/0.005635, allocations: 1.75 MB / 380.3 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00212/0.007755, allocations: 0.9975 MB / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001479/0.007903, allocations: 0 / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000398/0.008301, allocations: 51.62 kB / 381.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005611/0.008862, allocations: 95.55 kB / 381.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004088/0.009271, allocations: 79.66 kB / 381.6 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002108/0.009482, allocations: 115.5 kB / 381.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.009589, allocations: 4 kB / 381.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001321/0.009721, allocations: 51.84 kB / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.009825, allocations: 35.83 kB / 381.8 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.299e-05/0.009848, allocations: 4 kB / 381.8 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.009978, allocations: 43.92 kB / 381.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.345e-05/0.01004, allocations: 23.92 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.272e-05/0.01009, allocations: 19.92 kB / 381.9 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002612/0.01036, allocations: 103.6 kB / 382 MB, free: 14.92 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.01036, allocations: 0 / 382 MB, free: 14.92 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.01036, allocations: 4 kB / 382 MB, free: 14.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.01037, allocations: 0 / 382 MB, free: 14.91 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.0005545/0.01092, allocations: 459.7 kB / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.01097, allocations: 12.03 kB / 382.4 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.784e-05/0.01102, allocations: 8.891 kB / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002162/0.01124, allocations: 156.9 kB / 382.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.01126, allocations: 4.375 kB / 382.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.01128, allocations: 384 / 382.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.01142, allocations: 62.94 kB / 382.7 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.01143, allocations: 3.938 kB / 382.7 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.01144, allocations: 4 kB / 382.7 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.01144, allocations: 0 / 382.7 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.92e-05/0.01148, allocations: 11.98 kB / 382.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003776/0.01186, allocations: 260.4 kB / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.01198, allocations: 51.09 kB / 383 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.641e-05/0.01201, allocations: 23.73 kB / 383 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.01203, allocations: 0 / 383 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001536/0.01219, allocations: 68.92 kB / 383.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.733e-06/0.01219, allocations: 4 kB / 383.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004637/0.01265, allocations: 137.4 kB / 383.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.01269, allocations: 63.34 kB / 383.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002083/0.0129, allocations: 229.8 kB / 383.5 MB, free: 13.22 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/0.01292, allocations: 25.7 kB / 383.5 MB, free: 13.19 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.977e-05/0.01302, allocations: 162.8 kB / 383.7 MB, free: 13.03 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.755e-05/0.01307, allocations: 19.8 kB / 383.7 MB, free: 13.01 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-05/0.01313, allocations: 31.34 kB / 383.7 MB, free: 12.97 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000199/0.01333, allocations: 0.5001 MB / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.924e-05/0.01336, allocations: 4 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.229e-05/0.01341, allocations: 39.34 kB / 384.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.095e-05/0.01348, allocations: 47.38 kB / 384.3 MB, free: 12.35 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.01349, allocations: 0 / 384.3 MB, free: 12.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001314/0.01362, allocations: 93.5 kB / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.01363, allocations: 4 kB / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.01364, allocations: 3.938 kB / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.01365, allocations: 4 kB / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.807e-05/0.01373, allocations: 15.98 kB / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.918e-06/0.01374, allocations: 0 / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.822e-05/0.01377, allocations: 8.031 kB / 384.4 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.01378, allocations: 0 / 384.4 MB, free: 12.22 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.0001028/0.01388, allocations: 160.6 kB / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.869e-05/0.01391, allocations: 19.84 kB / 384.6 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001839/0.0141, allocations: 103.1 kB / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.0141, allocations: 0 / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.0141, allocations: 4 kB / 384.7 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.01411, allocations: 3.984 kB / 384.7 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003701/0.01448, allocations: 357.6 kB / 385.1 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.01449, allocations: 8.016 kB / 385.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.243e-05/0.01453, allocations: 12 kB / 385.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.01453, allocations: 0 / 385.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.01454, allocations: 8.297 kB / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.01455, allocations: 4 kB / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.01455, allocations: 4 kB / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002282/0.01478, allocations: 251.4 kB / 385.4 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.933e-05/0.0148, allocations: 11.95 kB / 385.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/0.01482, allocations: 8 kB / 385.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.833e-05/0.01489, allocations: 0 / 385.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.433e-05/0.01493, allocations: 11.92 kB / 385.4 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.01495, allocations: 8 kB / 385.4 MB, free: 11.19 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001061/0.01506, allocations: 172.2 kB / 385.6 MB, free: 11.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01506, allocations: 0 / 385.6 MB, free: 11.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002722/0.01533, allocations: 27.94 kB / 385.6 MB, free: 10.99 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.001226/0.01656, allocations: 423.8 kB / 386 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001342/0.01669, allocations: 51.58 kB / 386.1 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.01669, allocations: 0 / 386.1 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.161e-05/0.01674, allocations: 35.73 kB / 386.1 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.0003221/0.01707, allocations: 43.8 kB / 386.1 MB, free: 10.6 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004849/0.01755, allocations: 225.9 kB / 386.3 MB, free: 10.34 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.141e-05/0.01761, allocations: 71.34 kB / 386.4 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.909e-05/0.01766, allocations: 12.97 kB / 386.4 MB, free: 10.24 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.953e-05/0.01776, allocations: 90.19 kB / 386.5 MB, free: 10.15 MB / 362.7 MB Notification: Performance of SimCode: time 1.142e-06/0.01776, allocations: 0 / 386.5 MB, free: 10.15 MB / 362.7 MB Notification: Performance of Templates: time 0.005093/0.02286, allocations: 2.043 MB / 388.6 MB, free: 8.137 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.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.3883584570139647]