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.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.001435/0.001435, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.001645/0.001645, allocations: 212.3 kB / 23.73 MB, free: 4.16 MB / 14.72 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.682/1.682, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2458/0.2458, allocations: 44.94 MB / 358.8 MB, free: 6.082 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.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.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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003844/0.003844, allocations: 67.91 kB / 0.4936 GB, free: 9.996 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3799/0.3837, allocations: 65.47 MB / 0.5575 GB, free: 7.363 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.003422/0.3871, allocations: 1.71 MB / 0.5592 GB, free: 5.637 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001855/0.389, allocations: 0.9637 MB / 0.5601 GB, free: 4.668 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.159e-05/0.389, allocations: 4 kB / 0.5601 GB, free: 4.664 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002861/0.3893, allocations: 43.77 kB / 0.5602 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003256/0.3897, allocations: 99.53 kB / 0.5603 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002059/0.3899, allocations: 79.66 kB / 0.5603 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001958/0.3901, allocations: 103.7 kB / 0.5604 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.3902, allocations: 11.98 kB / 0.5605 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.549e-05/0.3903, allocations: 43.78 kB / 0.5605 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.889e-05/0.3903, allocations: 31.8 kB / 0.5605 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.3904, allocations: 4 kB / 0.5605 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.3905, allocations: 47.92 kB / 0.5606 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.715e-05/0.3905, allocations: 23.91 kB / 0.5606 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.999e-05/0.3906, allocations: 27.8 kB / 0.5606 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002203/0.3908, allocations: 121.9 kB / 0.5607 GB, free: 4.043 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3908, allocations: 4 kB / 0.5607 GB, free: 4.039 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3908, allocations: 0 / 0.5607 GB, free: 4.039 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.3908, allocations: 0 / 0.5607 GB, free: 4.039 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.00059/0.3914, allocations: 347.9 kB / 0.5611 GB, free: 3.672 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.3914, allocations: 12.03 kB / 0.5611 GB, free: 3.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.154e-05/0.3915, allocations: 8.891 kB / 0.5611 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002623/0.3917, allocations: 158.9 kB / 0.5612 GB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.3918, allocations: 384 / 0.5612 GB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.342e-05/0.3918, allocations: 16.12 kB / 0.5613 GB, free: 3.457 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.392, allocations: 53.66 kB / 0.5613 GB, free: 3.398 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.392, allocations: 0 / 0.5613 GB, free: 3.398 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.392, allocations: 4 kB / 0.5613 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.392, allocations: 4 kB / 0.5613 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.906e-05/0.3921, allocations: 15.98 kB / 0.5613 GB, free: 3.375 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004363/0.3925, allocations: 236.5 kB / 0.5616 GB, free: 3.113 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.3927, allocations: 58.67 kB / 0.5616 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.997e-05/0.3928, allocations: 16.86 kB / 0.5616 GB, free: 3.027 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.3928, allocations: 4 kB / 0.5616 GB, free: 3.023 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001779/0.393, allocations: 67.38 kB / 0.5617 GB, free: 2.945 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.393, allocations: 3.938 kB / 0.5617 GB, free: 2.941 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006073/0.3936, allocations: 181.3 kB / 0.5619 GB, free: 2.758 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/0.3936, allocations: 55.41 kB / 0.5619 GB, free: 2.691 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002246/0.3938, allocations: 202.2 kB / 0.5621 GB, free: 2.484 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.3939, allocations: 29.7 kB / 0.5622 GB, free: 2.449 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.938e-05/0.3939, allocations: 112.1 kB / 0.5623 GB, free: 2.336 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.551e-05/0.394, allocations: 27.78 kB / 0.5623 GB, free: 2.309 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.551e-05/0.394, allocations: 25.7 kB / 0.5623 GB, free: 2.277 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.3942, allocations: 330.8 kB / 0.5626 GB, free: 1.945 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.4e-05/0.3943, allocations: 19.98 kB / 0.5626 GB, free: 1.926 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.16e-05/0.3944, allocations: 41.7 kB / 0.5627 GB, free: 1.879 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001269/0.3945, allocations: 53.66 kB / 0.5627 GB, free: 1.82 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.3945, allocations: 7.938 kB / 0.5627 GB, free: 1.812 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002125/0.3947, allocations: 109.6 kB / 0.5628 GB, free: 1.699 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.3947, allocations: 10.34 kB / 0.5629 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.3947, allocations: 0 / 0.5629 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.3947, allocations: 0 / 0.5629 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.3948, allocations: 19.92 kB / 0.5629 GB, free: 1.672 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.463e-06/0.3949, allocations: 4 kB / 0.5629 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.475e-05/0.3949, allocations: 0 / 0.5629 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.3949, allocations: 8 kB / 0.5629 GB, free: 1.66 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.0001365/0.395, allocations: 128.3 kB / 0.563 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.841e-05/0.3951, allocations: 15.91 kB / 0.563 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003056/0.3954, allocations: 127.5 kB / 0.5631 GB, free: 1.371 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.3954, allocations: 0 / 0.5631 GB, free: 1.371 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.3954, allocations: 0 / 0.5631 GB, free: 1.371 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.3954, allocations: 4 kB / 0.5632 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005112/0.3959, allocations: 354.9 kB / 0.5635 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.3959, allocations: 0 / 0.5635 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.091e-05/0.3959, allocations: 8 kB / 0.5635 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.57e-05/0.396, allocations: 7.984 kB / 0.5635 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.396, allocations: 0 / 0.5635 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.396, allocations: 0 / 0.5635 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.396, allocations: 7.969 kB / 0.5635 GB, free: 0.957 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002911/0.3963, allocations: 216.5 kB / 0.5637 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.195e-05/0.3963, allocations: 11.95 kB / 0.5637 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.802e-05/0.3963, allocations: 7.984 kB / 0.5637 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.943e-05/0.3964, allocations: 0 / 0.5637 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.91e-05/0.3964, allocations: 15.86 kB / 0.5638 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.3965, allocations: 8 kB / 0.5638 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001514/0.3966, allocations: 156.2 kB / 0.5639 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3966, allocations: 0 / 0.5639 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002698/0.3969, allocations: 23.94 kB / 0.5639 GB, free: 0.5078 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 (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.001943/0.3988, allocations: 490.2 kB / 0.5644 GB, free: 244 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001998/0.399, allocations: 59.91 kB / 0.5645 GB, free: 184 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.399, allocations: 64 / 0.5645 GB, free: 184 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.078e-05/0.3991, allocations: 39.91 kB / 0.5645 GB, free: 144 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003496/0.3995, allocations: 34.91 kB / 0.5645 GB, free: 112 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005442/0.4, allocations: 235 kB / 0.5648 GB, free: 15.85 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/0.4001, allocations: 96.17 kB / 0.5648 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.829e-05/0.4002, allocations: 21.34 kB / 0.5649 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.088e-05/0.4002, allocations: 19.42 kB / 0.5649 GB, free: 15.69 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4002, allocations: 3.938 kB / 0.5649 GB, free: 15.69 MB / 414.1 MB Notification: Performance of Templates: time 0.005289/0.4055, allocations: 1.896 MB / 0.5667 GB, free: 13.82 MB / 414.1 MB " [Timeout remaining time 660] 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.3633354641497135]