Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.001846/0.001846, 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.002348/0.002348, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.641/1.641, allocations: 230.6 MB / 257.5 MB, free: 8.027 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.2568/0.2568, allocations: 46.94 MB / 360.8 MB, free: 4.277 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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002145/0.002145, allocations: 67.91 kB / 0.4967 GB, free: 7.34 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3811/0.3832, allocations: 66.03 MB / 0.5612 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003677/0.3869, allocations: 1.753 MB / 0.5629 GB, free: 2.621 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003114/0.39, allocations: 1.739 MB / 0.5646 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.545e-05/0.3901, allocations: 4 kB / 0.5646 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003335/0.3905, allocations: 35.72 kB / 0.5646 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004586/0.3909, allocations: 103.5 kB / 0.5647 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000213/0.3911, allocations: 79.66 kB / 0.5648 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002183/0.3913, allocations: 111.8 kB / 0.5649 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.3915, allocations: 11.98 kB / 0.5649 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.3916, allocations: 51.72 kB / 0.565 GB, free: 496 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001819/0.3918, allocations: 51.77 kB / 0.565 GB, free: 444 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.3918, allocations: 4 kB / 0.565 GB, free: 440 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002005/0.392, allocations: 115.9 kB / 0.5651 GB, free: 324 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.637e-05/0.392, allocations: 19.92 kB / 0.5652 GB, free: 304 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.676e-05/0.3921, allocations: 43.67 kB / 0.5652 GB, free: 260 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003294/0.3924, allocations: 173.8 kB / 0.5654 GB, free: 92 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3924, allocations: 0 / 0.5654 GB, free: 92 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3924, allocations: 0 / 0.5654 GB, free: 92 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.3924, allocations: 0 / 0.5654 GB, free: 92 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006959/0.3931, allocations: 373.3 kB / 0.5657 GB, free: 15.7 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.3932, allocations: 8.031 kB / 0.5657 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.09e-05/0.3932, allocations: 12.89 kB / 0.5657 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003491/0.3936, allocations: 158.3 kB / 0.5659 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.3936, allocations: 384 / 0.5659 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.238e-05/0.3936, allocations: 8.125 kB / 0.5659 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002029/0.3938, allocations: 75.38 kB / 0.566 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.3938, allocations: 11.95 kB / 0.566 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.3939, allocations: 0 / 0.566 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.3939, allocations: 0 / 0.566 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/0.394, allocations: 31.97 kB / 0.566 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005265/0.3945, allocations: 267.8 kB / 0.5663 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000251/0.3948, allocations: 62.67 kB / 0.5663 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.451e-05/0.3948, allocations: 28.84 kB / 0.5664 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.864e-05/0.3949, allocations: 4 kB / 0.5664 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002516/0.3951, allocations: 79.25 kB / 0.5664 GB, free: 14.86 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.552e-06/0.3951, allocations: 0 / 0.5664 GB, free: 14.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008408/0.396, allocations: 209.3 kB / 0.5666 GB, free: 14.65 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.316e-05/0.3961, allocations: 77.11 kB / 0.5667 GB, free: 14.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002632/0.3963, allocations: 174.2 kB / 0.5669 GB, free: 14.37 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.957e-05/0.3964, allocations: 29.7 kB / 0.5669 GB, free: 14.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.588e-05/0.3965, allocations: 100.1 kB / 0.567 GB, free: 14.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.232e-05/0.3965, allocations: 31.73 kB / 0.567 GB, free: 14.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.527e-05/0.3966, allocations: 25.72 kB / 0.5671 GB, free: 14.17 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002208/0.3968, allocations: 326.8 kB / 0.5674 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.195e-05/0.3969, allocations: 23.98 kB / 0.5674 GB, free: 13.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.568e-05/0.397, allocations: 46.56 kB / 0.5674 GB, free: 13.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/0.3971, allocations: 73.64 kB / 0.5675 GB, free: 13.69 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.3971, allocations: 0 / 0.5675 GB, free: 13.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002386/0.3974, allocations: 117.5 kB / 0.5676 GB, free: 13.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.3974, allocations: 4 kB / 0.5676 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.3974, allocations: 4 kB / 0.5676 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/0.3974, allocations: 0 / 0.5676 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.3976, allocations: 20.06 kB / 0.5676 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/0.3976, allocations: 3.938 kB / 0.5676 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.484e-05/0.3976, allocations: 7.922 kB / 0.5677 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.3976, allocations: 4 kB / 0.5677 GB, free: 13.52 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 (11): * Single equations (assignments): 11 * 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.0001743/0.3978, allocations: 121.8 kB / 0.5678 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.752e-05/0.3978, allocations: 7.953 kB / 0.5678 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003561/0.3982, allocations: 134.4 kB / 0.5679 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.3982, allocations: 0 / 0.5679 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3982, allocations: 4 kB / 0.5679 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.3982, allocations: 3.938 kB / 0.5679 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006709/0.3989, allocations: 394.7 kB / 0.5683 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3989, allocations: 0 / 0.5683 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.141e-05/0.3989, allocations: 12 kB / 0.5683 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3989, allocations: 4 kB / 0.5683 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/0.3989, allocations: 7.938 kB / 0.5683 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3989, allocations: 0 / 0.5683 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3989, allocations: 8.109 kB / 0.5683 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003245/0.3993, allocations: 216.2 kB / 0.5685 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.018e-05/0.3993, allocations: 11.91 kB / 0.5685 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.65e-05/0.3993, allocations: 11.94 kB / 0.5686 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.628e-05/0.3994, allocations: 3.984 kB / 0.5686 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.602e-05/0.3995, allocations: 4 kB / 0.5686 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-05/0.3995, allocations: 11.98 kB / 0.5686 GB, free: 12.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001355/0.3996, allocations: 132.1 kB / 0.5687 GB, free: 12.37 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3996, allocations: 3.938 kB / 0.5687 GB, free: 12.36 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003706/0.4, allocations: 47.86 kB / 0.5688 GB, free: 12.32 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 (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.002361/0.4023, allocations: 0.5473 MB / 0.5693 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002812/0.4026, allocations: 63.91 kB / 0.5693 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4026, allocations: 0 / 0.5693 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.403e-05/0.4027, allocations: 27.98 kB / 0.5694 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003832/0.4031, allocations: 36.06 kB / 0.5694 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005294/0.4036, allocations: 223.2 kB / 0.5696 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004292/0.4041, allocations: 0.7042 MB / 0.5703 GB, free: 10.88 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.435e-05/0.4041, allocations: 24.42 kB / 0.5703 GB, free: 10.85 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.313e-05/0.4042, allocations: 19.42 kB / 0.5703 GB, free: 10.83 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4042, allocations: 0 / 0.5703 GB, free: 10.83 MB / 414.1 MB Notification: Performance of Templates: time 0.007338/0.4115, allocations: 2.49 MB / 0.5728 GB, free: 8.363 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.728753324132413]