Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.001346/0.001346, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001664/0.001664, allocations: 214.3 kB / 23.73 MB, free: 4.16 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.486/1.486, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2318/0.2318, allocations: 46.97 MB / 360.9 MB, free: 4.039 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.Test72,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 67.89 kB / 0.4962 GB, free: 7.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3048, allocations: 66.03 MB / 0.5607 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.00338/0.3082, allocations: 1.788 MB / 0.5624 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001963/0.3101, allocations: 1.042 MB / 0.5634 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.448e-05/0.3102, allocations: 0 / 0.5634 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005705/0.3108, allocations: 307.3 kB / 0.5637 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005547/0.3113, allocations: 263.2 kB / 0.564 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002362/0.3116, allocations: 111.6 kB / 0.5641 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003353/0.3119, allocations: 267.3 kB / 0.5643 GB, free: 448 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.722e-05/0.312, allocations: 5.812 kB / 0.5643 GB, free: 440 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001703/0.3121, allocations: 127.5 kB / 0.5644 GB, free: 312 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002674/0.3124, allocations: 223.4 kB / 0.5647 GB, free: 88 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.615e-05/0.3124, allocations: 4 kB / 0.5647 GB, free: 84 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.3126, allocations: 47.98 kB / 0.5647 GB, free: 36 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001714/0.3127, allocations: 143.6 kB / 0.5648 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001167/0.3128, allocations: 111 kB / 0.565 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000448/0.3133, allocations: 388 kB / 0.5653 GB, free: 15.41 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.3133, allocations: 0 / 0.5653 GB, free: 15.41 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3133, allocations: 0 / 0.5653 GB, free: 15.41 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.3133, allocations: 4 kB / 0.5653 GB, free: 15.4 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.001012/0.3143, allocations: 0.6864 MB / 0.566 GB, free: 14.68 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.3143, allocations: 8.031 kB / 0.566 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.675e-05/0.3144, allocations: 46.67 kB / 0.566 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.965e-05/0.3145, allocations: 48.61 kB / 0.5661 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006975/0.3152, allocations: 386.5 kB / 0.5665 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.3152, allocations: 8.359 kB / 0.5665 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.318e-05/0.3152, allocations: 11.94 kB / 0.5665 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002169/0.3154, allocations: 91.34 kB / 0.5666 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.3154, allocations: 0 / 0.5666 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.3155, allocations: 7.938 kB / 0.5666 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3155, allocations: 0 / 0.5666 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001256/0.3156, allocations: 35.91 kB / 0.5666 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004151/0.316, allocations: 337.4 kB / 0.5669 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002957/0.3163, allocations: 109.1 kB / 0.567 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.3164, allocations: 41.7 kB / 0.5671 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.3164, allocations: 0 / 0.5671 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002554/0.3167, allocations: 120.9 kB / 0.5672 GB, free: 13.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.3167, allocations: 0 / 0.5672 GB, free: 13.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005163/0.3172, allocations: 205.7 kB / 0.5674 GB, free: 13.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.026e-05/0.3172, allocations: 85.05 kB / 0.5675 GB, free: 13.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001225/0.3185, allocations: 1.058 MB / 0.5685 GB, free: 11.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.3185, allocations: 33.7 kB / 0.5685 GB, free: 11.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002027/0.3187, allocations: 236.1 kB / 0.5688 GB, free: 11.67 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.961e-05/0.3188, allocations: 35.8 kB / 0.5688 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.96e-05/0.3188, allocations: 29.7 kB / 0.5688 GB, free: 11.6 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002103/0.319, allocations: 370.8 kB / 0.5692 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.53e-05/0.3191, allocations: 31.98 kB / 0.5692 GB, free: 11.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001108/0.3192, allocations: 55.41 kB / 0.5693 GB, free: 11.13 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001955/0.3194, allocations: 95.34 kB / 0.5694 GB, free: 11.03 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.3194, allocations: 7.938 kB / 0.5694 GB, free: 11.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003279/0.3198, allocations: 177.2 kB / 0.5695 GB, free: 10.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.3198, allocations: 4 kB / 0.5695 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.3198, allocations: 4 kB / 0.5695 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.3198, allocations: 0 / 0.5695 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.3199, allocations: 19.94 kB / 0.5696 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.3199, allocations: 7.984 kB / 0.5696 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.559e-05/0.32, allocations: 11.94 kB / 0.5696 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.32, allocations: 4 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.0002469/0.3203, allocations: 229.8 kB / 0.5698 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.305e-05/0.3204, allocations: 59.56 kB / 0.5699 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004215/0.3208, allocations: 202.1 kB / 0.57 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.3208, allocations: 4 kB / 0.57 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.3208, allocations: 0 / 0.57 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.3208, allocations: 7.922 kB / 0.5701 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003295/0.3211, allocations: 292.5 kB / 0.5703 GB, free: 9.949 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.3211, allocations: 3.938 kB / 0.5703 GB, free: 9.945 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.752e-05/0.3212, allocations: 11.98 kB / 0.5704 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.3212, allocations: 4 kB / 0.5704 GB, free: 9.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.3212, allocations: 4 kB / 0.5704 GB, free: 9.926 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.3212, allocations: 4 kB / 0.5704 GB, free: 9.922 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.3212, allocations: 0 / 0.5704 GB, free: 9.922 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003996/0.3216, allocations: 225.4 kB / 0.5706 GB, free: 9.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001498/0.3218, allocations: 71.53 kB / 0.5706 GB, free: 9.609 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.654e-05/0.3218, allocations: 7.938 kB / 0.5707 GB, free: 9.602 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.387e-05/0.3219, allocations: 7.984 kB / 0.5707 GB, free: 9.594 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.272e-05/0.3219, allocations: 7.984 kB / 0.5707 GB, free: 9.586 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.12e-05/0.322, allocations: 8 kB / 0.5707 GB, free: 9.578 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009045/0.3229, allocations: 0.7917 MB / 0.5714 GB, free: 8.789 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3229, allocations: 4 kB / 0.5715 GB, free: 8.785 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002761/0.3231, allocations: 47.98 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.002228/0.3254, allocations: 1.093 MB / 0.5726 GB, free: 7.801 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002682/0.3256, allocations: 87.83 kB / 0.5727 GB, free: 7.715 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3256, allocations: 0 / 0.5727 GB, free: 7.715 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.3258, allocations: 39.92 kB / 0.5727 GB, free: 7.676 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004283/0.3262, allocations: 79.89 kB / 0.5728 GB, free: 7.598 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006102/0.3323, allocations: 4.587 MB / 0.5772 GB, free: 2.898 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.3326, allocations: 233.8 kB / 0.5775 GB, free: 2.648 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001577/0.3327, allocations: 66.94 kB / 0.5775 GB, free: 2.582 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002135/0.3329, allocations: 159.3 kB / 0.5777 GB, free: 2.43 MB / 414.1 MB Notification: Performance of SimCode: time 7.42e-07/0.3329, allocations: 0 / 0.5777 GB, free: 2.43 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03739/0.3703, allocations: 9.981 MB / 0.5874 GB, free: 8.527 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.85, allocations: 17.84 kB / 0.5874 GB, free: 8.523 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test72_fmu --startTime=0 --stopTime=8000 --stepSize=1.56986 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.970951145049185]