Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.0009887/0.0009887, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.0009272/0.0009272, allocations: 173 kB / 25.61 MB, free: 8.457 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.9946/0.9946, allocations: 177.1 MB / 206.1 MB, free: 4.516 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.1491/0.1491, allocations: 34.26 MB / 296.9 MB, free: 13.9 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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 379.4 MB, free: 23.32 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.722e-05/1.89e-05, allocations: 2.312 kB / 379.4 MB, free: 23.31 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.00533/0.005349, allocations: 1.707 MB / 381.1 MB, free: 21.59 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001183/0.006532, allocations: 0.9702 MB / 382 MB, free: 20.61 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.884e-05/0.006601, allocations: 3.938 kB / 382 MB, free: 20.61 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000274/0.006875, allocations: 55.75 kB / 382.1 MB, free: 20.55 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000271/0.007146, allocations: 107.5 kB / 382.2 MB, free: 20.45 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001443/0.007291, allocations: 71.67 kB / 382.3 MB, free: 20.38 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.007433, allocations: 119.5 kB / 382.4 MB, free: 20.26 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.884e-05/0.007472, allocations: 4.234 kB / 382.4 MB, free: 20.26 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.712e-05/0.007559, allocations: 51.83 kB / 382.5 MB, free: 20.21 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.483e-05/0.007654, allocations: 39.89 kB / 382.5 MB, free: 20.17 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.007672, allocations: 4 kB / 382.5 MB, free: 20.16 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.904e-05/0.007751, allocations: 35.92 kB / 382.5 MB, free: 20.13 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001355/0.007886, allocations: 19.92 kB / 382.5 MB, free: 20.11 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.025e-05/0.007937, allocations: 19.92 kB / 382.6 MB, free: 20.09 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002034/0.00814, allocations: 83.67 kB / 382.6 MB, free: 20.01 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.008143, allocations: 4 kB / 382.7 MB, free: 20 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.008144, allocations: 4 kB / 382.7 MB, free: 20 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.008149, allocations: 0 / 382.7 MB, free: 20 MB / 314.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.0003505/0.008499, allocations: 432 kB / 383.1 MB, free: 19.54 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.008531, allocations: 12.03 kB / 383.1 MB, free: 19.53 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.77e-05/0.008569, allocations: 16.81 kB / 383.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.008706, allocations: 148.4 kB / 383.3 MB, free: 19.34 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.008724, allocations: 4.359 kB / 383.3 MB, free: 19.34 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.615e-06/0.008731, allocations: 4.375 kB / 383.3 MB, free: 19.34 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.008837, allocations: 50.95 kB / 383.3 MB, free: 19.28 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.008847, allocations: 3.938 kB / 383.3 MB, free: 19.27 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.008855, allocations: 7.984 kB / 383.3 MB, free: 19.27 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.00886, allocations: 0 / 383.3 MB, free: 19.27 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.325e-05/0.008884, allocations: 8 kB / 383.3 MB, free: 19.26 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001199/0.009004, allocations: 113.3 kB / 383.4 MB, free: 19.12 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.956e-05/0.009103, allocations: 51.03 kB / 383.5 MB, free: 19.06 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.091e-05/0.009124, allocations: 11.69 kB / 383.5 MB, free: 19.04 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.009139, allocations: 4 kB / 383.5 MB, free: 19.04 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.734e-05/0.009236, allocations: 65 kB / 383.6 MB, free: 18.96 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.593e-06/0.009238, allocations: 0 / 383.6 MB, free: 18.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001811/0.009419, allocations: 85.5 kB / 383.7 MB, free: 18.87 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/0.009446, allocations: 55.41 kB / 383.7 MB, free: 18.8 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.257e-05/0.009538, allocations: 222.5 kB / 383.9 MB, free: 18.57 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.859e-06/0.009548, allocations: 25.7 kB / 383.9 MB, free: 18.54 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.57e-05/0.009584, allocations: 150.8 kB / 384.1 MB, free: 18.39 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.371e-05/0.009628, allocations: 19.84 kB / 384.1 MB, free: 18.37 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.371e-05/0.009661, allocations: 27.34 kB / 384.1 MB, free: 18.33 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.08e-05/0.009722, allocations: 0.4962 MB / 384.6 MB, free: 17.82 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.542e-05/0.009738, allocations: 4 kB / 384.6 MB, free: 17.82 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.522e-05/0.009763, allocations: 35.33 kB / 384.7 MB, free: 17.78 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.357e-05/0.009806, allocations: 43.56 kB / 384.7 MB, free: 17.73 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.009809, allocations: 0 / 384.7 MB, free: 17.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.827e-05/0.009887, allocations: 61.64 kB / 384.8 MB, free: 17.66 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.009899, allocations: 8 kB / 384.8 MB, free: 17.65 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.009905, allocations: 0 / 384.8 MB, free: 17.65 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.009917, allocations: 3.938 kB / 384.8 MB, free: 17.65 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.285e-05/0.00998, allocations: 15.92 kB / 384.8 MB, free: 17.63 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.337e-06/0.009983, allocations: 0 / 384.8 MB, free: 17.63 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.308e-05/0.01002, allocations: 7.953 kB / 384.8 MB, free: 17.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.01002, allocations: 8.031 kB / 384.8 MB, free: 17.62 MB / 314.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 6.04e-05/0.01008, allocations: 164 kB / 385 MB, free: 17.45 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.375e-05/0.0101, allocations: 11.95 kB / 385 MB, free: 17.44 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001096/0.01021, allocations: 78.83 kB / 385.1 MB, free: 17.36 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.01021, allocations: 3.938 kB / 385.1 MB, free: 17.35 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.01021, allocations: 3.938 kB / 385.1 MB, free: 17.35 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.01022, allocations: 3.984 kB / 385.1 MB, free: 17.34 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.416e-05/0.01029, allocations: 113.2 kB / 385.2 MB, free: 17.21 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.01029, allocations: 0 / 385.2 MB, free: 17.21 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.047e-05/0.01031, allocations: 8 kB / 385.2 MB, free: 17.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.01032, allocations: 4 kB / 385.2 MB, free: 17.2 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-06/0.01032, allocations: 0 / 385.2 MB, free: 17.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.01032, allocations: 0 / 385.2 MB, free: 17.2 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01032, allocations: 0 / 385.2 MB, free: 17.2 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.392e-05/0.01041, allocations: 120.4 kB / 385.3 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.331e-05/0.01042, allocations: 8.016 kB / 385.3 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.01044, allocations: 8 kB / 385.3 MB, free: 17.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.348e-05/0.01046, allocations: 3.984 kB / 385.3 MB, free: 17.04 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.813e-05/0.01049, allocations: 8 kB / 385.4 MB, free: 17.03 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.0105, allocations: 3.938 kB / 385.4 MB, free: 17.02 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.692e-05/0.01056, allocations: 163.8 kB / 385.5 MB, free: 16.86 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01056, allocations: 0 / 385.5 MB, free: 16.86 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000152/0.01071, allocations: 23.92 kB / 385.5 MB, free: 16.84 MB / 314.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.0008865/0.0116, allocations: 392.4 kB / 385.9 MB, free: 16.59 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00011/0.01171, allocations: 27.67 kB / 385.9 MB, free: 16.56 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01171, allocations: 0 / 385.9 MB, free: 16.56 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.002e-05/0.01174, allocations: 27.61 kB / 386 MB, free: 16.53 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002029/0.01194, allocations: 26.83 kB / 386 MB, free: 16.5 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003171/0.01226, allocations: 188 kB / 386.2 MB, free: 16.29 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.623e-05/0.01228, allocations: 67.28 kB / 386.3 MB, free: 16.21 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.229e-05/0.01232, allocations: 16.53 kB / 386.3 MB, free: 16.19 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.356e-05/0.01237, allocations: 98.12 kB / 386.4 MB, free: 16.09 MB / 314.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01237, allocations: 0 / 386.4 MB, free: 16.09 MB / 314.7 MB Notification: Performance of Templates: time 0.003487/0.01586, allocations: 1.799 MB / 388.2 MB, free: 14.32 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.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.1518414933234453]