Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.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.001044/0.001044, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001112/0.001112, allocations: 165 kB / 23.79 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9313/0.9313, allocations: 158.6 MB / 185.7 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1486/0.1486, allocations: 32.38 MB / 270.4 MB, free: 14.69 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 3.938 kB / 347.8 MB, free: 9.367 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.259e-05/3.471e-05, allocations: 6.25 kB / 347.8 MB, free: 9.359 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003023/0.003058, allocations: 1.726 MB / 349.5 MB, free: 7.621 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001159/0.004217, allocations: 0.7998 MB / 350.3 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.368e-05/0.004291, allocations: 0 / 350.3 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003755/0.004666, allocations: 87.64 kB / 350.4 MB, free: 6.727 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002819/0.004948, allocations: 83.64 kB / 350.5 MB, free: 6.645 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002621/0.00521, allocations: 83.7 kB / 350.5 MB, free: 6.562 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001791/0.005389, allocations: 111.7 kB / 350.6 MB, free: 6.453 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.005496, allocations: 8.234 kB / 350.7 MB, free: 6.445 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.005596, allocations: 67.73 kB / 350.7 MB, free: 6.379 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001087/0.005705, allocations: 63.86 kB / 350.8 MB, free: 6.316 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.274e-05/0.005728, allocations: 4 kB / 350.8 MB, free: 6.312 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001206/0.005848, allocations: 39.92 kB / 350.8 MB, free: 6.273 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.81e-05/0.005937, allocations: 31.86 kB / 350.9 MB, free: 6.242 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.6e-05/0.005993, allocations: 19.92 kB / 350.9 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000234/0.006227, allocations: 103.6 kB / 351 MB, free: 6.121 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.006231, allocations: 4 kB / 351 MB, free: 6.117 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.006233, allocations: 0 / 351 MB, free: 6.117 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.006239, allocations: 0 / 351 MB, free: 6.117 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.0005291/0.006768, allocations: 455.8 kB / 351.4 MB, free: 5.637 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.006813, allocations: 8.031 kB / 351.4 MB, free: 5.629 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.143e-05/0.006874, allocations: 16.84 kB / 351.4 MB, free: 5.613 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/0.007044, allocations: 148.4 kB / 351.6 MB, free: 5.441 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/0.007066, allocations: 8.375 kB / 351.6 MB, free: 5.434 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.755e-05/0.007094, allocations: 4.359 kB / 351.6 MB, free: 5.43 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.007223, allocations: 66.88 kB / 351.7 MB, free: 5.355 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.007233, allocations: 7.938 kB / 351.7 MB, free: 5.348 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.007244, allocations: 0 / 351.7 MB, free: 5.348 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.007252, allocations: 0 / 351.7 MB, free: 5.348 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.898e-05/0.007291, allocations: 8 kB / 351.7 MB, free: 5.34 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002909/0.007582, allocations: 295.7 kB / 352 MB, free: 5.016 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.007695, allocations: 59.09 kB / 352 MB, free: 4.945 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.314e-05/0.007728, allocations: 19.61 kB / 352.1 MB, free: 4.922 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.007746, allocations: 8 kB / 352.1 MB, free: 4.914 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001046/0.00785, allocations: 65.05 kB / 352.1 MB, free: 4.836 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.007851, allocations: 4 kB / 352.1 MB, free: 4.832 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004172/0.008269, allocations: 157.7 kB / 352.3 MB, free: 4.672 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.264e-05/0.008291, allocations: 51.41 kB / 352.3 MB, free: 4.609 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.008424, allocations: 249.9 kB / 352.6 MB, free: 4.348 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/0.008434, allocations: 25.7 kB / 352.6 MB, free: 4.316 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.358e-05/0.008478, allocations: 154.9 kB / 352.8 MB, free: 4.16 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.773e-05/0.008506, allocations: 31.78 kB / 352.8 MB, free: 4.129 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.941e-05/0.008545, allocations: 31.36 kB / 352.8 MB, free: 4.09 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.288e-05/0.008598, allocations: 0.5001 MB / 353.3 MB, free: 3.578 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.9e-05/0.008627, allocations: 11.94 kB / 353.3 MB, free: 3.566 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.019e-05/0.008667, allocations: 39.36 kB / 353.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.484e-05/0.008732, allocations: 55.36 kB / 353.4 MB, free: 3.457 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.008734, allocations: 0 / 353.4 MB, free: 3.457 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001318/0.008865, allocations: 89.61 kB / 353.5 MB, free: 3.363 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.008879, allocations: 4 kB / 353.5 MB, free: 3.359 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.008885, allocations: 80 / 353.5 MB, free: 3.359 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.008903, allocations: 7.938 kB / 353.5 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.306e-05/0.008986, allocations: 19.98 kB / 353.5 MB, free: 3.332 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.453e-06/0.008992, allocations: 3.984 kB / 353.5 MB, free: 3.328 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.613e-05/0.009028, allocations: 8.031 kB / 353.5 MB, free: 3.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/0.009035, allocations: 0 / 353.5 MB, free: 3.32 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.915e-05/0.009094, allocations: 170.7 kB / 353.7 MB, free: 3.145 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.999e-05/0.009114, allocations: 15.91 kB / 353.7 MB, free: 3.129 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001695/0.009284, allocations: 107.1 kB / 353.8 MB, free: 3.016 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.009286, allocations: 0 / 353.8 MB, free: 3.016 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.009289, allocations: 0 / 353.8 MB, free: 3.016 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.009293, allocations: 0 / 353.8 MB, free: 3.016 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002682/0.009561, allocations: 401 kB / 354.2 MB, free: 2.578 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.009563, allocations: 4.031 kB / 354.2 MB, free: 2.574 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.248e-05/0.009596, allocations: 8 kB / 354.2 MB, free: 2.566 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.009598, allocations: 4 kB / 354.2 MB, free: 2.562 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.009607, allocations: 0 / 354.2 MB, free: 2.562 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.009609, allocations: 0 / 354.2 MB, free: 2.562 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.009611, allocations: 4 kB / 354.2 MB, free: 2.559 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/0.009752, allocations: 263.4 kB / 354.5 MB, free: 2.277 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.312e-05/0.009765, allocations: 11.91 kB / 354.5 MB, free: 2.266 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.009786, allocations: 3.984 kB / 354.5 MB, free: 2.262 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.158e-05/0.009847, allocations: 4 kB / 354.5 MB, free: 2.258 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.009882, allocations: 11.98 kB / 354.5 MB, free: 2.246 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.009896, allocations: 4 kB / 354.5 MB, free: 2.242 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.421e-05/0.009971, allocations: 179.1 kB / 354.7 MB, free: 2.066 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009971, allocations: 0 / 354.7 MB, free: 2.066 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002867/0.01026, allocations: 31.92 kB / 354.7 MB, free: 2.035 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.001141/0.0114, allocations: 439.8 kB / 355.2 MB, free: 1.699 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001306/0.01153, allocations: 59.53 kB / 355.2 MB, free: 1.637 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.01153, allocations: 3.938 kB / 355.2 MB, free: 1.633 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.369e-05/0.01157, allocations: 35.89 kB / 355.3 MB, free: 1.594 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/0.01192, allocations: 32.12 kB / 355.3 MB, free: 1.562 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000363/0.01228, allocations: 241.4 kB / 355.5 MB, free: 1.297 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.581e-05/0.01232, allocations: 71.28 kB / 355.6 MB, free: 1.207 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.84e-05/0.01236, allocations: 12.48 kB / 355.6 MB, free: 1.195 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.629e-05/0.01239, allocations: 16.5 kB / 355.6 MB, free: 1.176 MB / 282.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01239, allocations: 0 / 355.6 MB, free: 1.176 MB / 282.7 MB Notification: Performance of Templates: time 0.004158/0.01655, allocations: 1.855 MB / 357.5 MB, free: 15.34 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.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.3986460021696985]