Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00182/0.00182, allocations: 107.4 kB / 20.48 MB, free: 1.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002251/0.002251, allocations: 210.5 kB / 23.78 MB, free: 4.438 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 230.5 MB / 257.5 MB, free: 7.73 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2193/0.2193, allocations: 46.94 MB / 360.9 MB, free: 3.898 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002298/0.002298, allocations: 87.8 kB / 0.4963 GB, free: 7.457 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3247, allocations: 66.09 MB / 0.5608 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003331/0.3281, allocations: 1.928 MB / 0.5627 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002066/0.3301, allocations: 1.135 MB / 0.5638 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.662e-05/0.3302, allocations: 4 kB / 0.5638 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006944/0.3309, allocations: 203.3 kB / 0.564 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004951/0.3314, allocations: 206.8 kB / 0.5642 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004566/0.3319, allocations: 167.5 kB / 0.5644 GB, free: 364 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003383/0.3322, allocations: 271.2 kB / 0.5646 GB, free: 92 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.3323, allocations: 16.59 kB / 0.5647 GB, free: 72 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001714/0.3325, allocations: 115.5 kB / 0.5648 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001719/0.3327, allocations: 115.5 kB / 0.5649 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.367e-05/0.3327, allocations: 11.94 kB / 0.5649 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001505/0.3328, allocations: 71.88 kB / 0.565 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.861e-05/0.3329, allocations: 59.78 kB / 0.565 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.945e-05/0.333, allocations: 59.55 kB / 0.5651 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003398/0.3334, allocations: 252.8 kB / 0.5653 GB, free: 15.4 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3334, allocations: 0 / 0.5653 GB, free: 15.4 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3334, allocations: 0 / 0.5653 GB, free: 15.4 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.321e-06/0.3334, allocations: 0 / 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008583/0.3342, allocations: 0.4944 MB / 0.5658 GB, free: 14.87 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.3343, allocations: 12.03 kB / 0.5658 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.095e-05/0.3343, allocations: 30.75 kB / 0.5658 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.786e-05/0.3344, allocations: 24.8 kB / 0.5659 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00036/0.3347, allocations: 238.5 kB / 0.5661 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.3347, allocations: 4.375 kB / 0.5661 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.3348, allocations: 4.375 kB / 0.5661 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002245/0.335, allocations: 103.4 kB / 0.5662 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.335, allocations: 3.938 kB / 0.5662 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.335, allocations: 4 kB / 0.5662 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.335, allocations: 4 kB / 0.5662 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001366/0.3351, allocations: 43.95 kB / 0.5662 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005077/0.3357, allocations: 336.7 kB / 0.5666 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003054/0.336, allocations: 125.2 kB / 0.5667 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.3361, allocations: 45.7 kB / 0.5667 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.3361, allocations: 0 / 0.5667 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002332/0.3363, allocations: 117 kB / 0.5668 GB, free: 13.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/0.3363, allocations: 0 / 0.5668 GB, free: 13.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004792/0.3368, allocations: 193.4 kB / 0.567 GB, free: 13.47 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.585e-05/0.3368, allocations: 81.11 kB / 0.5671 GB, free: 13.37 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003961/0.3372, allocations: 360.5 kB / 0.5674 GB, free: 13.01 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.3373, allocations: 29.7 kB / 0.5675 GB, free: 12.97 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.3374, allocations: 140.1 kB / 0.5676 GB, free: 12.83 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.997e-05/0.3374, allocations: 31.83 kB / 0.5676 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.828e-05/0.3375, allocations: 33.7 kB / 0.5677 GB, free: 12.76 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.3376, allocations: 334.8 kB / 0.568 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.75e-05/0.3377, allocations: 36.48 kB / 0.568 GB, free: 12.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.3379, allocations: 102 kB / 0.5681 GB, free: 12.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002036/0.3381, allocations: 107.4 kB / 0.5682 GB, free: 12.15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3381, allocations: 0 / 0.5682 GB, free: 12.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002982/0.3384, allocations: 149.4 kB / 0.5684 GB, free: 12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.3384, allocations: 8 kB / 0.5684 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.3384, allocations: 0 / 0.5684 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.3384, allocations: 3.938 kB / 0.5684 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.3385, allocations: 31.92 kB / 0.5684 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.3385, allocations: 4.062 kB / 0.5684 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.303e-05/0.3386, allocations: 19.88 kB / 0.5684 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.3386, allocations: 4 kB / 0.5684 GB, free: 11.93 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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001458/0.3388, allocations: 157.7 kB / 0.5686 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.138e-05/0.3388, allocations: 27.81 kB / 0.5686 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003771/0.3392, allocations: 175.5 kB / 0.5688 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.3392, allocations: 4 kB / 0.5688 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3392, allocations: 192 / 0.5688 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.3392, allocations: 7.984 kB / 0.5688 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002395/0.3395, allocations: 220.6 kB / 0.569 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3395, allocations: 0 / 0.569 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.72e-05/0.3395, allocations: 11.98 kB / 0.569 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3395, allocations: 0 / 0.569 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.3395, allocations: 4 kB / 0.569 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.3395, allocations: 0 / 0.569 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3395, allocations: 0 / 0.569 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003432/0.3399, allocations: 209.6 kB / 0.5692 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.451e-05/0.3399, allocations: 23.8 kB / 0.5692 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.493e-05/0.3399, allocations: 7.984 kB / 0.5692 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.296e-05/0.34, allocations: 8 kB / 0.5693 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.207e-05/0.3401, allocations: 11.98 kB / 0.5693 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.007e-05/0.3401, allocations: 11.98 kB / 0.5693 GB, free: 10.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002785/0.3404, allocations: 263 kB / 0.5695 GB, free: 10.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3404, allocations: 0 / 0.5695 GB, free: 10.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002699/0.3406, allocations: 39.94 kB / 0.5696 GB, free: 10.69 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.3429, allocations: 1.066 MB / 0.5706 GB, free: 9.746 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002995/0.3432, allocations: 107.9 kB / 0.5707 GB, free: 9.641 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3432, allocations: 0 / 0.5707 GB, free: 9.641 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.3433, allocations: 47.92 kB / 0.5708 GB, free: 9.594 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004249/0.3437, allocations: 72.41 kB / 0.5708 GB, free: 9.523 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002952/0.3467, allocations: 2.361 MB / 0.5731 GB, free: 7.059 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001415/0.3468, allocations: 141 kB / 0.5733 GB, free: 6.902 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001089/0.3469, allocations: 34.3 kB / 0.5733 GB, free: 6.867 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/0.3471, allocations: 68.48 kB / 0.5734 GB, free: 6.797 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3471, allocations: 4 kB / 0.5734 GB, free: 6.793 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04214/0.3892, allocations: 6.707 MB / 0.5799 GB, free: 124 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.84, allocations: 2.812 kB / 0.5799 GB, free: 124 kB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83_res.csv --start-time 1 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039984 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable booleanTable.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83_res.csv. Warning: Get data of variable booleanTable.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83_res.csv failed! Error: Could not read variable booleanTable.realToBoolean.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83_res.csv. Warning: Get data of variable booleanTable.realToBoolean.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.152442532009445]