Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.001328/0.001328, allocations: 107.1 kB / 19.8 MB, free: 2.5 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.001351/0.001351, allocations: 190.6 kB / 22.98 MB, free: 5.59 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.519/1.519, allocations: 225.6 MB / 251.6 MB, free: 13.33 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.2455/0.2455, allocations: 44.91 MB / 351.6 MB, free: 12.21 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.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 59.91 kB / 495.3 MB, free: 1.773 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4686/0.4705, allocations: 64.26 MB / 0.5465 GB, free: 13.19 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003577/0.4741, allocations: 1.729 MB / 0.5482 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001744/0.4759, allocations: 0.9159 MB / 0.5491 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.292e-05/0.4759, allocations: 1 kB / 0.5491 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000364/0.4763, allocations: 36.67 kB / 0.5491 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002658/0.4766, allocations: 55.88 kB / 0.5491 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003538/0.4769, allocations: 123.8 kB / 0.5493 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002453/0.4772, allocations: 100.4 kB / 0.5494 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.4773, allocations: 7.703 kB / 0.5494 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.4774, allocations: 49.08 kB / 0.5494 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.4775, allocations: 39.05 kB / 0.5495 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.829e-05/0.4776, allocations: 8.516 kB / 0.5495 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001582/0.4777, allocations: 63.28 kB / 0.5495 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.929e-05/0.4778, allocations: 16.55 kB / 0.5495 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.368e-05/0.4778, allocations: 34.86 kB / 0.5496 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000323/0.4782, allocations: 128.3 kB / 0.5497 GB, free: 10.71 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.4782, allocations: 0 / 0.5497 GB, free: 10.71 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.4782, allocations: 1.094 kB / 0.5497 GB, free: 10.71 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.4782, allocations: 3.938 kB / 0.5497 GB, free: 10.7 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.0007033/0.4789, allocations: 415.3 kB / 0.5501 GB, free: 10.28 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.4789, allocations: 9.688 kB / 0.5501 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.746e-05/0.479, allocations: 12.98 kB / 0.5501 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003748/0.4793, allocations: 206.2 kB / 0.5503 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.4794, allocations: 1.594 kB / 0.5503 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.349e-05/0.4794, allocations: 11.25 kB / 0.5503 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002257/0.4796, allocations: 78.19 kB / 0.5504 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.4796, allocations: 0 / 0.5504 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.4797, allocations: 0 / 0.5504 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.4797, allocations: 1.438 kB / 0.5504 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.923e-05/0.4798, allocations: 18.52 kB / 0.5504 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004425/0.4802, allocations: 270.6 kB / 0.5507 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002205/0.4804, allocations: 68.73 kB / 0.5507 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.31e-05/0.4805, allocations: 32.19 kB / 0.5508 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.008e-05/0.4805, allocations: 1.25 kB / 0.5508 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001829/0.4807, allocations: 67.55 kB / 0.5508 GB, free: 9.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.4807, allocations: 0 / 0.5508 GB, free: 9.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006443/0.4813, allocations: 204.2 kB / 0.551 GB, free: 9.402 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.94e-05/0.4814, allocations: 86.23 kB / 0.5511 GB, free: 9.301 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.4816, allocations: 162.3 kB / 0.5513 GB, free: 9.164 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.4816, allocations: 31.14 kB / 0.5513 GB, free: 9.129 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.818e-05/0.4817, allocations: 96.44 kB / 0.5514 GB, free: 9.035 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.266e-05/0.4817, allocations: 35.39 kB / 0.5514 GB, free: 9.004 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.263e-05/0.4818, allocations: 26.67 kB / 0.5514 GB, free: 8.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.4819, allocations: 322.1 kB / 0.5518 GB, free: 8.66 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.191e-05/0.482, allocations: 31.34 kB / 0.5518 GB, free: 8.645 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.666e-05/0.4821, allocations: 50.59 kB / 0.5518 GB, free: 8.605 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.4823, allocations: 80.7 kB / 0.5519 GB, free: 8.555 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.4823, allocations: 0 / 0.5519 GB, free: 8.555 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002385/0.4825, allocations: 126.9 kB / 0.552 GB, free: 8.477 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.4825, allocations: 5.344 kB / 0.552 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.4825, allocations: 1.094 kB / 0.552 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.4825, allocations: 9.266 kB / 0.552 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.4827, allocations: 24.41 kB / 0.5521 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.4827, allocations: 1.312 kB / 0.5521 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.277e-05/0.4827, allocations: 7.109 kB / 0.5521 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.649e-06/0.4827, allocations: 2.844 kB / 0.5521 GB, free: 8.457 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 (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.0001206/0.4828, allocations: 120.7 kB / 0.5522 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.4829, allocations: 8.516 kB / 0.5522 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002855/0.4832, allocations: 129.5 kB / 0.5523 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.4832, allocations: 9.062 kB / 0.5523 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.4832, allocations: 1.094 kB / 0.5523 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.4832, allocations: 0 / 0.5523 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005732/0.4837, allocations: 416.7 kB / 0.5527 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.4837, allocations: 1.344 kB / 0.5527 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.639e-05/0.4838, allocations: 17.92 kB / 0.5528 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.4838, allocations: 1.281 kB / 0.5528 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.4838, allocations: 5.062 kB / 0.5528 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.4838, allocations: 1.125 kB / 0.5528 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.4838, allocations: 0.9688 kB / 0.5528 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000304/0.4841, allocations: 220.1 kB / 0.553 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.043e-05/0.4842, allocations: 83.25 kB / 0.553 GB, free: 7.555 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.725e-05/0.4842, allocations: 6.062 kB / 0.5531 GB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.258e-05/0.4843, allocations: 2.094 kB / 0.5531 GB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.869e-05/0.4843, allocations: 16.36 kB / 0.5531 GB, free: 7.539 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/0.4843, allocations: 7.531 kB / 0.5531 GB, free: 7.535 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001154/0.4845, allocations: 120.4 kB / 0.5532 GB, free: 7.441 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4845, allocations: 0 / 0.5532 GB, free: 7.441 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003112/0.4848, allocations: 47.28 kB / 0.5532 GB, free: 7.418 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 (10): * Single equations (assignments): 8 * 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.001978/0.4867, allocations: 0.5032 MB / 0.5537 GB, free: 7.18 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002597/0.487, allocations: 78.03 kB / 0.5538 GB, free: 7.145 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.487, allocations: 0 / 0.5538 GB, free: 7.145 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.105e-05/0.4871, allocations: 35.48 kB / 0.5538 GB, free: 7.129 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/0.4875, allocations: 40.67 kB / 0.5539 GB, free: 7.109 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005854/0.4881, allocations: 213.5 kB / 0.5541 GB, free: 6.934 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003634/0.4884, allocations: 0.7142 MB / 0.5548 GB, free: 6.211 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.203e-05/0.4885, allocations: 22.25 kB / 0.5548 GB, free: 6.203 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.599e-05/0.4886, allocations: 24.83 kB / 0.5548 GB, free: 6.188 MB / 398.1 MB Notification: Performance of SimCode: time 1.162e-06/0.4886, allocations: 0 / 0.5548 GB, free: 6.188 MB / 398.1 MB Notification: Performance of Templates: time 0.00656/0.4951, allocations: 2.137 MB / 0.5569 GB, free: 4.906 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.5589944599196315]