Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.00214/0.00214, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.002776/0.002776, allocations: 209.4 kB / 23.74 MB, free: 4.66 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.582/1.582, allocations: 230.6 MB / 257.5 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2504/0.2504, allocations: 46.92 MB / 360.8 MB, free: 4.297 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002168/0.002168, allocations: 75.88 kB / 0.4967 GB, free: 7.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4026/0.4048, allocations: 66.03 MB / 0.5612 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.004366/0.4092, allocations: 1.747 MB / 0.5629 GB, free: 2.664 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003211/0.4124, allocations: 1.739 MB / 0.5646 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.4125, allocations: 0 / 0.5646 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003657/0.4128, allocations: 39.77 kB / 0.5646 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004249/0.4133, allocations: 103.5 kB / 0.5647 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002658/0.4135, allocations: 79.72 kB / 0.5648 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002418/0.4138, allocations: 107.6 kB / 0.5649 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.4139, allocations: 7.984 kB / 0.5649 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.414, allocations: 47.78 kB / 0.565 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002982/0.4143, allocations: 47.83 kB / 0.565 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.231e-05/0.4144, allocations: 7.938 kB / 0.565 GB, free: 496 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002294/0.4146, allocations: 111.9 kB / 0.5651 GB, free: 384 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.76e-05/0.4147, allocations: 19.92 kB / 0.5651 GB, free: 364 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.527e-05/0.4147, allocations: 31.8 kB / 0.5652 GB, free: 332 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003821/0.4151, allocations: 177.6 kB / 0.5653 GB, free: 160 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.4151, allocations: 0 / 0.5653 GB, free: 160 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.4151, allocations: 0 / 0.5653 GB, free: 160 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.323e-06/0.4151, allocations: 0 / 0.5653 GB, free: 160 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000841/0.416, allocations: 353.5 kB / 0.5657 GB, free: 15.78 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.462e-05/0.416, allocations: 12.03 kB / 0.5657 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.141e-05/0.4161, allocations: 12.84 kB / 0.5657 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004401/0.4166, allocations: 148.8 kB / 0.5658 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.475e-05/0.4166, allocations: 15.88 kB / 0.5659 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.4166, allocations: 0 / 0.5659 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.4168, allocations: 75.33 kB / 0.5659 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.4168, allocations: 0 / 0.5659 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.4168, allocations: 7.984 kB / 0.5659 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.4168, allocations: 4 kB / 0.5659 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.538e-05/0.4169, allocations: 15.98 kB / 0.566 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004451/0.4174, allocations: 256 kB / 0.5662 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002035/0.4176, allocations: 58.61 kB / 0.5663 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.615e-05/0.4176, allocations: 24.84 kB / 0.5663 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.796e-05/0.4177, allocations: 0 / 0.5663 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001777/0.4178, allocations: 63.39 kB / 0.5663 GB, free: 15 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.492e-06/0.4178, allocations: 4 kB / 0.5663 GB, free: 15 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006381/0.4185, allocations: 173.3 kB / 0.5665 GB, free: 14.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.68e-05/0.4186, allocations: 89.05 kB / 0.5666 GB, free: 14.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001909/0.4187, allocations: 166.1 kB / 0.5668 GB, free: 14.54 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.4188, allocations: 25.7 kB / 0.5668 GB, free: 14.51 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.384e-05/0.4188, allocations: 96.14 kB / 0.5669 GB, free: 14.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.961e-05/0.4189, allocations: 35.67 kB / 0.5669 GB, free: 14.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-05/0.4189, allocations: 25.66 kB / 0.5669 GB, free: 14.35 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.4191, allocations: 322.8 kB / 0.5672 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.513e-05/0.4192, allocations: 23.98 kB / 0.5673 GB, free: 14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.016e-05/0.4192, allocations: 42.56 kB / 0.5673 GB, free: 13.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.4194, allocations: 61.7 kB / 0.5674 GB, free: 13.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.4194, allocations: 0 / 0.5674 GB, free: 13.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001992/0.4196, allocations: 101.6 kB / 0.5675 GB, free: 13.78 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.4196, allocations: 8 kB / 0.5675 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.4196, allocations: 0 / 0.5675 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.4196, allocations: 0 / 0.5675 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.4197, allocations: 23.98 kB / 0.5675 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.4197, allocations: 3.938 kB / 0.5675 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.609e-05/0.4198, allocations: 8 kB / 0.5675 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.4198, allocations: 4 kB / 0.5675 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 (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.000114/0.4199, allocations: 117.8 kB / 0.5676 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.986e-05/0.4199, allocations: 11.95 kB / 0.5676 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00028/0.4202, allocations: 110.8 kB / 0.5677 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.4202, allocations: 0 / 0.5677 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.4202, allocations: 11.88 kB / 0.5677 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.4202, allocations: 3.938 kB / 0.5677 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000494/0.4207, allocations: 366.4 kB / 0.5681 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.4207, allocations: 4 kB / 0.5681 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.487e-05/0.4208, allocations: 11.88 kB / 0.5681 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.4208, allocations: 4 kB / 0.5681 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.4208, allocations: 4 kB / 0.5681 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.4208, allocations: 0 / 0.5681 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.4208, allocations: 4 kB / 0.5681 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002528/0.421, allocations: 196.4 kB / 0.5683 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.052e-05/0.4211, allocations: 15.88 kB / 0.5683 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.616e-05/0.4211, allocations: 4 kB / 0.5683 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.208e-05/0.4212, allocations: 0 / 0.5683 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.4212, allocations: 11.92 kB / 0.5683 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.979e-05/0.4212, allocations: 8 kB / 0.5683 GB, free: 12.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001195/0.4214, allocations: 123.2 kB / 0.5685 GB, free: 12.65 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4214, allocations: 0 / 0.5685 GB, free: 12.65 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003145/0.4217, allocations: 51.86 kB / 0.5685 GB, free: 12.6 MB / 414.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.002117/0.4238, allocations: 0.5479 MB / 0.5691 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002514/0.424, allocations: 71.89 kB / 0.5691 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.424, allocations: 0 / 0.5691 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.718e-05/0.4241, allocations: 20 kB / 0.5691 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/0.4245, allocations: 31.91 kB / 0.5692 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005332/0.425, allocations: 206.7 kB / 0.5694 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000386/0.4254, allocations: 0.7003 MB / 0.57 GB, free: 11.19 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.264e-05/0.4255, allocations: 25.25 kB / 0.5701 GB, free: 11.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.72e-05/0.4255, allocations: 19.42 kB / 0.5701 GB, free: 11.14 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4255, allocations: 0 / 0.5701 GB, free: 11.14 MB / 414.1 MB Notification: Performance of Templates: time 0.006672/0.4322, allocations: 2.383 MB / 0.5724 GB, free: 8.777 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.756286681164056]