Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.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.0009603/0.0009603, allocations: 71.77 kB / 21.69 MB, free: 2.852 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.00147/0.00147, allocations: 166.7 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 0.9803/0.9803, allocations: 177.1 MB / 205.3 MB, free: 5.629 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.26/0.26, allocations: 34.26 MB / 296 MB, free: 0.6875 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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.425e-06/2.425e-06, allocations: 0 / 378.1 MB, free: 2.887 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.606e-05/3.848e-05, allocations: 4.281 kB / 378.1 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.003082/0.003121, allocations: 1.715 MB / 379.8 MB, free: 1.152 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001477/0.004598, allocations: 0.9936 MB / 380.8 MB, free: 156 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.004708, allocations: 0 / 380.8 MB, free: 156 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004071/0.005115, allocations: 47.77 kB / 380.9 MB, free: 108 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003502/0.005465, allocations: 111.5 kB / 381 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001956/0.005661, allocations: 79.58 kB / 381 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001799/0.00584, allocations: 95.64 kB / 381.1 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.87e-05/0.005889, allocations: 12.16 kB / 381.1 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.819e-05/0.005987, allocations: 55.83 kB / 381.2 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.951e-05/0.006067, allocations: 19.92 kB / 381.2 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.94e-05/0.006086, allocations: 4 kB / 381.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.627e-05/0.006163, allocations: 31.98 kB / 381.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.833e-05/0.006231, allocations: 31.84 kB / 381.3 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.826e-05/0.006279, allocations: 15.94 kB / 381.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002052/0.006484, allocations: 103.5 kB / 381.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.00649, allocations: 4 kB / 381.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.006493, allocations: 7.984 kB / 381.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.006499, allocations: 0 / 381.4 MB, free: 15.54 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006792/0.007179, allocations: 463.8 kB / 381.9 MB, free: 15.05 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.589e-05/0.007234, allocations: 8.031 kB / 381.9 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.178e-05/0.007316, allocations: 20.78 kB / 381.9 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002634/0.00758, allocations: 165.2 kB / 382.1 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.867e-05/0.007608, allocations: 4.375 kB / 382.1 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.007621, allocations: 384 / 382.1 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.007798, allocations: 54.94 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.00781, allocations: 7.938 kB / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.007821, allocations: 4 kB / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.007832, allocations: 3.938 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.019e-05/0.007872, allocations: 15.97 kB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002279/0.0081, allocations: 148.7 kB / 382.3 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/0.008239, allocations: 51.05 kB / 382.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.718e-05/0.008276, allocations: 19.67 kB / 382.4 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.008296, allocations: 0 / 382.4 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001629/0.008459, allocations: 65.05 kB / 382.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.924e-06/0.008461, allocations: 4 kB / 382.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002467/0.008708, allocations: 101.5 kB / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.008748, allocations: 51.41 kB / 382.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/0.008925, allocations: 273.6 kB / 382.8 MB, free: 13.94 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.00894, allocations: 25.7 kB / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.598e-05/0.009016, allocations: 166.9 kB / 383 MB, free: 13.74 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/0.009051, allocations: 11.91 kB / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.725e-05/0.009088, allocations: 27.36 kB / 383.1 MB, free: 13.69 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.009235, allocations: 0.5001 MB / 383.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.195e-05/0.009266, allocations: 8 kB / 383.6 MB, free: 13.17 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.829e-05/0.009305, allocations: 31.36 kB / 383.6 MB, free: 13.13 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.993e-05/0.009365, allocations: 39.31 kB / 383.7 MB, free: 13.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.009367, allocations: 4 kB / 383.7 MB, free: 13.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001108/0.009478, allocations: 73.59 kB / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.009494, allocations: 4 kB / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.009502, allocations: 7.875 kB / 383.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.00952, allocations: 0 / 383.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.749e-05/0.009608, allocations: 15.98 kB / 383.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.009615, allocations: 0 / 383.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.999e-05/0.009645, allocations: 4.031 kB / 383.8 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.009651, allocations: 4 kB / 383.8 MB, free: 12.97 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 (7): * Single equations (assignments): 7 * 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 9.49e-05/0.009746, allocations: 168 kB / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.016e-05/0.009766, allocations: 15.91 kB / 383.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001561/0.009922, allocations: 94.84 kB / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.009924, allocations: 0 / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.009928, allocations: 0 / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.009932, allocations: 0 / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001209/0.01005, allocations: 168.5 kB / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01005, allocations: 0 / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.812e-05/0.01008, allocations: 8.312 kB / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.01009, allocations: 4 kB / 384.2 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.01009, allocations: 0 / 384.2 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.843e-06/0.0101, allocations: 11.92 kB / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.0101, allocations: 4 kB / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001221/0.01022, allocations: 120.3 kB / 384.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.735e-05/0.01024, allocations: 11.91 kB / 384.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.01026, allocations: 0 / 384.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.172e-05/0.01029, allocations: 7.875 kB / 384.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.531e-05/0.01034, allocations: 7.984 kB / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.01035, allocations: 4 kB / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001021/0.01046, allocations: 200.5 kB / 384.6 MB, free: 12.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01046, allocations: 0 / 384.6 MB, free: 12.09 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001614/0.01062, allocations: 16 kB / 384.6 MB, free: 12.07 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0009709/0.01159, allocations: 391.6 kB / 385 MB, free: 11.83 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001379/0.01173, allocations: 35.67 kB / 385 MB, free: 11.79 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.01173, allocations: 0 / 385 MB, free: 11.79 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.619e-05/0.01176, allocations: 23.62 kB / 385 MB, free: 11.76 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.01199, allocations: 27.97 kB / 385.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004457/0.01244, allocations: 234.5 kB / 385.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.746e-05/0.01248, allocations: 71.33 kB / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.606e-05/0.01252, allocations: 16.55 kB / 385.4 MB, free: 11.37 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.172e-05/0.01255, allocations: 12.5 kB / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of SimCode: time 1.282e-06/0.01255, allocations: 0 / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of Templates: time 0.004314/0.01687, allocations: 1.675 MB / 387.1 MB, free: 9.711 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.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.406244857935235]