Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.001312/0.001312, 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.00141/0.00141, allocations: 210.4 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.457/1.457, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2283/0.2283, allocations: 46.95 MB / 360.9 MB, free: 4.027 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.Test68,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 67.89 kB / 0.4962 GB, free: 7.645 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3222, allocations: 66.04 MB / 0.5606 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.00342/0.3257, allocations: 1.784 MB / 0.5624 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001858/0.3275, allocations: 1.045 MB / 0.5634 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.661e-05/0.3276, allocations: 3.938 kB / 0.5634 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005185/0.3281, allocations: 303.3 kB / 0.5637 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005239/0.3286, allocations: 251.2 kB / 0.5639 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002529/0.3289, allocations: 111.7 kB / 0.564 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003797/0.3293, allocations: 263.2 kB / 0.5643 GB, free: 428 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.713e-05/0.3293, allocations: 13.8 kB / 0.5643 GB, free: 412 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001738/0.3295, allocations: 123.6 kB / 0.5644 GB, free: 288 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002982/0.3298, allocations: 219.9 kB / 0.5646 GB, free: 68 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.619e-05/0.3298, allocations: 8 kB / 0.5646 GB, free: 60 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.33, allocations: 47.98 kB / 0.5647 GB, free: 12 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002016/0.3302, allocations: 140.4 kB / 0.5648 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.3303, allocations: 103.1 kB / 0.5649 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004756/0.3307, allocations: 380.1 kB / 0.5653 GB, free: 15.4 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.3308, allocations: 0 / 0.5653 GB, free: 15.4 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3308, allocations: 0 / 0.5653 GB, free: 15.4 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.438e-06/0.3308, allocations: 7.984 kB / 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.001073/0.3318, allocations: 0.6746 MB / 0.566 GB, free: 14.69 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.3319, allocations: 8.031 kB / 0.566 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.083e-05/0.3319, allocations: 38.73 kB / 0.566 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.288e-05/0.332, allocations: 52.61 kB / 0.566 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006523/0.3327, allocations: 378.6 kB / 0.5664 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.3327, allocations: 4.375 kB / 0.5664 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.915e-05/0.3327, allocations: 3.938 kB / 0.5664 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002276/0.3329, allocations: 95.28 kB / 0.5665 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.3329, allocations: 4 kB / 0.5665 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.333, allocations: 4 kB / 0.5665 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.333, allocations: 4 kB / 0.5665 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.3331, allocations: 31.97 kB / 0.5666 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003902/0.3335, allocations: 333.5 kB / 0.5669 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002813/0.3337, allocations: 109.1 kB / 0.567 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.936e-05/0.3338, allocations: 41.69 kB / 0.567 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.3339, allocations: 4 kB / 0.567 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002522/0.3341, allocations: 113 kB / 0.5671 GB, free: 13.36 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.213e-06/0.3341, allocations: 0 / 0.5671 GB, free: 13.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005113/0.3346, allocations: 213.2 kB / 0.5673 GB, free: 13.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.511e-05/0.3347, allocations: 77.11 kB / 0.5674 GB, free: 13.05 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00119/0.3359, allocations: 1.034 MB / 0.5684 GB, free: 12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/0.3359, allocations: 29.7 kB / 0.5684 GB, free: 11.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002026/0.3361, allocations: 236.1 kB / 0.5687 GB, free: 11.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.975e-05/0.3361, allocations: 27.84 kB / 0.5687 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.222e-05/0.3362, allocations: 25.72 kB / 0.5687 GB, free: 11.67 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000207/0.3364, allocations: 366.8 kB / 0.5691 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.333e-05/0.3365, allocations: 31.97 kB / 0.5691 GB, free: 11.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.3366, allocations: 67.23 kB / 0.5692 GB, free: 11.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001963/0.3368, allocations: 91.41 kB / 0.5692 GB, free: 11.1 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.3368, allocations: 3.938 kB / 0.5693 GB, free: 11.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003293/0.3371, allocations: 185.7 kB / 0.5694 GB, free: 10.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.3372, allocations: 7.938 kB / 0.5694 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.3372, allocations: 0 / 0.5694 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.3372, allocations: 4 kB / 0.5694 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.3373, allocations: 20.05 kB / 0.5695 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.3373, allocations: 8 kB / 0.5695 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.3374, allocations: 15.89 kB / 0.5695 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.3374, allocations: 7.938 kB / 0.5695 GB, free: 10.84 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.0002206/0.3376, allocations: 217.8 kB / 0.5697 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.515e-05/0.3377, allocations: 55.67 kB / 0.5697 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000426/0.3381, allocations: 201.8 kB / 0.5699 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.3381, allocations: 4 kB / 0.5699 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.3381, allocations: 0 / 0.5699 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.3381, allocations: 7.969 kB / 0.57 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003135/0.3385, allocations: 292.5 kB / 0.5702 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.3385, allocations: 3.984 kB / 0.5702 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.332e-05/0.3385, allocations: 8 kB / 0.5702 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3385, allocations: 0 / 0.5702 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.3385, allocations: 8 kB / 0.5703 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3385, allocations: 4 kB / 0.5703 GB, free: 9.996 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3385, allocations: 0 / 0.5703 GB, free: 9.996 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003767/0.3389, allocations: 229.4 kB / 0.5705 GB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001417/0.339, allocations: 67.53 kB / 0.5705 GB, free: 9.684 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.004e-05/0.3391, allocations: 8 kB / 0.5705 GB, free: 9.676 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.824e-05/0.3392, allocations: 7.984 kB / 0.5706 GB, free: 9.668 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.379e-05/0.3392, allocations: 7.984 kB / 0.5706 GB, free: 9.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.3392, allocations: 8 kB / 0.5706 GB, free: 9.652 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008584/0.3401, allocations: 0.7682 MB / 0.5713 GB, free: 8.887 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3401, allocations: 4 kB / 0.5713 GB, free: 8.883 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002765/0.3404, allocations: 44 kB / 0.5714 GB, free: 8.84 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.002276/0.3426, allocations: 1.098 MB / 0.5724 GB, free: 7.895 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002666/0.3429, allocations: 83.89 kB / 0.5725 GB, free: 7.812 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3429, allocations: 3.938 kB / 0.5725 GB, free: 7.809 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001165/0.343, allocations: 39.92 kB / 0.5726 GB, free: 7.77 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004324/0.3435, allocations: 79.69 kB / 0.5726 GB, free: 7.695 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005642/0.3491, allocations: 4.495 MB / 0.577 GB, free: 3.094 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002688/0.3494, allocations: 237.8 kB / 0.5773 GB, free: 2.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001412/0.3495, allocations: 54.95 kB / 0.5773 GB, free: 2.789 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000197/0.3497, allocations: 151.4 kB / 0.5774 GB, free: 2.645 MB / 414.1 MB Notification: Performance of SimCode: time 1.293e-06/0.3497, allocations: 0 / 0.5774 GB, free: 2.645 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03639/0.3861, allocations: 9.878 MB / 0.5871 GB, free: 8.844 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.36, allocations: 3.75 kB / 0.5871 GB, free: 8.844 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test68_fmu --startTime=0 --stopTime=8000 --stepSize=1.56403 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.373806168005103]