Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.001371/0.001371, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001405/0.001405, allocations: 204 kB / 23.73 MB, free: 4.379 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.442/1.442, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2239/0.2239, allocations: 46.97 MB / 360.9 MB, free: 4.031 MB / 286.1 MB " [Timeout remaining time 180] 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002358/0.002358, allocations: 67.91 kB / 0.4962 GB, free: 7.652 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2965, allocations: 66.04 MB / 0.5607 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003139/0.2997, allocations: 1.74 MB / 0.5624 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001675/0.3014, allocations: 0.9676 MB / 0.5633 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.305e-05/0.3014, allocations: 4 kB / 0.5633 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003232/0.3018, allocations: 107.6 kB / 0.5634 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003271/0.3021, allocations: 131.5 kB / 0.5635 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001953/0.3023, allocations: 79.67 kB / 0.5636 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001967/0.3025, allocations: 135.6 kB / 0.5637 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.88e-05/0.3026, allocations: 17.75 kB / 0.5638 GB, free: 1 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.3027, allocations: 63.75 kB / 0.5638 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.3028, allocations: 71.8 kB / 0.5639 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.3028, allocations: 4 kB / 0.5639 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.3029, allocations: 63.98 kB / 0.564 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.447e-05/0.303, allocations: 35.84 kB / 0.564 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.333e-05/0.3031, allocations: 39.67 kB / 0.564 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002378/0.3033, allocations: 163.3 kB / 0.5642 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3033, allocations: 0 / 0.5642 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3033, allocations: 0 / 0.5642 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.3033, allocations: 0 / 0.5642 GB, free: 0.5664 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005647/0.3039, allocations: 393.2 kB / 0.5646 GB, free: 156 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.3039, allocations: 12.03 kB / 0.5646 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.74e-05/0.3039, allocations: 30.75 kB / 0.5646 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.316e-05/0.304, allocations: 24.84 kB / 0.5646 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002709/0.3043, allocations: 155.2 kB / 0.5648 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.3043, allocations: 8.359 kB / 0.5648 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/0.3043, allocations: 7.938 kB / 0.5648 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.3045, allocations: 69.66 kB / 0.5649 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.3045, allocations: 0 / 0.5649 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.3045, allocations: 0 / 0.5649 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.3045, allocations: 7.938 kB / 0.5649 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.3046, allocations: 35.91 kB / 0.5649 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004214/0.305, allocations: 291.8 kB / 0.5652 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002673/0.3053, allocations: 78.55 kB / 0.5652 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.381e-05/0.3054, allocations: 20.94 kB / 0.5653 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.3054, allocations: 11.88 kB / 0.5653 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001641/0.3055, allocations: 79.38 kB / 0.5654 GB, free: 15.23 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.603e-06/0.3055, allocations: 0 / 0.5654 GB, free: 15.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008368/0.3064, allocations: 285.8 kB / 0.5656 GB, free: 14.94 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/0.3064, allocations: 59.34 kB / 0.5657 GB, free: 14.87 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002791/0.3067, allocations: 267.8 kB / 0.5659 GB, free: 14.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.3067, allocations: 29.7 kB / 0.566 GB, free: 14.56 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.702e-05/0.3068, allocations: 112.1 kB / 0.5661 GB, free: 14.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.865e-05/0.3069, allocations: 39.62 kB / 0.5661 GB, free: 14.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.471e-05/0.3069, allocations: 33.7 kB / 0.5661 GB, free: 14.37 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.3071, allocations: 326.8 kB / 0.5665 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.361e-05/0.3071, allocations: 35.98 kB / 0.5665 GB, free: 14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.54e-05/0.3072, allocations: 53.62 kB / 0.5665 GB, free: 13.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001685/0.3074, allocations: 101.7 kB / 0.5666 GB, free: 13.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.3074, allocations: 4 kB / 0.5666 GB, free: 13.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002593/0.3077, allocations: 145.5 kB / 0.5668 GB, free: 13.69 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.3077, allocations: 7.984 kB / 0.5668 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.3077, allocations: 0 / 0.5668 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.3077, allocations: 4 kB / 0.5668 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.093e-05/0.3078, allocations: 23.92 kB / 0.5668 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.3078, allocations: 8.219 kB / 0.5668 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.087e-05/0.3079, allocations: 3.953 kB / 0.5668 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.3079, allocations: 8 kB / 0.5668 GB, free: 13.63 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 (14): * Single equations (assignments): 14 * 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.0001217/0.308, allocations: 141.8 kB / 0.567 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.418e-05/0.308, allocations: 15.91 kB / 0.567 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003543/0.3084, allocations: 175 kB / 0.5672 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.3084, allocations: 7.938 kB / 0.5672 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.3084, allocations: 0 / 0.5672 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.3084, allocations: 4 kB / 0.5672 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006189/0.309, allocations: 463 kB / 0.5676 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.309, allocations: 0 / 0.5676 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.963e-05/0.3091, allocations: 23.98 kB / 0.5676 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.3091, allocations: 4.062 kB / 0.5676 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.3091, allocations: 4 kB / 0.5676 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3091, allocations: 0 / 0.5676 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3091, allocations: 0 / 0.5676 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003239/0.3094, allocations: 276.2 kB / 0.5679 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.142e-05/0.3095, allocations: 19.89 kB / 0.5679 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.782e-05/0.3095, allocations: 4 kB / 0.5679 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.124e-05/0.3096, allocations: 4 kB / 0.5679 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.493e-05/0.3096, allocations: 11.98 kB / 0.5679 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.3096, allocations: 7.984 kB / 0.5679 GB, free: 12.4 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001777/0.3098, allocations: 205.5 kB / 0.5681 GB, free: 12.2 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3098, allocations: 0 / 0.5681 GB, free: 12.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002824/0.3101, allocations: 39.92 kB / 0.5682 GB, free: 12.16 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.002497/0.3126, allocations: 1.235 MB / 0.5694 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002282/0.3128, allocations: 91.83 kB / 0.5695 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3128, allocations: 0 / 0.5695 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.3129, allocations: 55.97 kB / 0.5695 GB, free: 11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003877/0.3133, allocations: 44.17 kB / 0.5696 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002206/0.3155, allocations: 1.978 MB / 0.5715 GB, free: 8.891 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001175/0.3156, allocations: 114.5 kB / 0.5716 GB, free: 8.758 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.038e-05/0.3157, allocations: 25.2 kB / 0.5716 GB, free: 8.734 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.317e-05/0.3158, allocations: 51.42 kB / 0.5717 GB, free: 8.684 MB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3158, allocations: 0 / 0.5717 GB, free: 8.684 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03047/0.3463, allocations: 4.984 MB / 0.5765 GB, free: 3.766 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.25, allocations: 2.5 kB / 0.5765 GB, free: 3.766 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test8_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test8.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.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: 14.1644375519827]