Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001419/0.001419, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001525/0.001525, allocations: 161.4 kB / 24.56 MB, free: 20 kB / 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.005/1.005, allocations: 177.2 MB / 205 MB, free: 5.281 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.2548/0.2548, allocations: 32.8 MB / 294.3 MB, free: 1.223 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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 376.1 MB, free: 4.586 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.535e-05, allocations: 9.344 kB / 376.1 MB, free: 4.578 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003397/0.003422, allocations: 1.852 MB / 378 MB, free: 2.711 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001564/0.004987, allocations: 1.08 MB / 379 MB, free: 1.625 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.938e-05/0.005066, allocations: 0 / 379 MB, free: 1.625 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004983/0.005564, allocations: 311.1 kB / 379.3 MB, free: 1.32 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004281/0.005992, allocations: 263 kB / 379.6 MB, free: 1.062 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001992/0.006192, allocations: 107.6 kB / 379.7 MB, free: 0.957 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002907/0.006482, allocations: 267.2 kB / 380 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.354e-05/0.006526, allocations: 13.81 kB / 380 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001725/0.006698, allocations: 155.6 kB / 380.1 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002071/0.006905, allocations: 203.6 kB / 380.3 MB, free: 336 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.548e-05/0.006931, allocations: 8 kB / 380.3 MB, free: 328 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.675e-05/0.007028, allocations: 47.92 kB / 380.4 MB, free: 280 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000127/0.007155, allocations: 147.5 kB / 380.5 MB, free: 132 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.533e-05/0.00724, allocations: 71.67 kB / 380.6 MB, free: 60 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003604/0.0076, allocations: 282.9 kB / 380.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.007602, allocations: 0 / 380.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.007603, allocations: 4 kB / 380.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.007608, allocations: 4 kB / 380.9 MB, free: 15.77 MB / 362.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.0008054/0.008413, allocations: 0.7901 MB / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.008449, allocations: 8.031 kB / 381.7 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.806e-05/0.008527, allocations: 56.56 kB / 381.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003718/0.008899, allocations: 328.7 kB / 382.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.008919, allocations: 8.375 kB / 382.1 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.008935, allocations: 8.312 kB / 382.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.009108, allocations: 90.28 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.009123, allocations: 7.938 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.009137, allocations: 11.98 kB / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.009146, allocations: 0 / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.749e-05/0.009203, allocations: 19.97 kB / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003366/0.00954, allocations: 316.2 kB / 382.5 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001598/0.009699, allocations: 94.22 kB / 382.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.041e-05/0.00975, allocations: 31.36 kB / 382.6 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.009767, allocations: 4 kB / 382.6 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001468/0.009913, allocations: 112.3 kB / 382.7 MB, free: 13.73 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.012e-06/0.009914, allocations: 0 / 382.7 MB, free: 13.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003147/0.01023, allocations: 185.1 kB / 382.9 MB, free: 13.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.01027, allocations: 77.11 kB / 383 MB, free: 13.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006474/0.01092, allocations: 0.7097 MB / 383.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.01093, allocations: 33.7 kB / 383.7 MB, free: 12.69 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/0.01112, allocations: 302.8 kB / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.407e-05/0.01116, allocations: 35.73 kB / 384.1 MB, free: 12.35 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-05/0.0112, allocations: 31.38 kB / 384.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.01139, allocations: 0.5587 MB / 384.7 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.985e-05/0.01143, allocations: 23.92 kB / 384.7 MB, free: 11.72 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.77e-05/0.01148, allocations: 54.73 kB / 384.7 MB, free: 11.65 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003548/0.01184, allocations: 83.17 kB / 384.8 MB, free: 11.55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.01184, allocations: 0 / 384.8 MB, free: 11.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001969/0.01204, allocations: 149.3 kB / 385 MB, free: 11.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.01205, allocations: 4 kB / 385 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.01206, allocations: 3.938 kB / 385 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.01207, allocations: 8.062 kB / 385 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.01218, allocations: 27.92 kB / 385 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.01219, allocations: 3.938 kB / 385 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.199e-05/0.01226, allocations: 7.953 kB / 385 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.01227, allocations: 8 kB / 385 MB, free: 11.34 MB / 362.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.0001029/0.01237, allocations: 165.2 kB / 385.2 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.484e-05/0.01243, allocations: 55.67 kB / 385.2 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002458/0.01267, allocations: 165.8 kB / 385.4 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.01268, allocations: 4 kB / 385.4 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.01268, allocations: 4 kB / 385.4 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.01268, allocations: 0 / 385.4 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000273/0.01296, allocations: 324.4 kB / 385.7 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.01296, allocations: 0 / 385.7 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.495e-05/0.01299, allocations: 12 kB / 385.7 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.01299, allocations: 0 / 385.7 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.01301, allocations: 7.922 kB / 385.7 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.01301, allocations: 8.188 kB / 385.8 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01301, allocations: 0 / 385.8 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002205/0.01323, allocations: 215.7 kB / 386 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.705e-05/0.01331, allocations: 63.59 kB / 386 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.238e-05/0.01334, allocations: 4 kB / 386 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.635e-05/0.0134, allocations: 7.938 kB / 386 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.234e-05/0.01344, allocations: 15.97 kB / 386.1 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.01346, allocations: 7.984 kB / 386.1 MB, free: 10.22 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004238/0.01388, allocations: 486.8 kB / 386.5 MB, free: 9.746 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01388, allocations: 0 / 386.5 MB, free: 9.746 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002539/0.01414, allocations: 43.98 kB / 386.6 MB, free: 9.703 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: 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.0009631/0.0151, allocations: 397.7 kB / 387 MB, free: 9.449 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001505/0.01525, allocations: 67.59 kB / 387 MB, free: 9.379 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.01525, allocations: 0 / 387 MB, free: 9.379 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.826e-05/0.01531, allocations: 39.61 kB / 387.1 MB, free: 9.336 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/0.01565, allocations: 84.31 kB / 387.2 MB, free: 9.262 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007888/0.01644, allocations: 0.6753 MB / 387.8 MB, free: 8.551 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.118e-05/0.01653, allocations: 128.2 kB / 388 MB, free: 8.406 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.621e-05/0.01661, allocations: 42.94 kB / 388 MB, free: 8.359 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.074e-05/0.01667, allocations: 28.5 kB / 388 MB, free: 8.332 MB / 362.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01667, allocations: 0 / 388 MB, free: 8.332 MB / 362.7 MB Notification: Performance of Templates: time 0.00748/0.02415, allocations: 4.06 MB / 392.1 MB, free: 4.305 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.286389409098774]