Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.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.001878/0.001878, 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.001626/0.001626, allocations: 208.2 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.474/1.474, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.2237/0.2237, allocations: 46.95 MB / 360.9 MB, free: 4.109 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.Test45,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 71.89 kB / 0.4962 GB, free: 7.645 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.31, allocations: 66.03 MB / 0.5607 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003238/0.3133, allocations: 1.718 MB / 0.5623 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001843/0.3151, allocations: 0.9676 MB / 0.5633 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.818e-05/0.3152, allocations: 4 kB / 0.5633 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000318/0.3155, allocations: 47.75 kB / 0.5633 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003531/0.3159, allocations: 95.55 kB / 0.5634 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002404/0.3161, allocations: 75.73 kB / 0.5635 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002078/0.3163, allocations: 115.6 kB / 0.5636 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.3164, allocations: 5.828 kB / 0.5636 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.216e-05/0.3165, allocations: 43.78 kB / 0.5636 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.243e-05/0.3166, allocations: 35.78 kB / 0.5637 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.3166, allocations: 4 kB / 0.5637 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.959e-05/0.3167, allocations: 39.98 kB / 0.5637 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.549e-05/0.3168, allocations: 27.86 kB / 0.5638 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.86e-05/0.3168, allocations: 23.81 kB / 0.5638 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002376/0.3171, allocations: 135.4 kB / 0.5639 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3171, allocations: 0 / 0.5639 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3171, allocations: 0 / 0.5639 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.3171, allocations: 0 / 0.5639 GB, free: 0.8359 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.0005838/0.3177, allocations: 353.5 kB / 0.5642 GB, free: 472 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.3177, allocations: 8.031 kB / 0.5642 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.494e-05/0.3178, allocations: 34.75 kB / 0.5643 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.893e-05/0.3178, allocations: 8.891 kB / 0.5643 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003498/0.3182, allocations: 162.2 kB / 0.5644 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.3182, allocations: 384 / 0.5644 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.135e-05/0.3182, allocations: 7.938 kB / 0.5645 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.3184, allocations: 57.66 kB / 0.5645 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.3184, allocations: 0 / 0.5645 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.3184, allocations: 0 / 0.5645 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.3184, allocations: 4 kB / 0.5645 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.3185, allocations: 23.98 kB / 0.5645 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004301/0.3189, allocations: 263.9 kB / 0.5648 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001896/0.3191, allocations: 58.67 kB / 0.5648 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.16e-05/0.3192, allocations: 24.84 kB / 0.5649 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.3192, allocations: 3.938 kB / 0.5649 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001628/0.3193, allocations: 67.39 kB / 0.5649 GB, free: 15.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.3193, allocations: 3.938 kB / 0.5649 GB, free: 15.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005609/0.3199, allocations: 181.3 kB / 0.5651 GB, free: 15.45 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.799e-05/0.32, allocations: 51.41 kB / 0.5652 GB, free: 15.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002282/0.3202, allocations: 230.6 kB / 0.5654 GB, free: 15.15 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.3202, allocations: 29.7 kB / 0.5654 GB, free: 15.12 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.208e-05/0.3203, allocations: 112.1 kB / 0.5655 GB, free: 15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.07e-05/0.3203, allocations: 23.8 kB / 0.5655 GB, free: 14.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.003e-05/0.3204, allocations: 25.7 kB / 0.5656 GB, free: 14.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.3205, allocations: 326.8 kB / 0.5659 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.022e-05/0.3206, allocations: 16 kB / 0.5659 GB, free: 14.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.219e-05/0.3206, allocations: 37.7 kB / 0.5659 GB, free: 14.56 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/0.3208, allocations: 57.7 kB / 0.566 GB, free: 14.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.3208, allocations: 3.938 kB / 0.566 GB, free: 14.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002022/0.321, allocations: 113.5 kB / 0.5661 GB, free: 14.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.321, allocations: 8 kB / 0.5661 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.321, allocations: 0 / 0.5661 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.321, allocations: 0 / 0.5661 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.5e-05/0.3211, allocations: 19.92 kB / 0.5661 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.3211, allocations: 4 kB / 0.5661 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.019e-05/0.3212, allocations: 7.875 kB / 0.5661 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.3212, allocations: 8 kB / 0.5661 GB, free: 14.34 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.000118/0.3213, allocations: 121.8 kB / 0.5663 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.708e-05/0.3213, allocations: 15.91 kB / 0.5663 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002884/0.3216, allocations: 127.2 kB / 0.5664 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/0.3216, allocations: 7.984 kB / 0.5664 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.3216, allocations: 0 / 0.5664 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.289e-06/0.3216, allocations: 3.938 kB / 0.5664 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005153/0.3221, allocations: 370.4 kB / 0.5668 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3221, allocations: 0 / 0.5668 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.291e-05/0.3222, allocations: 11.98 kB / 0.5668 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.3222, allocations: 3.938 kB / 0.5668 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.3222, allocations: 8 kB / 0.5668 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3222, allocations: 4.031 kB / 0.5668 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3222, allocations: 0 / 0.5668 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000294/0.3225, allocations: 224.4 kB / 0.567 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.076e-05/0.3225, allocations: 7.953 kB / 0.567 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.17e-05/0.3226, allocations: 11.94 kB / 0.567 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.129e-05/0.3226, allocations: 384 / 0.567 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.251e-05/0.3227, allocations: 11.92 kB / 0.567 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.3227, allocations: 4 kB / 0.567 GB, free: 13.33 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001459/0.3228, allocations: 159.2 kB / 0.5672 GB, free: 13.17 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3228, allocations: 0 / 0.5672 GB, free: 13.17 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002619/0.3231, allocations: 27.98 kB / 0.5672 GB, free: 13.14 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.002356/0.3255, allocations: 1.136 MB / 0.5683 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002237/0.3257, allocations: 59.91 kB / 0.5684 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3257, allocations: 0 / 0.5684 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.851e-05/0.3258, allocations: 31.98 kB / 0.5684 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003757/0.3261, allocations: 31.72 kB / 0.5684 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002179/0.3283, allocations: 1.701 MB / 0.5701 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001201/0.3284, allocations: 104.7 kB / 0.5702 GB, free: 10.17 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.708e-05/0.3285, allocations: 16.89 kB / 0.5702 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.045e-05/0.3286, allocations: 43.41 kB / 0.5703 GB, free: 10.11 MB / 414.1 MB Notification: Performance of SimCode: time 7.22e-07/0.3286, allocations: 0 / 0.5703 GB, free: 10.11 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03053/0.3591, allocations: 4.215 MB / 0.5744 GB, free: 5.957 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/11, allocations: 8 kB / 0.5744 GB, free: 5.949 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test45_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000499301 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test45.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.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.08006495499285]