Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001681/0.001681, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002541/0.002541, allocations: 203 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 230.5 MB / 257.4 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3097/0.3097, allocations: 46.94 MB / 360.8 MB, free: 3.918 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002531/0.002531, allocations: 79.88 kB / 0.4967 GB, free: 6.953 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4694/0.4719, allocations: 66.08 MB / 0.5612 GB, free: 3.926 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.00373/0.4757, allocations: 1.724 MB / 0.5629 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001903/0.4776, allocations: 0.971 MB / 0.5639 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.054e-05/0.4776, allocations: 0 / 0.5639 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004318/0.4781, allocations: 95.67 kB / 0.564 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004477/0.4785, allocations: 119.5 kB / 0.5641 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002669/0.4788, allocations: 79.67 kB / 0.5642 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002548/0.479, allocations: 123.7 kB / 0.5643 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000159/0.4792, allocations: 19.98 kB / 0.5643 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.4793, allocations: 63.69 kB / 0.5644 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001494/0.4795, allocations: 71.67 kB / 0.5644 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.307e-05/0.4795, allocations: 4 kB / 0.5644 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001654/0.4797, allocations: 59.98 kB / 0.5645 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.154e-05/0.4798, allocations: 27.84 kB / 0.5645 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.227e-05/0.4798, allocations: 35.8 kB / 0.5645 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003109/0.4801, allocations: 141.8 kB / 0.5647 GB, free: 404 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.4801, allocations: 0 / 0.5647 GB, free: 404 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.4801, allocations: 0 / 0.5647 GB, free: 404 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.844e-05/0.4802, allocations: 4 kB / 0.5647 GB, free: 400 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008586/0.481, allocations: 381.2 kB / 0.565 GB, free: 15.99 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.934e-05/0.4811, allocations: 12.03 kB / 0.5651 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.091e-05/0.4811, allocations: 12.84 kB / 0.5651 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004411/0.4816, allocations: 159.1 kB / 0.5652 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.4816, allocations: 4.375 kB / 0.5652 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.961e-05/0.4816, allocations: 8.375 kB / 0.5652 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.4818, allocations: 65.97 kB / 0.5653 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.4819, allocations: 0 / 0.5653 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.4819, allocations: 0 / 0.5653 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.4819, allocations: 4 kB / 0.5653 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.482, allocations: 27.91 kB / 0.5653 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005206/0.4825, allocations: 252.5 kB / 0.5656 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003039/0.4828, allocations: 62.48 kB / 0.5656 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.142e-05/0.4829, allocations: 20.98 kB / 0.5657 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.4829, allocations: 0 / 0.5657 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001949/0.4831, allocations: 75.31 kB / 0.5657 GB, free: 15.21 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.623e-06/0.4831, allocations: 0 / 0.5657 GB, free: 15.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009419/0.484, allocations: 257.8 kB / 0.566 GB, free: 14.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.073e-05/0.4841, allocations: 55.34 kB / 0.566 GB, free: 14.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002768/0.4844, allocations: 239 kB / 0.5662 GB, free: 14.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.4844, allocations: 29.7 kB / 0.5663 GB, free: 14.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.748e-05/0.4845, allocations: 116 kB / 0.5664 GB, free: 14.49 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.793e-05/0.4845, allocations: 35.73 kB / 0.5664 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.187e-05/0.4846, allocations: 25.7 kB / 0.5664 GB, free: 14.42 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.4847, allocations: 334.8 kB / 0.5668 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.723e-05/0.4848, allocations: 23.98 kB / 0.5668 GB, free: 14.06 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.842e-05/0.4849, allocations: 49.7 kB / 0.5668 GB, free: 14.01 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001642/0.4851, allocations: 89.69 kB / 0.5669 GB, free: 13.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.4851, allocations: 0 / 0.5669 GB, free: 13.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002534/0.4853, allocations: 133.5 kB / 0.567 GB, free: 13.78 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.4853, allocations: 4 kB / 0.5671 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.4854, allocations: 4 kB / 0.5671 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/0.4854, allocations: 3.938 kB / 0.5671 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.293e-05/0.4855, allocations: 23.98 kB / 0.5671 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.4855, allocations: 240 / 0.5671 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.958e-05/0.4855, allocations: 8.031 kB / 0.5671 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.4855, allocations: 7.984 kB / 0.5671 GB, free: 13.73 MB / 414.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 (13): * Single equations (assignments): 13 * 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.0001321/0.4857, allocations: 139 kB / 0.5672 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.957e-05/0.4857, allocations: 15.91 kB / 0.5672 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003364/0.486, allocations: 151 kB / 0.5674 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.486, allocations: 4 kB / 0.5674 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.486, allocations: 0 / 0.5674 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.486, allocations: 0 / 0.5674 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006025/0.4867, allocations: 407.7 kB / 0.5678 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.4867, allocations: 0 / 0.5678 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.371e-05/0.4867, allocations: 16 kB / 0.5678 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.4867, allocations: 3.938 kB / 0.5678 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.4867, allocations: 11.92 kB / 0.5678 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.4867, allocations: 3.938 kB / 0.5678 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4867, allocations: 0 / 0.5678 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003285/0.4871, allocations: 237.1 kB / 0.568 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.908e-05/0.4871, allocations: 15.91 kB / 0.5681 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.926e-05/0.4871, allocations: 4 kB / 0.5681 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.096e-05/0.4872, allocations: 12 kB / 0.5681 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.405e-05/0.4873, allocations: 11.92 kB / 0.5681 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.392e-05/0.4873, allocations: 12 kB / 0.5681 GB, free: 12.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001935/0.4875, allocations: 175.2 kB / 0.5683 GB, free: 12.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4875, allocations: 0 / 0.5683 GB, free: 12.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003165/0.4878, allocations: 35.92 kB / 0.5683 GB, free: 12.41 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.002296/0.4901, allocations: 0.5222 MB / 0.5688 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002797/0.4904, allocations: 83.84 kB / 0.5689 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.4904, allocations: 0 / 0.5689 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.4905, allocations: 39.92 kB / 0.5689 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003986/0.4909, allocations: 35.09 kB / 0.569 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007506/0.4916, allocations: 300.3 kB / 0.5692 GB, free: 11.6 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001569/0.4918, allocations: 102 kB / 0.5693 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.389e-05/0.4919, allocations: 28.56 kB / 0.5694 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.104e-05/0.4919, allocations: 15.44 kB / 0.5694 GB, free: 11.44 MB / 414.1 MB Notification: Performance of SimCode: time 1.262e-06/0.4919, allocations: 0 / 0.5694 GB, free: 11.44 MB / 414.1 MB Notification: Performance of Templates: time 0.006655/0.4986, allocations: 2.187 MB / 0.5715 GB, free: 9.277 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.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.6964197643101215]