Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001128/0.001128, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00217/0.003298, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001321/0.001321, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001616/0.002937, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.137/1.137, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1063/1.243, allocations: 53.64 MB / 243.3 MB, free: 15.58 MB / 250.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.2926/0.2926, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02306/0.3156, allocations: 13.09 MB / 291.3 MB, free: 7.375 MB / 282.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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_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_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 292.7 MB, free: 6.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.278e-05/2.444e-05, allocations: 5.266 kB / 292.7 MB, free: 6.227 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003387/0.003411, allocations: 1.885 MB / 294.6 MB, free: 4.328 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001883/0.005294, allocations: 1.099 MB / 295.7 MB, free: 3.227 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.005404, allocations: 4 kB / 295.7 MB, free: 3.223 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004999/0.005904, allocations: 311 kB / 296 MB, free: 2.918 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005086/0.006413, allocations: 259 kB / 296.3 MB, free: 2.664 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003025/0.006715, allocations: 111.5 kB / 296.4 MB, free: 2.555 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003725/0.007088, allocations: 259.3 kB / 296.6 MB, free: 2.301 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.629e-05/0.007144, allocations: 14.44 kB / 296.6 MB, free: 2.289 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000317/0.007461, allocations: 224.1 kB / 296.8 MB, free: 2.07 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002363/0.007697, allocations: 171.7 kB / 297 MB, free: 1.902 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.638e-05/0.007724, allocations: 8 kB / 297 MB, free: 1.895 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.007847, allocations: 51.92 kB / 297.1 MB, free: 1.844 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001388/0.007986, allocations: 136.1 kB / 297.2 MB, free: 1.711 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.837e-05/0.008074, allocations: 55.69 kB / 297.3 MB, free: 1.656 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003936/0.008468, allocations: 274.9 kB / 297.5 MB, free: 1.387 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.753e-05/0.008485, allocations: 0 / 297.5 MB, free: 1.387 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.008487, allocations: 0 / 297.5 MB, free: 1.387 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.042e-05/0.008507, allocations: 0 / 297.5 MB, free: 1.387 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.0009792/0.009486, allocations: 0.7052 MB / 298.2 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.009526, allocations: 8.625 kB / 298.2 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.914e-05/0.009605, allocations: 28.91 kB / 298.3 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004038/0.01001, allocations: 313.8 kB / 298.6 MB, free: 292 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/0.01003, allocations: 4.375 kB / 298.6 MB, free: 288 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.01004, allocations: 4.375 kB / 298.6 MB, free: 284 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/0.01021, allocations: 91.44 kB / 298.7 MB, free: 176 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.01023, allocations: 3.938 kB / 298.7 MB, free: 172 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.01024, allocations: 4 kB / 298.7 MB, free: 168 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.687e-06/0.01025, allocations: 0 / 298.7 MB, free: 168 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.988e-05/0.0103, allocations: 21.58 kB / 298.7 MB, free: 144 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001954/0.01049, allocations: 114.3 kB / 298.8 MB, free: 8 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.01066, allocations: 82.86 kB / 298.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.192e-05/0.0107, allocations: 25.7 kB / 298.9 MB, free: 15.88 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.01072, allocations: 0 / 298.9 MB, free: 15.88 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001649/0.01088, allocations: 103.8 kB / 299 MB, free: 15.75 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.01088, allocations: 0 / 299 MB, free: 15.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002272/0.01111, allocations: 111.7 kB / 299.1 MB, free: 15.64 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/0.01116, allocations: 81.05 kB / 299.2 MB, free: 15.54 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006132/0.01177, allocations: 0.6063 MB / 299.8 MB, free: 14.92 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.0118, allocations: 33.7 kB / 299.8 MB, free: 14.88 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.856e-05/0.01189, allocations: 145.3 kB / 300 MB, free: 14.73 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.953e-05/0.01194, allocations: 31.77 kB / 300 MB, free: 14.7 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.378e-05/0.01199, allocations: 25.7 kB / 300 MB, free: 14.67 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.01213, allocations: 370.7 kB / 300.4 MB, free: 14.3 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.31e-05/0.01216, allocations: 18.83 kB / 300.4 MB, free: 14.28 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.68e-05/0.01221, allocations: 40.92 kB / 300.5 MB, free: 14.23 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.104e-05/0.0123, allocations: 75.81 kB / 300.5 MB, free: 14.14 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.0123, allocations: 0 / 300.5 MB, free: 14.14 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001644/0.01247, allocations: 103.2 kB / 300.6 MB, free: 14.03 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.01248, allocations: 4 kB / 300.6 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.01249, allocations: 4 kB / 300.7 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.0125, allocations: 0 / 300.7 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.01262, allocations: 35.8 kB / 300.7 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.01263, allocations: 0 / 300.7 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.571e-05/0.01271, allocations: 11.95 kB / 300.7 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.01272, allocations: 8.047 kB / 300.7 MB, free: 13.96 MB / 298.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.0001146/0.01284, allocations: 125.5 kB / 300.8 MB, free: 13.83 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.736e-05/0.01288, allocations: 31.97 kB / 300.9 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002046/0.01309, allocations: 126.1 kB / 301 MB, free: 13.67 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.01309, allocations: 0 / 301 MB, free: 13.67 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.0131, allocations: 3.938 kB / 301 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.0131, allocations: 3.984 kB / 301 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002068/0.01331, allocations: 173.7 kB / 301.2 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.01331, allocations: 0 / 301.2 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.156e-05/0.01336, allocations: 12 kB / 301.2 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.895e-05/0.01344, allocations: 63.58 kB / 301.2 MB, free: 13.4 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.01344, allocations: 0 / 301.2 MB, free: 13.4 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.01346, allocations: 3.984 kB / 301.2 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.01346, allocations: 4 kB / 301.2 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.01346, allocations: 3.938 kB / 301.2 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001764/0.01364, allocations: 127.4 kB / 301.4 MB, free: 13.24 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.248e-05/0.01368, allocations: 4 kB / 301.4 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.313e-05/0.01375, allocations: 11.98 kB / 301.4 MB, free: 13.22 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.692e-05/0.01379, allocations: 3.984 kB / 301.4 MB, free: 13.22 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.01381, allocations: 7.938 kB / 301.4 MB, free: 13.21 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003636/0.01417, allocations: 339.1 kB / 301.7 MB, free: 12.88 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01417, allocations: 0 / 301.7 MB, free: 12.88 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002999/0.01447, allocations: 43.94 kB / 301.8 MB, free: 12.84 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.001932/0.01641, allocations: 0.5472 MB / 302.3 MB, free: 12.59 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001485/0.01655, allocations: 60.45 kB / 302.4 MB, free: 12.53 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.558e-05/0.01657, allocations: 8 kB / 302.4 MB, free: 12.52 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.375e-05/0.01662, allocations: 36.78 kB / 302.4 MB, free: 12.48 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003289/0.01695, allocations: 89.23 kB / 302.5 MB, free: 12.4 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.01812, allocations: 0.6692 MB / 303.2 MB, free: 11.69 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/0.01823, allocations: 128.2 kB / 303.3 MB, free: 11.55 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000109/0.01834, allocations: 46.94 kB / 303.3 MB, free: 11.5 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001494/0.01849, allocations: 91.36 kB / 303.4 MB, free: 11.41 MB / 298.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01849, allocations: 0 / 303.4 MB, free: 11.41 MB / 298.7 MB Notification: Performance of Templates: time 0.009426/0.02792, allocations: 4.362 MB / 307.8 MB, free: 7.133 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.0888273622840643]