Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.001669/0.001669, allocations: 109.5 kB / 19.81 MB, free: 2.516 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.002308/0.002308, allocations: 193.5 kB / 22.98 MB, free: 5.637 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.567/1.567, allocations: 225.6 MB / 251.6 MB, free: 13.34 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.2319/0.2319, allocations: 44.9 MB / 351.6 MB, free: 12.23 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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,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.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 67.89 kB / 495.3 MB, free: 1.781 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3855/0.3876, allocations: 64.24 MB / 0.5465 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003579/0.3912, allocations: 1.732 MB / 0.5482 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001668/0.3928, allocations: 0.8996 MB / 0.549 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.734e-05/0.3929, allocations: 5.125 kB / 0.549 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003315/0.3932, allocations: 40.94 kB / 0.5491 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002378/0.3935, allocations: 53.92 kB / 0.5491 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003532/0.3938, allocations: 119.7 kB / 0.5492 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002552/0.3941, allocations: 89.83 kB / 0.5493 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.3942, allocations: 12.53 kB / 0.5493 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.3943, allocations: 43.22 kB / 0.5494 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.271e-05/0.3944, allocations: 29.55 kB / 0.5494 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.3944, allocations: 4.031 kB / 0.5494 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.3945, allocations: 46.66 kB / 0.5495 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.414e-05/0.3946, allocations: 28.14 kB / 0.5495 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.3947, allocations: 31.05 kB / 0.5495 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003652/0.3951, allocations: 124 kB / 0.5496 GB, free: 10.77 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.3951, allocations: 0 / 0.5496 GB, free: 10.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.3951, allocations: 0 / 0.5496 GB, free: 10.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.469e-05/0.3951, allocations: 0 / 0.5496 GB, free: 10.77 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.0009107/0.396, allocations: 421.4 kB / 0.55 GB, free: 10.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/0.3961, allocations: 10.06 kB / 0.55 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.19e-05/0.3961, allocations: 8.672 kB / 0.5501 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004778/0.3966, allocations: 220.1 kB / 0.5503 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.3966, allocations: 3.031 kB / 0.5503 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.759e-05/0.3967, allocations: 9.312 kB / 0.5503 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/0.3969, allocations: 50.55 kB / 0.5503 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.3969, allocations: 0 / 0.5503 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.922e-05/0.3969, allocations: 5.094 kB / 0.5503 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.3969, allocations: 1.625 kB / 0.5503 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.782e-05/0.397, allocations: 22.11 kB / 0.5504 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005826/0.3976, allocations: 281.9 kB / 0.5506 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002215/0.3978, allocations: 56.95 kB / 0.5507 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.095e-05/0.3979, allocations: 16.36 kB / 0.5507 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/0.3979, allocations: 5.281 kB / 0.5507 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002041/0.3981, allocations: 68.56 kB / 0.5508 GB, free: 9.602 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.3981, allocations: 3.938 kB / 0.5508 GB, free: 9.598 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000689/0.3988, allocations: 178.4 kB / 0.5509 GB, free: 9.492 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.291e-05/0.3988, allocations: 52.59 kB / 0.551 GB, free: 9.43 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002371/0.3991, allocations: 192.6 kB / 0.5512 GB, free: 9.285 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.3991, allocations: 30.95 kB / 0.5512 GB, free: 9.25 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.619e-05/0.3992, allocations: 106.2 kB / 0.5513 GB, free: 9.148 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.21e-05/0.3992, allocations: 31.11 kB / 0.5513 GB, free: 9.121 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.416e-05/0.3993, allocations: 19.84 kB / 0.5513 GB, free: 9.102 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.3994, allocations: 331.3 kB / 0.5517 GB, free: 8.773 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.178e-05/0.3995, allocations: 18.73 kB / 0.5517 GB, free: 8.766 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.93e-05/0.3996, allocations: 43.08 kB / 0.5517 GB, free: 8.73 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.3997, allocations: 63.14 kB / 0.5518 GB, free: 8.688 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.3997, allocations: 1.219 kB / 0.5518 GB, free: 8.688 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000204/0.3999, allocations: 99.31 kB / 0.5519 GB, free: 8.625 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.3999, allocations: 8.156 kB / 0.5519 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.3999, allocations: 0 / 0.5519 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.4, allocations: 1.438 kB / 0.5519 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.4001, allocations: 25.03 kB / 0.5519 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.4001, allocations: 3.938 kB / 0.5519 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.739e-05/0.4001, allocations: 10.88 kB / 0.5519 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.4001, allocations: 2.875 kB / 0.5519 GB, free: 8.602 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.0001198/0.4002, allocations: 131.6 kB / 0.5521 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.504e-05/0.4003, allocations: 13.38 kB / 0.5521 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002699/0.4005, allocations: 116 kB / 0.5522 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.4005, allocations: 1.219 kB / 0.5522 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.4005, allocations: 1.094 kB / 0.5522 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.4006, allocations: 7.875 kB / 0.5522 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004852/0.401, allocations: 386.5 kB / 0.5526 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.676e-06/0.401, allocations: 1 kB / 0.5526 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.611e-05/0.4011, allocations: 15.17 kB / 0.5526 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.4011, allocations: 1.281 kB / 0.5526 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.4011, allocations: 9.125 kB / 0.5526 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.4011, allocations: 1.125 kB / 0.5526 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.4011, allocations: 1.156 kB / 0.5526 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002539/0.4014, allocations: 208.8 kB / 0.5528 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.683e-05/0.4014, allocations: 83.44 kB / 0.5529 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.131e-05/0.4015, allocations: 10.12 kB / 0.5529 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.036e-05/0.4016, allocations: 5.141 kB / 0.5529 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.898e-05/0.4016, allocations: 7.469 kB / 0.5529 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.4016, allocations: 3.594 kB / 0.5529 GB, free: 7.695 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001443/0.4018, allocations: 156 kB / 0.553 GB, free: 7.586 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4018, allocations: 4 kB / 0.553 GB, free: 7.582 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002768/0.402, allocations: 25.14 kB / 0.5531 GB, free: 7.574 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.001721/0.4037, allocations: 461.3 kB / 0.5535 GB, free: 7.355 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002153/0.404, allocations: 60.42 kB / 0.5536 GB, free: 7.328 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.404, allocations: 0 / 0.5536 GB, free: 7.328 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.204e-05/0.404, allocations: 23.98 kB / 0.5536 GB, free: 7.32 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003905/0.4044, allocations: 36.44 kB / 0.5536 GB, free: 7.301 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005921/0.405, allocations: 248.7 kB / 0.5539 GB, free: 7.109 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004709/0.4055, allocations: 0.7134 MB / 0.5546 GB, free: 6.391 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.62e-05/0.4055, allocations: 10.73 kB / 0.5546 GB, free: 6.391 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.455e-05/0.4056, allocations: 22.27 kB / 0.5546 GB, free: 6.375 MB / 398.1 MB Notification: Performance of SimCode: time 6.52e-07/0.4056, allocations: 1.031 kB / 0.5546 GB, free: 6.375 MB / 398.1 MB Notification: Performance of Templates: time 0.005537/0.4111, allocations: 1.736 MB / 0.5563 GB, free: 5.496 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.426716317422688]