Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.0008119/0.0008119, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001138/0.00195, 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.0007422/0.0007422, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009166/0.001659, 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 0.9964/0.9964, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1127/1.109, allocations: 53.65 MB / 243.3 MB, free: 15.6 MB / 250.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.2938/0.2938, allocations: 32.8 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02286/0.3167, allocations: 12.52 MB / 289.3 MB, free: 8.691 MB / 282.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 290.7 MB, free: 7.598 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.404e-05/1.528e-05, allocations: 3.297 kB / 290.7 MB, free: 7.594 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.002531/0.002546, allocations: 2.001 MB / 292.7 MB, free: 5.98 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003839/0.006385, allocations: 1.052 MB / 293.7 MB, free: 5.172 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.006494, allocations: 4 kB / 293.7 MB, free: 5.168 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002542/0.006748, allocations: 47.62 kB / 293.8 MB, free: 5.121 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002824/0.007031, allocations: 91.42 kB / 293.9 MB, free: 5.031 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002546/0.007285, allocations: 111.5 kB / 294 MB, free: 4.922 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002639/0.007549, allocations: 143.6 kB / 294.1 MB, free: 4.781 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.007667, allocations: 22.45 kB / 294.2 MB, free: 4.758 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001908/0.007858, allocations: 115.5 kB / 294.3 MB, free: 4.645 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.00797, allocations: 35.83 kB / 294.3 MB, free: 4.609 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.007994, allocations: 8 kB / 294.3 MB, free: 4.602 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.008106, allocations: 43.98 kB / 294.4 MB, free: 4.559 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.893e-05/0.008165, allocations: 27.86 kB / 294.4 MB, free: 4.531 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.261e-05/0.008218, allocations: 23.94 kB / 294.4 MB, free: 4.508 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002526/0.00847, allocations: 119.5 kB / 294.5 MB, free: 4.391 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.747e-05/0.008488, allocations: 8 kB / 294.5 MB, free: 4.383 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.008489, allocations: 0 / 294.5 MB, free: 4.383 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.703e-05/0.008506, allocations: 0 / 294.5 MB, free: 4.383 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006501/0.009156, allocations: 414 kB / 294.9 MB, free: 3.949 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.00919, allocations: 12.03 kB / 294.9 MB, free: 3.938 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.647e-05/0.009237, allocations: 12.92 kB / 295 MB, free: 3.926 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002273/0.009464, allocations: 166.3 kB / 295.1 MB, free: 3.734 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.009484, allocations: 4.375 kB / 295.1 MB, free: 3.73 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/0.009508, allocations: 8.375 kB / 295.1 MB, free: 3.723 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/0.009714, allocations: 136.5 kB / 295.3 MB, free: 3.566 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.009726, allocations: 7.938 kB / 295.3 MB, free: 3.559 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.009736, allocations: 0 / 295.3 MB, free: 3.559 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.009743, allocations: 0 / 295.3 MB, free: 3.559 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.206e-05/0.009805, allocations: 26.75 kB / 295.3 MB, free: 3.531 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004209/0.01023, allocations: 378 kB / 295.7 MB, free: 3.137 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002234/0.01045, allocations: 105.2 kB / 295.8 MB, free: 3.023 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.343e-05/0.01048, allocations: 20.86 kB / 295.8 MB, free: 3 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.0105, allocations: 4 kB / 295.8 MB, free: 2.996 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001497/0.01065, allocations: 91.84 kB / 295.9 MB, free: 2.887 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.01065, allocations: 0 / 295.9 MB, free: 2.887 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001751/0.01082, allocations: 81.59 kB / 296 MB, free: 2.801 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/0.01086, allocations: 51.41 kB / 296 MB, free: 2.738 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.01101, allocations: 193.6 kB / 296.2 MB, free: 2.535 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.01103, allocations: 25.7 kB / 296.2 MB, free: 2.504 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.59e-05/0.0111, allocations: 108 kB / 296.3 MB, free: 2.395 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.01113, allocations: 35.77 kB / 296.4 MB, free: 2.359 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.047e-05/0.01118, allocations: 29.7 kB / 296.4 MB, free: 2.324 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.0113, allocations: 334.7 kB / 296.7 MB, free: 1.988 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.62e-05/0.01134, allocations: 10.83 kB / 296.7 MB, free: 1.977 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.794e-05/0.01139, allocations: 41.03 kB / 296.8 MB, free: 1.922 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.502e-05/0.01148, allocations: 73.89 kB / 296.8 MB, free: 1.832 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.01149, allocations: 3.984 kB / 296.9 MB, free: 1.828 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001462/0.01163, allocations: 92.38 kB / 296.9 MB, free: 1.73 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.01165, allocations: 4 kB / 296.9 MB, free: 1.727 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.01166, allocations: 7.938 kB / 297 MB, free: 1.719 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.01167, allocations: 3.938 kB / 297 MB, free: 1.715 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.01177, allocations: 23.98 kB / 297 MB, free: 1.691 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.01178, allocations: 4 kB / 297 MB, free: 1.688 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.672e-05/0.01183, allocations: 15.94 kB / 297 MB, free: 1.672 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.01184, allocations: 4 kB / 297 MB, free: 1.668 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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 9.911e-05/0.01194, allocations: 131 kB / 297.1 MB, free: 1.531 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.486e-05/0.01197, allocations: 11.98 kB / 297.1 MB, free: 1.52 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001588/0.01213, allocations: 75.12 kB / 297.2 MB, free: 1.441 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.01213, allocations: 0 / 297.2 MB, free: 1.441 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.01213, allocations: 4 kB / 297.2 MB, free: 1.438 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.952e-06/0.01214, allocations: 3.938 kB / 297.2 MB, free: 1.434 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001379/0.01228, allocations: 105.7 kB / 297.3 MB, free: 1.312 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.01228, allocations: 7.938 kB / 297.3 MB, free: 1.305 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.806e-05/0.01237, allocations: 16 kB / 297.4 MB, free: 1.289 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.913e-05/0.01239, allocations: 7.953 kB / 297.4 MB, free: 1.281 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.01239, allocations: 4 kB / 297.4 MB, free: 1.277 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.0124, allocations: 3.984 kB / 297.4 MB, free: 1.273 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.01241, allocations: 0 / 297.4 MB, free: 1.273 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.01241, allocations: 0 / 297.4 MB, free: 1.273 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001944/0.0126, allocations: 121 kB / 297.5 MB, free: 1.137 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.01263, allocations: 4 kB / 297.5 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.425e-05/0.01268, allocations: 7.984 kB / 297.5 MB, free: 1.125 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.109e-05/0.01272, allocations: 7.984 kB / 297.5 MB, free: 1.117 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.01274, allocations: 4 kB / 297.5 MB, free: 1.113 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.794e-05/0.01282, allocations: 57.41 kB / 297.6 MB, free: 1.055 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01282, allocations: 32 / 297.6 MB, free: 1.055 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002196/0.01304, allocations: 31.94 kB / 297.6 MB, free: 1.023 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001971/0.01501, allocations: 0.5459 MB / 298.1 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001521/0.01516, allocations: 56.64 kB / 298.2 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.279e-05/0.01517, allocations: 4 kB / 298.2 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.649e-05/0.01523, allocations: 28.78 kB / 298.2 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/0.01546, allocations: 56.14 kB / 298.3 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007151/0.01618, allocations: 250.6 kB / 298.5 MB, free: 372 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.604e-05/0.01623, allocations: 67.84 kB / 298.6 MB, free: 284 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.451e-05/0.0163, allocations: 13.48 kB / 298.6 MB, free: 272 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.01642, allocations: 87.28 kB / 298.7 MB, free: 184 kB / 282.7 MB Notification: Performance of SimCode: time 9.72e-07/0.01642, allocations: 0 / 298.7 MB, free: 184 kB / 282.7 MB Notification: Performance of Templates: time 0.006169/0.02259, allocations: 2.239 MB / 300.9 MB, free: 13.98 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.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.1727188350632787]