Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001282/0.001282, allocations: 75.75 kB / 21.69 MB, free: 2.859 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.001412/0.001412, allocations: 165.5 kB / 24.99 MB, free: 9.285 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.017/1.017, allocations: 177.1 MB / 205.3 MB, free: 5.637 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.2616/0.2616, allocations: 32.81 MB / 294.6 MB, free: 1.273 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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.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.0.0_ModelicaTest.Tables.CombiTimeTable.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 376.1 MB, free: 4.895 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.137e-05/2.298e-05, allocations: 6.312 kB / 376.1 MB, free: 4.887 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.002432/0.002455, allocations: 1.765 MB / 377.9 MB, free: 3.109 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00126/0.003715, allocations: 0.9975 MB / 378.9 MB, free: 2.105 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.908e-05/0.003794, allocations: 7.938 kB / 378.9 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002772/0.004071, allocations: 51.69 kB / 378.9 MB, free: 2.047 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002669/0.004338, allocations: 95.53 kB / 379 MB, free: 1.953 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000173/0.004511, allocations: 79.61 kB / 379.1 MB, free: 1.875 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000152/0.004663, allocations: 107.6 kB / 379.2 MB, free: 1.77 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.153e-05/0.004755, allocations: 4 kB / 379.2 MB, free: 1.766 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.824e-05/0.004843, allocations: 59.75 kB / 379.2 MB, free: 1.707 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.11e-05/0.004914, allocations: 23.92 kB / 379.3 MB, free: 1.684 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.00493, allocations: 8 kB / 379.3 MB, free: 1.676 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.467e-05/0.005015, allocations: 47.91 kB / 379.3 MB, free: 1.629 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.253e-05/0.005067, allocations: 23.92 kB / 379.4 MB, free: 1.605 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.94e-05/0.005107, allocations: 19.92 kB / 379.4 MB, free: 1.586 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001763/0.005283, allocations: 103.6 kB / 379.5 MB, free: 1.484 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.225e-06/0.005285, allocations: 0 / 379.5 MB, free: 1.484 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.005286, allocations: 0 / 379.5 MB, free: 1.484 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.00529, allocations: 0 / 379.5 MB, free: 1.484 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.0004744/0.005765, allocations: 459.7 kB / 379.9 MB, free: 1 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.005802, allocations: 12.03 kB / 379.9 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.644e-05/0.005848, allocations: 8.891 kB / 379.9 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/0.006022, allocations: 164.9 kB / 380.1 MB, free: 0.793 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.00604, allocations: 384 / 380.1 MB, free: 0.793 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.006058, allocations: 384 / 380.1 MB, free: 0.793 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.006189, allocations: 62.94 kB / 380.2 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.006199, allocations: 3.938 kB / 380.2 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.006208, allocations: 0 / 380.2 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.006216, allocations: 4 kB / 380.2 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.631e-05/0.006253, allocations: 11.92 kB / 380.2 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002999/0.006553, allocations: 287.8 kB / 380.5 MB, free: 396 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.00666, allocations: 63.09 kB / 380.5 MB, free: 320 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.125e-05/0.006691, allocations: 19.61 kB / 380.5 MB, free: 296 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/0.006705, allocations: 4 kB / 380.5 MB, free: 292 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001006/0.006806, allocations: 72.98 kB / 380.6 MB, free: 204 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.006807, allocations: 0 / 380.6 MB, free: 204 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003953/0.007202, allocations: 161.3 kB / 380.8 MB, free: 36 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.007246, allocations: 51.41 kB / 380.8 MB, free: 15.97 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.007396, allocations: 233.9 kB / 381.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.00741, allocations: 29.7 kB / 381.1 MB, free: 15.69 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.823e-05/0.007468, allocations: 158.8 kB / 381.2 MB, free: 15.53 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.673e-05/0.007495, allocations: 27.78 kB / 381.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.342e-05/0.007528, allocations: 31.38 kB / 381.3 MB, free: 15.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.007645, allocations: 0.4923 MB / 381.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.555e-05/0.00767, allocations: 15.98 kB / 381.8 MB, free: 14.95 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.669e-05/0.007707, allocations: 35.36 kB / 381.8 MB, free: 14.9 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.874e-05/0.007766, allocations: 51.25 kB / 381.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.007767, allocations: 0 / 381.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001084/0.007875, allocations: 89.56 kB / 382 MB, free: 14.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.007887, allocations: 12.03 kB / 382 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.007892, allocations: 3.984 kB / 382 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.007904, allocations: 0 / 382 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.966e-05/0.007973, allocations: 12 kB / 382 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.007978, allocations: 4 kB / 382 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.892e-05/0.008007, allocations: 7.953 kB / 382 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.008013, allocations: 4 kB / 382 MB, free: 14.71 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.77e-05/0.008091, allocations: 168.5 kB / 382.2 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.824e-05/0.008109, allocations: 15.94 kB / 382.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001489/0.008258, allocations: 107.2 kB / 382.3 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.008262, allocations: 8 kB / 382.3 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.008265, allocations: 0 / 382.3 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.008269, allocations: 0 / 382.3 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002878/0.008556, allocations: 392.9 kB / 382.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.008558, allocations: 0 / 382.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.904e-05/0.008587, allocations: 23.92 kB / 382.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.008589, allocations: 0 / 382.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.008597, allocations: 0 / 382.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.0086, allocations: 7.938 kB / 382.7 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.008601, allocations: 0 / 382.7 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001535/0.008754, allocations: 259.5 kB / 383 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.316e-05/0.008767, allocations: 11.91 kB / 383 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.008785, allocations: 4 kB / 383 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.239e-05/0.008827, allocations: 7.984 kB / 383 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.155e-05/0.008859, allocations: 4 kB / 383 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.008874, allocations: 8.359 kB / 383 MB, free: 13.62 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.451e-05/0.008958, allocations: 180.1 kB / 383.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008958, allocations: 0 / 383.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001754/0.009134, allocations: 23.94 kB / 383.2 MB, free: 13.43 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.0009119/0.01005, allocations: 437.9 kB / 383.6 MB, free: 13.15 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001268/0.01017, allocations: 55.61 kB / 383.7 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.01018, allocations: 0 / 383.7 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.331e-05/0.01022, allocations: 31.61 kB / 383.7 MB, free: 13.06 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002394/0.01046, allocations: 35.95 kB / 383.8 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003465/0.01081, allocations: 221.9 kB / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.308e-05/0.01085, allocations: 71.33 kB / 384.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.279e-05/0.01088, allocations: 17.41 kB / 384.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.026e-05/0.01091, allocations: 20.48 kB / 384.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01091, allocations: 0 / 384.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of Templates: time 0.003587/0.0145, allocations: 1.872 MB / 386 MB, free: 10.8 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.1747890359256417]