Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.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.001113/0.001113, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001936/0.003049, 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.001209/0.001209, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001496/0.002704, 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.015/1.015, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1039/1.119, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.2994/0.2994, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0251/0.3245, allocations: 13.1 MB / 291.3 MB, free: 7.367 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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 292.7 MB, free: 6.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.493e-05/2.655e-05, allocations: 5.328 kB / 292.7 MB, free: 6.215 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.003651/0.003677, allocations: 1.815 MB / 294.5 MB, free: 4.387 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002083/0.00576, allocations: 1.018 MB / 295.5 MB, free: 3.363 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.005871, allocations: 4 kB / 295.5 MB, free: 3.359 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002833/0.006154, allocations: 31.77 kB / 295.6 MB, free: 3.328 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003561/0.00651, allocations: 103.4 kB / 295.7 MB, free: 3.227 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000285/0.006795, allocations: 79.66 kB / 295.8 MB, free: 3.148 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002325/0.007027, allocations: 107.6 kB / 295.9 MB, free: 3.043 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.893e-05/0.007126, allocations: 11.92 kB / 295.9 MB, free: 3.031 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001841/0.00731, allocations: 71.89 kB / 295.9 MB, free: 2.961 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.007415, allocations: 35.83 kB / 296 MB, free: 2.926 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/0.007437, allocations: 4 kB / 296 MB, free: 2.922 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001227/0.00756, allocations: 47.86 kB / 296 MB, free: 2.875 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.658e-05/0.007616, allocations: 15.94 kB / 296 MB, free: 2.859 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.405e-05/0.00766, allocations: 11.94 kB / 296.1 MB, free: 2.848 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002309/0.007891, allocations: 103.7 kB / 296.2 MB, free: 2.746 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.946e-05/0.007911, allocations: 0 / 296.2 MB, free: 2.746 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.007912, allocations: 0 / 296.2 MB, free: 2.746 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.915e-05/0.007931, allocations: 0 / 296.2 MB, free: 2.746 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006185/0.00855, allocations: 333 kB / 296.5 MB, free: 2.398 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.008598, allocations: 12.03 kB / 296.5 MB, free: 2.387 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.087e-05/0.008659, allocations: 8.922 kB / 296.5 MB, free: 2.379 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002513/0.00891, allocations: 154.2 kB / 296.7 MB, free: 2.203 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/0.008933, allocations: 384 / 296.7 MB, free: 2.203 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.008956, allocations: 8.375 kB / 296.7 MB, free: 2.195 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.009124, allocations: 61.77 kB / 296.7 MB, free: 2.125 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.009139, allocations: 3.938 kB / 296.7 MB, free: 2.121 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.009149, allocations: 3.984 kB / 296.7 MB, free: 2.117 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.009158, allocations: 3.984 kB / 296.7 MB, free: 2.113 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.575e-05/0.009203, allocations: 12 kB / 296.7 MB, free: 2.102 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002945/0.009498, allocations: 165.9 kB / 296.9 MB, free: 1.922 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/0.009624, allocations: 85.28 kB / 297 MB, free: 1.828 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.425e-05/0.009659, allocations: 20.92 kB / 297 MB, free: 1.805 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.009673, allocations: 0 / 297 MB, free: 1.805 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000143/0.009816, allocations: 66.16 kB / 297.1 MB, free: 1.727 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 2.104e-06/0.009818, allocations: 0 / 297.1 MB, free: 1.727 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004447/0.01026, allocations: 113.5 kB / 297.2 MB, free: 1.609 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.0103, allocations: 51.41 kB / 297.2 MB, free: 1.547 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.01045, allocations: 181.2 kB / 297.4 MB, free: 1.355 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.01047, allocations: 33.7 kB / 297.4 MB, free: 1.316 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.902e-05/0.01051, allocations: 92.12 kB / 297.5 MB, free: 1.223 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.425e-05/0.01054, allocations: 23.83 kB / 297.6 MB, free: 1.199 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.04e-05/0.01059, allocations: 25.66 kB / 297.6 MB, free: 1.168 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.0107, allocations: 330.8 kB / 297.9 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.736e-05/0.01072, allocations: 10.83 kB / 297.9 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.763e-05/0.01076, allocations: 21.72 kB / 297.9 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.127e-05/0.01082, allocations: 40.5 kB / 298 MB, free: 0.75 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.01082, allocations: 3.938 kB / 298 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001207/0.01094, allocations: 80.44 kB / 298.1 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.01096, allocations: 8 kB / 298.1 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.01097, allocations: 0 / 298.1 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.01098, allocations: 0 / 298.1 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.01108, allocations: 19.98 kB / 298.1 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.01109, allocations: 7.969 kB / 298.1 MB, free: 0.625 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.988e-05/0.01113, allocations: 0 / 298.1 MB, free: 0.625 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-06/0.01113, allocations: 8 kB / 298.1 MB, free: 0.6172 MB / 282.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 (10): * Single equations (assignments): 10 * 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 8.612e-05/0.01122, allocations: 116.6 kB / 298.2 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.422e-05/0.01125, allocations: 11.92 kB / 298.2 MB, free: 492 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001564/0.0114, allocations: 75.08 kB / 298.3 MB, free: 412 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.01141, allocations: 4 kB / 298.3 MB, free: 408 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.01141, allocations: 0 / 298.3 MB, free: 408 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.01141, allocations: 3.984 kB / 298.3 MB, free: 404 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003375/0.01175, allocations: 303.4 kB / 298.6 MB, free: 72 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.01175, allocations: 0 / 298.6 MB, free: 72 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.102e-05/0.0118, allocations: 8 kB / 298.6 MB, free: 64 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.669e-05/0.01182, allocations: 7.953 kB / 298.6 MB, free: 56 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.01183, allocations: 7.984 kB / 298.6 MB, free: 48 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.01184, allocations: 384 / 298.6 MB, free: 48 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.01184, allocations: 0 / 298.6 MB, free: 48 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.01184, allocations: 0 / 298.6 MB, free: 48 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000171/0.01201, allocations: 231 kB / 298.9 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.01203, allocations: 0 / 298.9 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.302e-05/0.0121, allocations: 7.984 kB / 298.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.015e-05/0.01214, allocations: 8.031 kB / 298.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.01215, allocations: 7.984 kB / 298.9 MB, free: 15.78 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.139e-05/0.01221, allocations: 43.66 kB / 298.9 MB, free: 15.73 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01221, allocations: 0 / 298.9 MB, free: 15.73 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002444/0.01246, allocations: 23.98 kB / 298.9 MB, free: 15.71 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: 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 (9): * Single equations (assignments): 7 * 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.002103/0.01456, allocations: 0.6463 MB / 299.6 MB, free: 15.42 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001368/0.0147, allocations: 40.78 kB / 299.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.775e-05/0.01472, allocations: 4 kB / 299.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.501e-05/0.01476, allocations: 32.91 kB / 299.7 MB, free: 15.34 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.01503, allocations: 47.09 kB / 299.7 MB, free: 15.3 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006265/0.01566, allocations: 219.9 kB / 299.9 MB, free: 15.05 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.015e-05/0.01571, allocations: 67.34 kB / 300 MB, free: 14.96 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.601e-05/0.01576, allocations: 12.97 kB / 300 MB, free: 14.95 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.012e-05/0.01585, allocations: 75.28 kB / 300.1 MB, free: 14.88 MB / 298.7 MB Notification: Performance of SimCode: time 1.002e-06/0.01585, allocations: 0 / 300.1 MB, free: 14.88 MB / 298.7 MB Notification: Performance of Templates: time 0.005228/0.02108, allocations: 2.041 MB / 302.1 MB, free: 12.86 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.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.0237856870517135]