Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.001856/0.001856, 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.002054/0.002054, allocations: 216.9 kB / 23.73 MB, free: 4.156 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.463/1.463, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.2456/0.2456, allocations: 46.97 MB / 360.9 MB, free: 4.133 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.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 67.91 kB / 0.4962 GB, free: 7.664 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3196, allocations: 66.04 MB / 0.5607 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003117/0.3227, allocations: 1.705 MB / 0.5623 GB, free: 2.645 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001765/0.3245, allocations: 0.9715 MB / 0.5633 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.799e-05/0.3245, allocations: 0 / 0.5633 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002862/0.3248, allocations: 35.77 kB / 0.5633 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003212/0.3251, allocations: 99.53 kB / 0.5634 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001956/0.3253, allocations: 75.73 kB / 0.5635 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001857/0.3255, allocations: 115.6 kB / 0.5636 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.3256, allocations: 10.09 kB / 0.5636 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.947e-05/0.3257, allocations: 39.8 kB / 0.5636 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.689e-05/0.3258, allocations: 35.78 kB / 0.5637 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.3258, allocations: 4 kB / 0.5637 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.792e-05/0.3259, allocations: 39.98 kB / 0.5637 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.077e-05/0.326, allocations: 19.86 kB / 0.5637 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.379e-05/0.326, allocations: 31.84 kB / 0.5638 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002095/0.3262, allocations: 119.5 kB / 0.5639 GB, free: 1.055 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.3262, allocations: 0 / 0.5639 GB, free: 1.055 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.572e-06/0.3262, allocations: 0 / 0.5639 GB, free: 1.055 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.3262, allocations: 4 kB / 0.5639 GB, free: 1.051 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.0005541/0.3268, allocations: 337.6 kB / 0.5642 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.3268, allocations: 8.031 kB / 0.5642 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.389e-05/0.3269, allocations: 38.73 kB / 0.5642 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.365e-05/0.3269, allocations: 8.891 kB / 0.5643 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002649/0.3272, allocations: 144 kB / 0.5644 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.3272, allocations: 8.375 kB / 0.5644 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/0.3272, allocations: 3.938 kB / 0.5644 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.3274, allocations: 57.67 kB / 0.5645 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.3274, allocations: 4 kB / 0.5645 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.3274, allocations: 0 / 0.5645 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.3274, allocations: 0 / 0.5645 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.641e-05/0.3275, allocations: 19.98 kB / 0.5645 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004292/0.3279, allocations: 263.9 kB / 0.5647 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.3281, allocations: 58.61 kB / 0.5648 GB, free: 0 / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.834e-05/0.3281, allocations: 24.84 kB / 0.5648 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.3281, allocations: 3.984 kB / 0.5648 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000158/0.3283, allocations: 67.39 kB / 0.5649 GB, free: 15.89 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.3283, allocations: 7.938 kB / 0.5649 GB, free: 15.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005976/0.3289, allocations: 173.4 kB / 0.5651 GB, free: 15.71 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/0.3289, allocations: 55.41 kB / 0.5651 GB, free: 15.64 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/0.3291, allocations: 174.2 kB / 0.5653 GB, free: 15.46 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.3292, allocations: 25.7 kB / 0.5653 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.174e-05/0.3292, allocations: 104.1 kB / 0.5654 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.207e-05/0.3293, allocations: 31.72 kB / 0.5654 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.239e-05/0.3293, allocations: 21.72 kB / 0.5654 GB, free: 15.26 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.3294, allocations: 322.8 kB / 0.5658 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.746e-05/0.3295, allocations: 27.98 kB / 0.5658 GB, free: 14.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.199e-05/0.3296, allocations: 37.7 kB / 0.5658 GB, free: 14.87 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.3297, allocations: 65.75 kB / 0.5659 GB, free: 14.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3297, allocations: 3.938 kB / 0.5659 GB, free: 14.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001948/0.3299, allocations: 105.5 kB / 0.566 GB, free: 14.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.3299, allocations: 4 kB / 0.566 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.3299, allocations: 4 kB / 0.566 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.3299, allocations: 0 / 0.566 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.582e-05/0.33, allocations: 19.98 kB / 0.566 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.33, allocations: 7.969 kB / 0.566 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.763e-05/0.3301, allocations: 7.938 kB / 0.566 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.3301, allocations: 4.375 kB / 0.566 GB, free: 14.64 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.0001086/0.3302, allocations: 117.8 kB / 0.5661 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.388e-05/0.3302, allocations: 11.95 kB / 0.5662 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002831/0.3305, allocations: 126.2 kB / 0.5663 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.3305, allocations: 0 / 0.5663 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.483e-06/0.3305, allocations: 4 kB / 0.5663 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.3305, allocations: 3.938 kB / 0.5663 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004812/0.331, allocations: 370.4 kB / 0.5666 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.331, allocations: 0 / 0.5666 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.782e-05/0.3311, allocations: 8 kB / 0.5666 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.3311, allocations: 4.219 kB / 0.5666 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.3311, allocations: 4 kB / 0.5667 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3311, allocations: 0 / 0.5667 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3311, allocations: 3.938 kB / 0.5667 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002626/0.3313, allocations: 216.3 kB / 0.5669 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.242e-05/0.3314, allocations: 11.91 kB / 0.5669 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.298e-05/0.3314, allocations: 3.969 kB / 0.5669 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.731e-05/0.3315, allocations: 12 kB / 0.5669 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.799e-05/0.3315, allocations: 7.984 kB / 0.5669 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/0.3315, allocations: 4 kB / 0.5669 GB, free: 13.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001227/0.3316, allocations: 140 kB / 0.567 GB, free: 13.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3316, allocations: 0 / 0.567 GB, free: 13.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002616/0.3319, allocations: 27.94 kB / 0.5671 GB, free: 13.49 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.002279/0.3342, allocations: 1.138 MB / 0.5682 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002136/0.3344, allocations: 55.91 kB / 0.5682 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3344, allocations: 3.938 kB / 0.5682 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.017e-05/0.3345, allocations: 31.98 kB / 0.5683 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003443/0.3348, allocations: 27.98 kB / 0.5683 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001902/0.3367, allocations: 1.618 MB / 0.5699 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.909e-05/0.3368, allocations: 85.31 kB / 0.5699 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.576e-05/0.3369, allocations: 13.28 kB / 0.57 GB, free: 10.6 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.663e-05/0.3369, allocations: 35.42 kB / 0.57 GB, free: 10.57 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3369, allocations: 4 kB / 0.57 GB, free: 10.56 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0314/0.3683, allocations: 4.033 MB / 0.5739 GB, free: 6.586 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.28, allocations: 10.84 kB / 0.5739 GB, free: 6.578 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test2_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test2.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.29552516900003]