Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.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.001245/0.001245, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.0009418/0.0009418, allocations: 169.3 kB / 24.24 MB, free: 312 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.037/1.037, allocations: 158.6 MB / 186 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1649/0.1649, allocations: 32.37 MB / 270.7 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.555e-06/2.555e-06, allocations: 0 / 347.7 MB, free: 9.711 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.913e-05/3.168e-05, allocations: 10.25 kB / 347.7 MB, free: 9.699 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.002842/0.002874, allocations: 1.816 MB / 349.6 MB, free: 7.871 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001366/0.004239, allocations: 0.8622 MB / 350.4 MB, free: 7 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.00435, allocations: 3.938 kB / 350.4 MB, free: 6.996 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005514/0.004901, allocations: 307.2 kB / 350.7 MB, free: 6.695 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003614/0.005262, allocations: 231.1 kB / 351 MB, free: 6.469 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003068/0.005569, allocations: 135.6 kB / 351.1 MB, free: 6.336 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003108/0.00588, allocations: 247.2 kB / 351.3 MB, free: 6.094 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.245e-05/0.005953, allocations: 9.812 kB / 351.3 MB, free: 6.086 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00019/0.006143, allocations: 143.6 kB / 351.5 MB, free: 5.945 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002304/0.006373, allocations: 207.6 kB / 351.7 MB, free: 5.742 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.084e-05/0.006404, allocations: 8 kB / 351.7 MB, free: 5.734 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.006509, allocations: 43.92 kB / 351.7 MB, free: 5.691 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00014/0.006649, allocations: 135.6 kB / 351.9 MB, free: 5.559 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.98e-05/0.006739, allocations: 83.59 kB / 351.9 MB, free: 5.477 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003384/0.007077, allocations: 271 kB / 352.2 MB, free: 5.211 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.768e-06/0.007081, allocations: 4 kB / 352.2 MB, free: 5.207 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.007082, allocations: 0 / 352.2 MB, free: 5.207 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.007088, allocations: 0 / 352.2 MB, free: 5.207 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007596/0.007847, allocations: 0.7747 MB / 353 MB, free: 4.395 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.00789, allocations: 12.03 kB / 353 MB, free: 4.383 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.007e-05/0.00796, allocations: 56.56 kB / 353.1 MB, free: 4.328 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003249/0.008285, allocations: 320.7 kB / 353.4 MB, free: 3.988 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/0.008308, allocations: 8.375 kB / 353.4 MB, free: 3.98 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/0.008321, allocations: 4.375 kB / 353.4 MB, free: 3.977 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.008489, allocations: 98.22 kB / 353.5 MB, free: 3.863 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.008499, allocations: 3.938 kB / 353.5 MB, free: 3.859 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.008511, allocations: 7.938 kB / 353.5 MB, free: 3.852 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.437e-06/0.00852, allocations: 0 / 353.5 MB, free: 3.852 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.624e-05/0.008567, allocations: 15.98 kB / 353.5 MB, free: 3.836 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002448/0.008811, allocations: 320.2 kB / 353.8 MB, free: 3.484 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001467/0.008958, allocations: 98.16 kB / 353.9 MB, free: 3.363 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.995e-05/0.008998, allocations: 35.34 kB / 353.9 MB, free: 3.32 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.009014, allocations: 8 kB / 354 MB, free: 3.312 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001377/0.009151, allocations: 108.3 kB / 354.1 MB, free: 3.184 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.633e-06/0.009153, allocations: 0 / 354.1 MB, free: 3.184 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002775/0.00943, allocations: 173.2 kB / 354.2 MB, free: 3.008 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/0.009462, allocations: 77.11 kB / 354.3 MB, free: 2.914 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004335/0.009896, allocations: 0.6979 MB / 355 MB, free: 2.199 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.009909, allocations: 37.7 kB / 355 MB, free: 2.156 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.01001, allocations: 298.8 kB / 355.3 MB, free: 1.859 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.854e-05/0.01005, allocations: 31.75 kB / 355.4 MB, free: 1.828 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.433e-05/0.01008, allocations: 35.36 kB / 355.4 MB, free: 1.785 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.01018, allocations: 0.5587 MB / 356 MB, free: 1.215 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.416e-05/0.01023, allocations: 19.98 kB / 356 MB, free: 1.195 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.025e-05/0.01028, allocations: 50.73 kB / 356 MB, free: 1.129 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.44e-05/0.01035, allocations: 83.17 kB / 356.1 MB, free: 1.031 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.01036, allocations: 0 / 356.1 MB, free: 1.031 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001401/0.0105, allocations: 153.2 kB / 356.3 MB, free: 0.875 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.01051, allocations: 4 kB / 356.3 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.01052, allocations: 7.938 kB / 356.3 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.01053, allocations: 3.984 kB / 356.3 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.695e-05/0.01063, allocations: 16 kB / 356.3 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.01064, allocations: 4 kB / 356.3 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.587e-05/0.01069, allocations: 19.88 kB / 356.3 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.0107, allocations: 4 kB / 356.3 MB, free: 0.8164 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.958e-05/0.01079, allocations: 172.4 kB / 356.5 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.362e-05/0.01083, allocations: 51.67 kB / 356.5 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001912/0.01102, allocations: 173.7 kB / 356.7 MB, free: 416 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.01102, allocations: 0 / 356.7 MB, free: 416 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.01102, allocations: 0 / 356.7 MB, free: 416 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.01103, allocations: 3.938 kB / 356.7 MB, free: 412 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001748/0.0112, allocations: 312.5 kB / 357 MB, free: 64 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.0112, allocations: 0 / 357 MB, free: 64 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.788e-05/0.01123, allocations: 12.23 kB / 357 MB, free: 52 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.257e-06/0.01124, allocations: 4 kB / 357 MB, free: 48 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.01125, allocations: 4 kB / 357 MB, free: 44 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.01125, allocations: 7.938 kB / 357 MB, free: 36 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.01125, allocations: 4 kB / 357 MB, free: 32 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002116/0.01146, allocations: 211.7 kB / 357.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.121e-05/0.01152, allocations: 59.66 kB / 357.3 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.145e-05/0.01155, allocations: 4 kB / 357.3 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.208e-05/0.0116, allocations: 3.938 kB / 357.3 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.178e-05/0.01165, allocations: 15.97 kB / 357.3 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.01167, allocations: 8 kB / 357.3 MB, free: 15.71 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003702/0.01204, allocations: 474.8 kB / 357.8 MB, free: 15.25 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01204, allocations: 0 / 357.8 MB, free: 15.25 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001874/0.01222, allocations: 51.94 kB / 357.9 MB, free: 15.2 MB / 298.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001022/0.01325, allocations: 392 kB / 358.2 MB, free: 14.9 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001703/0.01342, allocations: 75.58 kB / 358.3 MB, free: 14.82 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.01342, allocations: 0 / 358.3 MB, free: 14.82 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.84e-05/0.01348, allocations: 47.59 kB / 358.4 MB, free: 14.77 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003935/0.01387, allocations: 70.58 kB / 358.4 MB, free: 14.71 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007785/0.01465, allocations: 0.6628 MB / 359.1 MB, free: 14.01 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.766e-05/0.01475, allocations: 132.2 kB / 359.2 MB, free: 13.86 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.353e-05/0.01481, allocations: 35.45 kB / 359.2 MB, free: 13.83 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.583e-05/0.01486, allocations: 40.48 kB / 359.3 MB, free: 13.79 MB / 298.7 MB Notification: Performance of SimCode: time 1.012e-06/0.01487, allocations: 0 / 359.3 MB, free: 13.79 MB / 298.7 MB Notification: Performance of Templates: time 0.006477/0.02134, allocations: 4.005 MB / 363.3 MB, free: 9.801 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.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.259076208109036]