Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.0007486/0.0007486, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001011/0.00176, 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.0007121/0.0007121, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009226/0.001635, 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.022/1.022, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1203/1.142, allocations: 53.65 MB / 243.3 MB, free: 15.57 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.2898/0.2898, allocations: 32.8 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02515/0.3149, allocations: 12.53 MB / 289.3 MB, free: 8.672 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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 290.7 MB, free: 7.578 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.327e-06/1.041e-05, allocations: 3.188 kB / 290.7 MB, free: 7.574 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.001983/0.001994, allocations: 1.804 MB / 292.5 MB, free: 6.109 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001639/0.003633, allocations: 1.762 MB / 294.3 MB, free: 4.625 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.074e-05/0.003694, allocations: 3.938 kB / 294.3 MB, free: 4.621 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001421/0.003836, allocations: 35.77 kB / 294.3 MB, free: 4.586 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002127/0.004048, allocations: 100.4 kB / 294.4 MB, free: 4.488 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000148/0.004196, allocations: 75.67 kB / 294.5 MB, free: 4.414 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001263/0.004323, allocations: 111.6 kB / 294.6 MB, free: 4.305 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.014e-05/0.004383, allocations: 12.73 kB / 294.6 MB, free: 4.293 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.004491, allocations: 87.75 kB / 294.7 MB, free: 4.207 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.19e-05/0.004573, allocations: 27.91 kB / 294.7 MB, free: 4.18 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.004588, allocations: 8 kB / 294.7 MB, free: 4.172 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001613/0.004749, allocations: 111.8 kB / 294.8 MB, free: 4.062 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.149e-05/0.004781, allocations: 11.94 kB / 294.8 MB, free: 4.051 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.625e-05/0.004807, allocations: 19.94 kB / 294.9 MB, free: 4.031 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001845/0.004991, allocations: 155.4 kB / 295 MB, free: 3.879 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.223e-05/0.005004, allocations: 0 / 295 MB, free: 3.879 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.005004, allocations: 0 / 295 MB, free: 3.879 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.298e-05/0.005017, allocations: 0 / 295 MB, free: 3.879 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.0003848/0.005402, allocations: 348.4 kB / 295.3 MB, free: 3.516 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.005434, allocations: 12.03 kB / 295.4 MB, free: 3.504 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.064e-05/0.005464, allocations: 8.922 kB / 295.4 MB, free: 3.496 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.005599, allocations: 146.2 kB / 295.5 MB, free: 3.328 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.005611, allocations: 4.375 kB / 295.5 MB, free: 3.324 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.005624, allocations: 4.375 kB / 295.5 MB, free: 3.32 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/0.005736, allocations: 112.5 kB / 295.6 MB, free: 3.188 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.005743, allocations: 0 / 295.6 MB, free: 3.188 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.501e-06/0.005749, allocations: 0 / 295.6 MB, free: 3.188 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.005753, allocations: 0 / 295.6 MB, free: 3.188 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.574e-05/0.005779, allocations: 10.83 kB / 295.6 MB, free: 3.176 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001748/0.005954, allocations: 170 kB / 295.8 MB, free: 2.992 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.536e-05/0.006029, allocations: 85.28 kB / 295.9 MB, free: 2.898 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.936e-05/0.006049, allocations: 28.72 kB / 295.9 MB, free: 2.867 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.536e-06/0.006057, allocations: 0 / 295.9 MB, free: 2.867 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.47e-05/0.006142, allocations: 66.17 kB / 296 MB, free: 2.789 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 8.12e-07/0.006143, allocations: 0 / 296 MB, free: 2.789 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002479/0.006391, allocations: 109.8 kB / 296.1 MB, free: 2.676 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.408e-05/0.006415, allocations: 51.41 kB / 296.1 MB, free: 2.613 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.822e-05/0.006513, allocations: 166.6 kB / 296.3 MB, free: 2.438 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.006528, allocations: 29.69 kB / 296.3 MB, free: 2.402 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.098e-05/0.006559, allocations: 88.12 kB / 296.4 MB, free: 2.312 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.357e-05/0.006583, allocations: 39.72 kB / 296.5 MB, free: 2.273 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.043e-05/0.006613, allocations: 21.72 kB / 296.5 MB, free: 2.246 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.831e-05/0.006691, allocations: 326.8 kB / 296.8 MB, free: 1.918 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.312e-05/0.006704, allocations: 6.828 kB / 296.8 MB, free: 1.91 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.421e-05/0.006739, allocations: 60.2 kB / 296.9 MB, free: 1.836 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.306e-05/0.006782, allocations: 44.45 kB / 296.9 MB, free: 1.785 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.006783, allocations: 0 / 296.9 MB, free: 1.785 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.326e-05/0.006846, allocations: 64.44 kB / 297 MB, free: 1.715 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.248e-06/0.006855, allocations: 8 kB / 297 MB, free: 1.707 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.006859, allocations: 4.062 kB / 297 MB, free: 1.703 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.216e-06/0.006867, allocations: 3.984 kB / 297 MB, free: 1.699 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.676e-05/0.006924, allocations: 23.94 kB / 297 MB, free: 1.676 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.304e-06/0.006926, allocations: 0 / 297 MB, free: 1.676 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.584e-05/0.006952, allocations: 4 kB / 297 MB, free: 1.672 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.006957, allocations: 3.984 kB / 297 MB, free: 1.668 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 5.502e-05/0.007012, allocations: 124.5 kB / 297.1 MB, free: 1.535 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.094e-05/0.007023, allocations: 8 kB / 297.1 MB, free: 1.527 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.318e-05/0.007106, allocations: 74.59 kB / 297.2 MB, free: 1.449 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.007108, allocations: 0 / 297.2 MB, free: 1.449 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.007109, allocations: 4 kB / 297.2 MB, free: 1.445 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.007111, allocations: 0 / 297.2 MB, free: 1.445 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001922/0.007303, allocations: 299.4 kB / 297.5 MB, free: 1.125 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.007305, allocations: 0 / 297.5 MB, free: 1.125 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.93e-05/0.007334, allocations: 15.94 kB / 297.5 MB, free: 1.109 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.085e-05/0.007345, allocations: 7.953 kB / 297.5 MB, free: 1.102 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.007349, allocations: 4 kB / 297.5 MB, free: 1.098 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.007355, allocations: 3.984 kB / 297.5 MB, free: 1.094 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.007356, allocations: 0 / 297.5 MB, free: 1.094 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.007357, allocations: 0 / 297.5 MB, free: 1.094 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.065e-05/0.007448, allocations: 223 kB / 297.8 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.007463, allocations: 4 kB / 297.8 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.771e-05/0.007501, allocations: 4 kB / 297.8 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.01e-05/0.007521, allocations: 7.969 kB / 297.8 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.007532, allocations: 8 kB / 297.8 MB, free: 0.832 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.624e-05/0.007568, allocations: 46.88 kB / 297.8 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007568, allocations: 0 / 297.8 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00017/0.007738, allocations: 47.8 kB / 297.9 MB, free: 0.7383 MB / 282.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.001624/0.009362, allocations: 0.7727 MB / 298.7 MB, free: 388 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.717e-05/0.009449, allocations: 44.77 kB / 298.7 MB, free: 340 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.009455, allocations: 0 / 298.7 MB, free: 340 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.687e-05/0.009482, allocations: 28.78 kB / 298.7 MB, free: 308 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001624/0.009644, allocations: 60.69 kB / 298.8 MB, free: 252 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00036/0.01, allocations: 203.5 kB / 299 MB, free: 16 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.627e-05/0.01005, allocations: 63.34 kB / 299 MB, free: 15.93 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.089e-05/0.01009, allocations: 21.27 kB / 299.1 MB, free: 15.91 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.933e-05/0.01016, allocations: 71.36 kB / 299.1 MB, free: 15.84 MB / 298.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01016, allocations: 0 / 299.1 MB, free: 15.84 MB / 298.7 MB Notification: Performance of Templates: time 0.004789/0.01495, allocations: 2.813 MB / 301.9 MB, free: 13.07 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.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: 2.9688888238742948]