Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.0009177/0.0009177, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001191/0.002109, 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.0009118/0.0009118, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000884/0.001796, 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.064/1.064, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1067/1.17, 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.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.3286/0.3286, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03731/0.3659, 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.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 290.7 MB, free: 7.582 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.191e-05/2.34e-05, allocations: 3.438 kB / 290.7 MB, free: 7.578 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.002633/0.002656, allocations: 1.814 MB / 292.5 MB, free: 6.105 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001493/0.004149, allocations: 1.02 MB / 293.5 MB, free: 5.34 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.004256, allocations: 0 / 293.5 MB, free: 5.34 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002959/0.004551, allocations: 49.14 kB / 293.6 MB, free: 5.309 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002351/0.004787, allocations: 92.44 kB / 293.7 MB, free: 5.23 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000167/0.004954, allocations: 87.59 kB / 293.8 MB, free: 5.145 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001725/0.005126, allocations: 111.6 kB / 293.9 MB, free: 5.035 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.441e-05/0.005221, allocations: 4.75 kB / 293.9 MB, free: 5.031 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001433/0.005364, allocations: 83.75 kB / 293.9 MB, free: 4.949 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.586e-05/0.00545, allocations: 31.89 kB / 294 MB, free: 4.918 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.005466, allocations: 4 kB / 294 MB, free: 4.914 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.316e-05/0.00555, allocations: 43.92 kB / 294 MB, free: 4.871 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.77e-05/0.005607, allocations: 15.94 kB / 294 MB, free: 4.855 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.672e-05/0.005654, allocations: 23.86 kB / 294.1 MB, free: 4.832 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001718/0.005826, allocations: 99.56 kB / 294.2 MB, free: 4.734 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.935e-05/0.005845, allocations: 3.984 kB / 294.2 MB, free: 4.73 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.005846, allocations: 4 kB / 294.2 MB, free: 4.727 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.493e-05/0.005861, allocations: 0 / 294.2 MB, free: 4.727 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.0005097/0.006371, allocations: 356.4 kB / 294.5 MB, free: 4.355 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.006409, allocations: 8.031 kB / 294.5 MB, free: 4.348 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.62e-05/0.006445, allocations: 12.92 kB / 294.5 MB, free: 4.336 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.006612, allocations: 150.4 kB / 294.7 MB, free: 4.16 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.006627, allocations: 384 / 294.7 MB, free: 4.16 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.006645, allocations: 4.375 kB / 294.7 MB, free: 4.156 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.006757, allocations: 61.77 kB / 294.8 MB, free: 4.086 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.006766, allocations: 7.875 kB / 294.8 MB, free: 4.078 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.006774, allocations: 4 kB / 294.8 MB, free: 4.074 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.006778, allocations: 0 / 294.8 MB, free: 4.074 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.489e-05/0.006803, allocations: 11.98 kB / 294.8 MB, free: 4.062 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002135/0.007017, allocations: 165.9 kB / 294.9 MB, free: 3.883 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.007118, allocations: 97.31 kB / 295 MB, free: 3.777 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.942e-05/0.007137, allocations: 8.859 kB / 295 MB, free: 3.766 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.00715, allocations: 0 / 295 MB, free: 3.766 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001268/0.007277, allocations: 70.09 kB / 295.1 MB, free: 3.684 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.007278, allocations: 4 kB / 295.1 MB, free: 3.68 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003517/0.00763, allocations: 113.8 kB / 295.2 MB, free: 3.562 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.03e-05/0.00767, allocations: 55.41 kB / 295.3 MB, free: 3.496 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.007797, allocations: 193.6 kB / 295.5 MB, free: 3.293 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.007816, allocations: 29.7 kB / 295.5 MB, free: 3.258 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.232e-05/0.007858, allocations: 100.1 kB / 295.6 MB, free: 3.156 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.191e-05/0.00789, allocations: 27.77 kB / 295.6 MB, free: 3.129 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.173e-05/0.007922, allocations: 17.72 kB / 295.6 MB, free: 3.105 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.72e-05/0.008019, allocations: 326.8 kB / 296 MB, free: 2.777 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.654e-05/0.008035, allocations: 10.83 kB / 296 MB, free: 2.766 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.53e-05/0.008061, allocations: 29.69 kB / 296 MB, free: 2.73 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.52e-05/0.008106, allocations: 40.47 kB / 296 MB, free: 2.684 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.008107, allocations: 0 / 296 MB, free: 2.684 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.694e-05/0.008194, allocations: 80.36 kB / 296.1 MB, free: 2.598 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.008207, allocations: 7.984 kB / 296.1 MB, free: 2.59 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.008212, allocations: 4 kB / 296.1 MB, free: 2.586 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.803e-06/0.008219, allocations: 0 / 296.1 MB, free: 2.586 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.207e-05/0.008291, allocations: 16 kB / 296.1 MB, free: 2.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.928e-06/0.008295, allocations: 3.938 kB / 296.1 MB, free: 2.566 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.649e-05/0.008321, allocations: 8.016 kB / 296.2 MB, free: 2.559 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.008329, allocations: 8 kB / 296.2 MB, free: 2.551 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 6.413e-05/0.008393, allocations: 112.7 kB / 296.3 MB, free: 2.43 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.17e-05/0.008405, allocations: 11.92 kB / 296.3 MB, free: 2.418 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001068/0.008512, allocations: 79.08 kB / 296.4 MB, free: 2.336 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.008514, allocations: 0 / 296.4 MB, free: 2.336 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.008516, allocations: 0 / 296.4 MB, free: 2.336 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.00852, allocations: 0 / 296.4 MB, free: 2.336 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002379/0.008758, allocations: 303.5 kB / 296.7 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.008759, allocations: 0 / 296.7 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.54e-05/0.008795, allocations: 16.03 kB / 296.7 MB, free: 1.996 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.181e-05/0.008806, allocations: 11.91 kB / 296.7 MB, free: 1.984 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.00881, allocations: 7.922 kB / 296.7 MB, free: 1.977 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-06/0.008816, allocations: 4 kB / 296.7 MB, free: 1.973 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.008818, allocations: 0 / 296.7 MB, free: 1.973 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.008819, allocations: 0 / 296.7 MB, free: 1.973 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001207/0.00894, allocations: 215.1 kB / 296.9 MB, free: 1.742 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.008958, allocations: 7.938 kB / 296.9 MB, free: 1.734 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.886e-05/0.008997, allocations: 3.984 kB / 296.9 MB, free: 1.73 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.115e-05/0.009028, allocations: 8 kB / 296.9 MB, free: 1.723 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.009042, allocations: 11.98 kB / 296.9 MB, free: 1.711 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.51e-05/0.009097, allocations: 65.41 kB / 297 MB, free: 1.645 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.009097, allocations: 0 / 297 MB, free: 1.645 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001463/0.009244, allocations: 23.94 kB / 297 MB, free: 1.621 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.001479/0.01072, allocations: 0.6349 MB / 297.7 MB, free: 1.34 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001179/0.01084, allocations: 44.72 kB / 297.7 MB, free: 1.293 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.086e-05/0.01085, allocations: 4 kB / 297.7 MB, free: 1.289 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.287e-05/0.01089, allocations: 24.78 kB / 297.7 MB, free: 1.262 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.01113, allocations: 50.62 kB / 297.8 MB, free: 1.215 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005468/0.01168, allocations: 242.6 kB / 298 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.094e-05/0.01174, allocations: 79.45 kB / 298.1 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.384e-05/0.01178, allocations: 13.28 kB / 298.1 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.118e-05/0.01186, allocations: 67.36 kB / 298.2 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of SimCode: time 7.42e-07/0.01186, allocations: 0 / 298.2 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of Templates: time 0.003829/0.01569, allocations: 2.052 MB / 300.2 MB, free: 14.75 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.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.0994886932894588]