Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 108.5 kB / 21.23 MB, free: 0.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 185.2 kB / 24.51 MB, free: 4.051 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] 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.2915/0.2915, allocations: 44.9 MB / 353.5 MB, free: 11.83 MB / 286.1 MB " [Timeout remaining time 179] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 63.91 kB / 497.8 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4724/0.4745, allocations: 64.29 MB / 0.5489 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.00411/0.4786, allocations: 1.733 MB / 0.5506 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001799/0.4804, allocations: 0.9036 MB / 0.5515 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.942e-05/0.4805, allocations: 3.938 kB / 0.5515 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000339/0.4808, allocations: 31.05 kB / 0.5515 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002692/0.4811, allocations: 61.81 kB / 0.5515 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003583/0.4815, allocations: 107.5 kB / 0.5516 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000214/0.4817, allocations: 105.8 kB / 0.5517 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.4818, allocations: 3.328 kB / 0.5517 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.4819, allocations: 49.38 kB / 0.5518 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.689e-05/0.482, allocations: 29.66 kB / 0.5518 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.226e-05/0.482, allocations: 7.875 kB / 0.5518 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.4821, allocations: 43.08 kB / 0.5519 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.613e-05/0.4822, allocations: 22.48 kB / 0.5519 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.494e-05/0.4822, allocations: 36.08 kB / 0.5519 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002414/0.4825, allocations: 117.2 kB / 0.552 GB, free: 10.69 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.4825, allocations: 1.188 kB / 0.552 GB, free: 10.69 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4825, allocations: 0 / 0.552 GB, free: 10.69 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.4825, allocations: 0 / 0.552 GB, free: 10.69 MB / 398.1 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.000654/0.4831, allocations: 339.2 kB / 0.5524 GB, free: 10.36 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.4832, allocations: 13.73 kB / 0.5524 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.322e-05/0.4833, allocations: 13.47 kB / 0.5524 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003311/0.4836, allocations: 149.6 kB / 0.5525 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.4836, allocations: 1.5 kB / 0.5525 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.803e-05/0.4836, allocations: 6.531 kB / 0.5525 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.4838, allocations: 54.67 kB / 0.5526 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.4838, allocations: 0 / 0.5526 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.4838, allocations: 1.062 kB / 0.5526 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.4838, allocations: 0 / 0.5526 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.108e-05/0.4839, allocations: 23.05 kB / 0.5526 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005507/0.4845, allocations: 264.7 kB / 0.5529 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.4847, allocations: 57.11 kB / 0.5529 GB, free: 9.805 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.879e-05/0.4848, allocations: 20.12 kB / 0.5529 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.4848, allocations: 1.594 kB / 0.5529 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002076/0.485, allocations: 68.55 kB / 0.553 GB, free: 9.723 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.485, allocations: 0 / 0.553 GB, free: 9.723 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007662/0.4858, allocations: 174.4 kB / 0.5532 GB, free: 9.621 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.215e-05/0.4858, allocations: 52.66 kB / 0.5532 GB, free: 9.559 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002931/0.4861, allocations: 180.1 kB / 0.5534 GB, free: 9.426 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.384e-05/0.4862, allocations: 30.77 kB / 0.5534 GB, free: 9.391 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.11e-05/0.4863, allocations: 108.6 kB / 0.5535 GB, free: 9.285 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.494e-05/0.4863, allocations: 27.53 kB / 0.5536 GB, free: 9.262 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.659e-05/0.4864, allocations: 20.41 kB / 0.5536 GB, free: 9.242 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001911/0.4866, allocations: 330.6 kB / 0.5539 GB, free: 8.914 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.932e-05/0.4866, allocations: 22.67 kB / 0.5539 GB, free: 8.902 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.729e-05/0.4867, allocations: 35.58 kB / 0.5539 GB, free: 8.875 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.4869, allocations: 62.5 kB / 0.554 GB, free: 8.832 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.4869, allocations: 1.188 kB / 0.554 GB, free: 8.832 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002261/0.4871, allocations: 107.2 kB / 0.5541 GB, free: 8.762 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.4871, allocations: 4.812 kB / 0.5541 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.4871, allocations: 1 kB / 0.5541 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.4871, allocations: 1.219 kB / 0.5541 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.4872, allocations: 16.92 kB / 0.5541 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.4873, allocations: 5.062 kB / 0.5541 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.14e-05/0.4873, allocations: 14.19 kB / 0.5542 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.4873, allocations: 6.156 kB / 0.5542 GB, free: 8.738 MB / 398.1 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 0.0001265/0.4874, allocations: 127.3 kB / 0.5543 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.48e-05/0.4875, allocations: 12.38 kB / 0.5543 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002588/0.4877, allocations: 107.3 kB / 0.5544 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.4877, allocations: 5.141 kB / 0.5544 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.4877, allocations: 1.094 kB / 0.5544 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.4877, allocations: 3.938 kB / 0.5544 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004911/0.4882, allocations: 364.4 kB / 0.5548 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.4882, allocations: 1.156 kB / 0.5548 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.509e-05/0.4883, allocations: 11.88 kB / 0.5548 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.4883, allocations: 0 / 0.5548 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.4883, allocations: 6.375 kB / 0.5548 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.4883, allocations: 1.25 kB / 0.5548 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4883, allocations: 0 / 0.5548 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000271/0.4886, allocations: 201.2 kB / 0.555 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.255e-05/0.4886, allocations: 15.2 kB / 0.555 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.696e-05/0.4886, allocations: 5.062 kB / 0.555 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.95e-05/0.4887, allocations: 2.25 kB / 0.555 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.858e-05/0.4887, allocations: 15.38 kB / 0.555 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.4887, allocations: 3.469 kB / 0.555 GB, free: 7.973 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001419/0.4889, allocations: 148.4 kB / 0.5551 GB, free: 7.863 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4889, allocations: 1.344 kB / 0.5551 GB, free: 7.863 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002813/0.4892, allocations: 27.84 kB / 0.5552 GB, free: 7.852 MB / 398.1 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 (8): * Single equations (assignments): 6 * 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.001774/0.4909, allocations: 471.9 kB / 0.5556 GB, free: 7.625 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000215/0.4912, allocations: 68.89 kB / 0.5557 GB, free: 7.59 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4912, allocations: 0 / 0.5557 GB, free: 7.59 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.257e-05/0.4912, allocations: 23.14 kB / 0.5557 GB, free: 7.582 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003482/0.4916, allocations: 29.16 kB / 0.5557 GB, free: 7.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004975/0.4921, allocations: 221 kB / 0.5559 GB, free: 7.387 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003944/0.4925, allocations: 0.7128 MB / 0.5566 GB, free: 6.668 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.846e-05/0.4925, allocations: 10.14 kB / 0.5567 GB, free: 6.668 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.503e-05/0.4926, allocations: 19.3 kB / 0.5567 GB, free: 6.656 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4926, allocations: 0 / 0.5567 GB, free: 6.656 MB / 398.1 MB Notification: Performance of Templates: time 0.005862/0.4984, allocations: 1.749 MB / 0.5584 GB, free: 5.543 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.556677081622183]