Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.001784/0.001784, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002185/0.002185, allocations: 209.5 kB / 23.73 MB, free: 4.523 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.424/1.424, 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.2787/0.2787, allocations: 46.96 MB / 360.9 MB, free: 4.035 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.Test71,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 68.12 kB / 0.4962 GB, free: 7.668 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.3014, allocations: 66.04 MB / 0.5606 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003231/0.3047, allocations: 1.787 MB / 0.5624 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001824/0.3065, allocations: 1.042 MB / 0.5634 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.319e-05/0.3066, allocations: 7.938 kB / 0.5634 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005512/0.3071, allocations: 307.3 kB / 0.5637 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005168/0.3076, allocations: 255.2 kB / 0.564 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002537/0.3079, allocations: 111.7 kB / 0.5641 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003342/0.3082, allocations: 263.2 kB / 0.5643 GB, free: 444 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.685e-05/0.3083, allocations: 13.8 kB / 0.5643 GB, free: 428 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000169/0.3085, allocations: 131.6 kB / 0.5645 GB, free: 296 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002648/0.3087, allocations: 219.4 kB / 0.5647 GB, free: 76 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.77e-05/0.3088, allocations: 8 kB / 0.5647 GB, free: 68 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.3089, allocations: 47.98 kB / 0.5647 GB, free: 20 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000173/0.309, allocations: 143.5 kB / 0.5649 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001156/0.3092, allocations: 111.1 kB / 0.565 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004493/0.3096, allocations: 384 kB / 0.5653 GB, free: 15.39 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3096, allocations: 4 kB / 0.5653 GB, free: 15.39 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3096, allocations: 0 / 0.5653 GB, free: 15.39 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.3096, allocations: 0 / 0.5653 GB, free: 15.39 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001027/0.3106, allocations: 0.6863 MB / 0.566 GB, free: 14.67 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.3107, allocations: 12.03 kB / 0.566 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.525e-05/0.3107, allocations: 30.75 kB / 0.566 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.717e-05/0.3108, allocations: 52.61 kB / 0.5661 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006352/0.3115, allocations: 402.4 kB / 0.5665 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.3115, allocations: 384 / 0.5665 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.3115, allocations: 11.92 kB / 0.5665 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002025/0.3117, allocations: 91.3 kB / 0.5666 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.3117, allocations: 0 / 0.5666 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.3117, allocations: 4 kB / 0.5666 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.3117, allocations: 0 / 0.5666 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.3118, allocations: 35.97 kB / 0.5666 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003934/0.3122, allocations: 337.4 kB / 0.5669 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002692/0.3125, allocations: 109.1 kB / 0.567 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.4e-05/0.3126, allocations: 37.7 kB / 0.5671 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.3126, allocations: 7.984 kB / 0.5671 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002295/0.3128, allocations: 117 kB / 0.5672 GB, free: 13.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.3128, allocations: 0 / 0.5672 GB, free: 13.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004976/0.3133, allocations: 205.2 kB / 0.5674 GB, free: 13.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.17e-05/0.3134, allocations: 81.11 kB / 0.5675 GB, free: 13.01 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001222/0.3146, allocations: 1.062 MB / 0.5685 GB, free: 11.94 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.3146, allocations: 25.7 kB / 0.5685 GB, free: 11.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000202/0.3148, allocations: 240.1 kB / 0.5688 GB, free: 11.67 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.418e-05/0.3149, allocations: 31.8 kB / 0.5688 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.507e-05/0.3149, allocations: 25.72 kB / 0.5688 GB, free: 11.61 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001896/0.3151, allocations: 370.8 kB / 0.5692 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.201e-05/0.3152, allocations: 35.97 kB / 0.5692 GB, free: 11.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.3153, allocations: 63.23 kB / 0.5693 GB, free: 11.13 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001897/0.3155, allocations: 95.91 kB / 0.5693 GB, free: 11.02 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/0.3155, allocations: 3.938 kB / 0.5694 GB, free: 11.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003211/0.3158, allocations: 185.2 kB / 0.5695 GB, free: 10.83 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.3159, allocations: 8 kB / 0.5695 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.3159, allocations: 0 / 0.5695 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.3159, allocations: 0 / 0.5695 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.316, allocations: 23.98 kB / 0.5696 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.316, allocations: 0 / 0.5696 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9e-05/0.3161, allocations: 7.938 kB / 0.5696 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.3161, allocations: 8 kB / 0.5696 GB, free: 10.79 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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.0002229/0.3163, allocations: 225.6 kB / 0.5698 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.519e-05/0.3164, allocations: 55.62 kB / 0.5698 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003981/0.3168, allocations: 213.8 kB / 0.57 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.3168, allocations: 4 kB / 0.57 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.3168, allocations: 0 / 0.57 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.768e-06/0.3168, allocations: 0 / 0.57 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003149/0.3171, allocations: 296.5 kB / 0.5703 GB, free: 9.945 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.3171, allocations: 4 kB / 0.5703 GB, free: 9.941 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.549e-05/0.3172, allocations: 12.25 kB / 0.5703 GB, free: 9.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3172, allocations: 0 / 0.5703 GB, free: 9.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.3172, allocations: 11.98 kB / 0.5704 GB, free: 9.918 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3172, allocations: 0 / 0.5704 GB, free: 9.918 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3172, allocations: 4 kB / 0.5704 GB, free: 9.914 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004044/0.3176, allocations: 225.4 kB / 0.5706 GB, free: 9.672 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001371/0.3177, allocations: 71.53 kB / 0.5706 GB, free: 9.602 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.978e-05/0.3178, allocations: 7.984 kB / 0.5707 GB, free: 9.594 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.796e-05/0.3179, allocations: 4 kB / 0.5707 GB, free: 9.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.956e-05/0.3179, allocations: 11.98 kB / 0.5707 GB, free: 9.578 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.3179, allocations: 4 kB / 0.5707 GB, free: 9.574 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008627/0.3188, allocations: 0.7955 MB / 0.5714 GB, free: 8.781 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3188, allocations: 0 / 0.5714 GB, free: 8.781 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002598/0.319, allocations: 44 kB / 0.5715 GB, free: 8.738 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002139/0.3212, allocations: 1.099 MB / 0.5726 GB, free: 7.789 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002706/0.3214, allocations: 87.89 kB / 0.5726 GB, free: 7.703 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3214, allocations: 3.938 kB / 0.5727 GB, free: 7.699 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.3216, allocations: 39.92 kB / 0.5727 GB, free: 7.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004107/0.322, allocations: 74.2 kB / 0.5728 GB, free: 7.594 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005667/0.3276, allocations: 4.59 MB / 0.5772 GB, free: 2.891 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.3279, allocations: 245.7 kB / 0.5775 GB, free: 2.629 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001211/0.328, allocations: 46.97 kB / 0.5775 GB, free: 2.582 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001962/0.3282, allocations: 159.4 kB / 0.5777 GB, free: 2.43 MB / 414.1 MB Notification: Performance of SimCode: time 4e-07/0.3282, allocations: 0 / 0.5777 GB, free: 2.43 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03672/0.3649, allocations: 10.04 MB / 0.5875 GB, free: 8.477 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.53, allocations: 3.75 kB / 0.5875 GB, free: 8.477 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.57542 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.60216359901824]