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.001898/0.001898, allocations: 107.1 kB / 20.44 MB, free: 1.195 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.002046/0.002046, allocations: 209.8 kB / 23.73 MB, free: 4.402 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.483/1.483, allocations: 230.5 MB / 257.4 MB, free: 7.75 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.2251/0.2251, allocations: 46.96 MB / 360.8 MB, free: 3.93 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.002391/0.002391, allocations: 79.88 kB / 0.4962 GB, free: 7.508 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3322, allocations: 66.09 MB / 0.5608 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003516/0.3357, allocations: 1.914 MB / 0.5626 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002039/0.3378, allocations: 1.135 MB / 0.5637 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.3379, allocations: 7.938 kB / 0.5637 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006887/0.3386, allocations: 199.4 kB / 0.5639 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004871/0.339, allocations: 215.2 kB / 0.5641 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004156/0.3395, allocations: 155 kB / 0.5643 GB, free: 420 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003415/0.3398, allocations: 271.2 kB / 0.5645 GB, free: 148 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.3399, allocations: 20.52 kB / 0.5646 GB, free: 124 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/0.3401, allocations: 115.5 kB / 0.5647 GB, free: 8 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001871/0.3402, allocations: 119.5 kB / 0.5648 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.668e-05/0.3403, allocations: 8 kB / 0.5648 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001476/0.3404, allocations: 67.95 kB / 0.5649 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.318e-05/0.3405, allocations: 51.72 kB / 0.5649 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.572e-05/0.3406, allocations: 71.58 kB / 0.565 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000344/0.3409, allocations: 248.7 kB / 0.5652 GB, free: 15.45 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3409, allocations: 4 kB / 0.5652 GB, free: 15.45 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3409, allocations: 0 / 0.5652 GB, free: 15.45 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.3409, allocations: 0 / 0.5652 GB, free: 15.45 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.0008182/0.3418, allocations: 0.4906 MB / 0.5657 GB, free: 14.92 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.3418, allocations: 8.031 kB / 0.5657 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.144e-05/0.3418, allocations: 42.73 kB / 0.5657 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.778e-05/0.3419, allocations: 28.78 kB / 0.5658 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000361/0.3423, allocations: 230.5 kB / 0.566 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.3423, allocations: 8.312 kB / 0.566 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/0.3423, allocations: 8.375 kB / 0.566 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002367/0.3425, allocations: 103.4 kB / 0.5661 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.3425, allocations: 0 / 0.5661 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.3426, allocations: 4 kB / 0.5661 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.3426, allocations: 7.984 kB / 0.5661 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001271/0.3427, allocations: 39.97 kB / 0.5662 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005345/0.3432, allocations: 340.7 kB / 0.5665 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002958/0.3435, allocations: 117.2 kB / 0.5666 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.3436, allocations: 41.7 kB / 0.5666 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.3436, allocations: 0 / 0.5666 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002427/0.3439, allocations: 121.1 kB / 0.5667 GB, free: 13.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.122e-06/0.3439, allocations: 0 / 0.5667 GB, free: 13.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004715/0.3444, allocations: 189.4 kB / 0.5669 GB, free: 13.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.458e-05/0.3444, allocations: 85.05 kB / 0.567 GB, free: 13.42 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004113/0.3448, allocations: 360.5 kB / 0.5674 GB, free: 13.06 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.3448, allocations: 29.7 kB / 0.5674 GB, free: 13.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.345, allocations: 140.1 kB / 0.5675 GB, free: 12.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.8e-05/0.345, allocations: 35.8 kB / 0.5675 GB, free: 12.85 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.163e-05/0.345, allocations: 37.66 kB / 0.5676 GB, free: 12.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.3452, allocations: 338.8 kB / 0.5679 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.929e-05/0.3453, allocations: 43.91 kB / 0.5679 GB, free: 12.42 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.3454, allocations: 96.36 kB / 0.568 GB, free: 12.31 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001973/0.3456, allocations: 103.9 kB / 0.5681 GB, free: 12.2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3456, allocations: 0 / 0.5681 GB, free: 12.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002835/0.3459, allocations: 153.5 kB / 0.5683 GB, free: 12.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.3459, allocations: 8 kB / 0.5683 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.3459, allocations: 0 / 0.5683 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.346, allocations: 0 / 0.5683 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.3461, allocations: 27.92 kB / 0.5683 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.3461, allocations: 0 / 0.5683 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.495e-05/0.3462, allocations: 23.88 kB / 0.5683 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.3462, allocations: 4 kB / 0.5683 GB, free: 11.98 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.0001537/0.3463, allocations: 153.8 kB / 0.5685 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.313e-05/0.3464, allocations: 27.81 kB / 0.5685 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003906/0.3468, allocations: 183.4 kB / 0.5687 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.3468, allocations: 0 / 0.5687 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3468, allocations: 4 kB / 0.5687 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3468, allocations: 0 / 0.5687 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002249/0.347, allocations: 212.6 kB / 0.5689 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.347, allocations: 4 kB / 0.5689 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.546e-05/0.3471, allocations: 11.94 kB / 0.5689 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3471, allocations: 0 / 0.5689 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.3471, allocations: 11.98 kB / 0.5689 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3471, allocations: 192 / 0.5689 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3471, allocations: 4 kB / 0.5689 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003402/0.3474, allocations: 205.7 kB / 0.5691 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.889e-05/0.3475, allocations: 31.78 kB / 0.5692 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.568e-05/0.3475, allocations: 0 / 0.5692 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.846e-05/0.3476, allocations: 11.98 kB / 0.5692 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.748e-05/0.3476, allocations: 11.98 kB / 0.5692 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.3477, allocations: 7.938 kB / 0.5692 GB, free: 11.03 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003036/0.348, allocations: 263 kB / 0.5694 GB, free: 10.77 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.348, allocations: 0 / 0.5694 GB, free: 10.77 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002633/0.3482, allocations: 43.94 kB / 0.5695 GB, free: 10.73 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.002353/0.3506, allocations: 1.069 MB / 0.5705 GB, free: 9.781 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003219/0.3509, allocations: 103.8 kB / 0.5706 GB, free: 9.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.3509, allocations: 0 / 0.5706 GB, free: 9.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.351, allocations: 47.97 kB / 0.5707 GB, free: 9.633 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004009/0.3514, allocations: 63.28 kB / 0.5707 GB, free: 9.574 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002939/0.3544, allocations: 2.365 MB / 0.573 GB, free: 7.098 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001421/0.3545, allocations: 136.8 kB / 0.5732 GB, free: 6.945 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001221/0.3546, allocations: 38.08 kB / 0.5732 GB, free: 6.906 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.3548, allocations: 71.41 kB / 0.5733 GB, free: 6.84 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3548, allocations: 0 / 0.5733 GB, free: 6.84 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0332/0.388, allocations: 6.633 MB / 0.5798 GB, free: 252 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.59, allocations: 2.656 kB / 0.5798 GB, free: 252 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: 14.801802041940391]