Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.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.001479/0.001479, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001021/0.001021, allocations: 165 kB / 23.79 MB, free: 0.7773 MB / 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 0.9919/0.9919, allocations: 158.6 MB / 185.7 MB, free: 2.914 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.1407/0.1407, allocations: 32.37 MB / 270.4 MB, free: 14.71 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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 347.7 MB, free: 9.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.426e-05/3.624e-05, allocations: 4.281 kB / 347.7 MB, free: 9.371 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003626/0.003662, allocations: 1.823 MB / 349.6 MB, free: 7.535 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001777/0.005439, allocations: 0.8622 MB / 350.4 MB, free: 6.664 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001745/0.005613, allocations: 11.94 kB / 350.4 MB, free: 6.652 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000694/0.006307, allocations: 307.2 kB / 350.7 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005168/0.006824, allocations: 219.1 kB / 351 MB, free: 6.137 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000473/0.007297, allocations: 135.6 kB / 351.1 MB, free: 6.004 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004522/0.007749, allocations: 247.3 kB / 351.3 MB, free: 5.762 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.891e-05/0.007818, allocations: 9.75 kB / 351.3 MB, free: 5.754 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000267/0.008085, allocations: 147.6 kB / 351.5 MB, free: 5.609 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000248/0.008333, allocations: 207.6 kB / 351.7 MB, free: 5.406 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.564e-05/0.008369, allocations: 4 kB / 351.7 MB, free: 5.402 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001314/0.0085, allocations: 51.92 kB / 351.7 MB, free: 5.352 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000141/0.008641, allocations: 143.6 kB / 351.9 MB, free: 5.211 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.008742, allocations: 71.66 kB / 351.9 MB, free: 5.141 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000439/0.009181, allocations: 274.9 kB / 352.2 MB, free: 4.871 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.82e-06/0.009187, allocations: 0 / 352.2 MB, free: 4.871 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.009188, allocations: 0 / 352.2 MB, free: 4.871 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.498e-06/0.009198, allocations: 4 kB / 352.2 MB, free: 4.867 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.0008975/0.0101, allocations: 0.7786 MB / 353 MB, free: 4.051 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.01014, allocations: 8.031 kB / 353 MB, free: 4.043 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000106/0.01025, allocations: 56.56 kB / 353.1 MB, free: 3.988 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004714/0.01072, allocations: 332.6 kB / 353.4 MB, free: 3.637 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.656e-05/0.01074, allocations: 384 / 353.4 MB, free: 3.637 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.01076, allocations: 8.375 kB / 353.4 MB, free: 3.629 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.01096, allocations: 98.27 kB / 353.5 MB, free: 3.516 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.01097, allocations: 3.938 kB / 353.5 MB, free: 3.512 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.01099, allocations: 0 / 353.5 MB, free: 3.512 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.011, allocations: 0 / 353.5 MB, free: 3.512 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.569e-05/0.01105, allocations: 27.91 kB / 353.5 MB, free: 3.484 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003418/0.01139, allocations: 308.2 kB / 353.8 MB, free: 3.145 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.01158, allocations: 102.2 kB / 353.9 MB, free: 3.02 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.178e-05/0.01164, allocations: 35.36 kB / 354 MB, free: 2.977 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.01165, allocations: 3.984 kB / 354 MB, free: 2.973 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001865/0.01184, allocations: 108.3 kB / 354.1 MB, free: 2.844 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.01184, allocations: 0 / 354.1 MB, free: 2.844 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003603/0.0122, allocations: 173.2 kB / 354.2 MB, free: 2.668 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.01224, allocations: 85.11 kB / 354.3 MB, free: 2.566 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006208/0.01286, allocations: 0.7018 MB / 355 MB, free: 1.848 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.01288, allocations: 25.7 kB / 355 MB, free: 1.816 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.01302, allocations: 302.8 kB / 355.3 MB, free: 1.516 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.706e-05/0.01307, allocations: 31.75 kB / 355.4 MB, free: 1.484 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.576e-05/0.01312, allocations: 31.36 kB / 355.4 MB, free: 1.445 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.01325, allocations: 0.5626 MB / 356 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.109e-05/0.01329, allocations: 11.98 kB / 356 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.482e-05/0.01335, allocations: 54.73 kB / 356 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.01346, allocations: 83.17 kB / 356.1 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.01346, allocations: 4 kB / 356.1 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002004/0.01366, allocations: 149.2 kB / 356.3 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.01368, allocations: 7.984 kB / 356.3 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.565e-06/0.01369, allocations: 3.938 kB / 356.3 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.01371, allocations: 4 kB / 356.3 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.932e-05/0.01381, allocations: 16 kB / 356.3 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.01381, allocations: 3.984 kB / 356.3 MB, free: 0.5 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.865e-05/0.01389, allocations: 19.89 kB / 356.3 MB, free: 492 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.0139, allocations: 8.062 kB / 356.3 MB, free: 484 kB / 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 0.0001035/0.01401, allocations: 168.4 kB / 356.5 MB, free: 304 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.592e-05/0.01406, allocations: 59.66 kB / 356.5 MB, free: 244 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000227/0.01429, allocations: 165.6 kB / 356.7 MB, free: 68 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.01429, allocations: 4 kB / 356.7 MB, free: 64 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.0143, allocations: 0 / 356.7 MB, free: 64 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.0143, allocations: 0 / 356.7 MB, free: 64 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000341/0.01464, allocations: 308.5 kB / 357 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.01464, allocations: 4 kB / 357 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.44e-05/0.01468, allocations: 11.98 kB / 357 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.01468, allocations: 4 kB / 357 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.0147, allocations: 4.25 kB / 357 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.0147, allocations: 7.938 kB / 357 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.0147, allocations: 0 / 357 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002751/0.01498, allocations: 215.7 kB / 357.3 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.367e-05/0.01507, allocations: 59.66 kB / 357.3 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.067e-05/0.01511, allocations: 0 / 357.3 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.356e-05/0.01518, allocations: 15.92 kB / 357.3 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.237e-05/0.01523, allocations: 7.984 kB / 357.3 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-05/0.01525, allocations: 4 kB / 357.3 MB, free: 15.37 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005128/0.01576, allocations: 486.7 kB / 357.8 MB, free: 14.9 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.01576, allocations: 0 / 357.8 MB, free: 14.9 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003153/0.01608, allocations: 43.94 kB / 357.9 MB, free: 14.86 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.001157/0.01723, allocations: 399.8 kB / 358.3 MB, free: 14.55 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002321/0.01746, allocations: 67.59 kB / 358.3 MB, free: 14.48 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.01747, allocations: 0 / 358.3 MB, free: 14.48 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.055e-05/0.01755, allocations: 43.59 kB / 358.4 MB, free: 14.44 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004258/0.01798, allocations: 74.58 kB / 358.4 MB, free: 14.37 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.01909, allocations: 0.6589 MB / 359.1 MB, free: 13.67 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001176/0.01921, allocations: 132.2 kB / 359.2 MB, free: 13.52 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001037/0.01931, allocations: 43.45 kB / 359.3 MB, free: 13.48 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.657e-05/0.01939, allocations: 36.48 kB / 359.3 MB, free: 13.45 MB / 298.7 MB Notification: Performance of SimCode: time 8.91e-07/0.01939, allocations: 0 / 359.3 MB, free: 13.45 MB / 298.7 MB Notification: Performance of Templates: time 0.009115/0.0285, allocations: 4.003 MB / 363.3 MB, free: 9.465 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.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.369508570060134]