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.001546/0.001546, allocations: 112.7 kB / 20.43 MB, free: 1.453 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.001443/0.001443, allocations: 214 kB / 23.74 MB, free: 4.66 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.453/1.453, allocations: 230.5 MB / 257.4 MB, free: 8.008 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.2359/0.2359, allocations: 46.93 MB / 360.8 MB, free: 4.285 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.002333/0.002333, allocations: 75.88 kB / 0.4962 GB, free: 7.734 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3306, allocations: 66.09 MB / 0.5608 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003362/0.334, allocations: 1.988 MB / 0.5627 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002042/0.336, allocations: 1.217 MB / 0.5639 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.3361, allocations: 3.938 kB / 0.5639 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006629/0.3368, allocations: 207.3 kB / 0.5641 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004622/0.3372, allocations: 203.3 kB / 0.5643 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003969/0.3376, allocations: 167.5 kB / 0.5645 GB, free: 476 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003553/0.338, allocations: 271.2 kB / 0.5647 GB, free: 204 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.3381, allocations: 12.59 kB / 0.5647 GB, free: 188 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000227/0.3383, allocations: 123.5 kB / 0.5649 GB, free: 64 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001941/0.3385, allocations: 107.6 kB / 0.565 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.17e-05/0.3386, allocations: 12 kB / 0.565 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001515/0.3387, allocations: 75.81 kB / 0.565 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.313e-05/0.3388, allocations: 55.83 kB / 0.5651 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.684e-05/0.3389, allocations: 83.36 kB / 0.5652 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003343/0.3392, allocations: 248.8 kB / 0.5654 GB, free: 15.49 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.3392, allocations: 4 kB / 0.5654 GB, free: 15.49 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3392, allocations: 0 / 0.5654 GB, free: 15.49 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.3392, allocations: 0 / 0.5654 GB, free: 15.49 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.0008458/0.3401, allocations: 0.4944 MB / 0.5659 GB, free: 14.96 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.3401, allocations: 8.031 kB / 0.5659 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.34e-05/0.3402, allocations: 42.69 kB / 0.566 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.893e-05/0.3402, allocations: 24.8 kB / 0.566 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003807/0.3406, allocations: 234.5 kB / 0.5662 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.3406, allocations: 4.375 kB / 0.5662 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.98e-05/0.3406, allocations: 4.375 kB / 0.5662 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002739/0.3409, allocations: 112.3 kB / 0.5663 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.3409, allocations: 3.938 kB / 0.5663 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.3409, allocations: 0 / 0.5663 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.3409, allocations: 0 / 0.5663 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/0.3411, allocations: 43.97 kB / 0.5664 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005222/0.3416, allocations: 348.7 kB / 0.5667 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003007/0.3419, allocations: 117.2 kB / 0.5668 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.342, allocations: 45.67 kB / 0.5669 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.342, allocations: 3.938 kB / 0.5669 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002357/0.3423, allocations: 113 kB / 0.567 GB, free: 13.74 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.263e-06/0.3423, allocations: 4 kB / 0.567 GB, free: 13.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.00047/0.3427, allocations: 181.4 kB / 0.5671 GB, free: 13.55 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.796e-05/0.3428, allocations: 106.8 kB / 0.5672 GB, free: 13.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004025/0.3432, allocations: 356.5 kB / 0.5676 GB, free: 13.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.3432, allocations: 29.7 kB / 0.5676 GB, free: 13.03 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.3433, allocations: 136.1 kB / 0.5677 GB, free: 12.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.674e-05/0.3434, allocations: 35.73 kB / 0.5678 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.486e-05/0.3434, allocations: 29.7 kB / 0.5678 GB, free: 12.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.3436, allocations: 346.8 kB / 0.5681 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.341e-05/0.3437, allocations: 27.98 kB / 0.5682 GB, free: 12.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001461/0.3438, allocations: 87.17 kB / 0.5682 GB, free: 12.35 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001919/0.344, allocations: 95.95 kB / 0.5683 GB, free: 12.24 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.344, allocations: 0 / 0.5683 GB, free: 12.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002893/0.3443, allocations: 149.4 kB / 0.5685 GB, free: 12.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.3443, allocations: 9.875 kB / 0.5685 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3443, allocations: 0 / 0.5685 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.3443, allocations: 0 / 0.5685 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.3445, allocations: 23.98 kB / 0.5685 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.3445, allocations: 4.062 kB / 0.5685 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.057e-05/0.3446, allocations: 19.89 kB / 0.5685 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.3446, allocations: 11.88 kB / 0.5685 GB, free: 12.02 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.000164/0.3447, allocations: 151.1 kB / 0.5687 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.825e-05/0.3448, allocations: 31.81 kB / 0.5687 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003641/0.3452, allocations: 159.4 kB / 0.5689 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.3452, allocations: 7.984 kB / 0.5689 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3452, allocations: 4 kB / 0.5689 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3452, allocations: 0 / 0.5689 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002358/0.3454, allocations: 228.9 kB / 0.5691 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.3454, allocations: 7.984 kB / 0.5691 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.502e-05/0.3454, allocations: 8 kB / 0.5691 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.3455, allocations: 0 / 0.5691 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.3455, allocations: 0 / 0.5691 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3455, allocations: 4 kB / 0.5691 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3455, allocations: 0 / 0.5691 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003231/0.3458, allocations: 193.6 kB / 0.5693 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.038e-05/0.3458, allocations: 23.8 kB / 0.5693 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.84e-05/0.3459, allocations: 8 kB / 0.5693 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.447e-05/0.3459, allocations: 11.92 kB / 0.5693 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.388e-05/0.346, allocations: 7.984 kB / 0.5694 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/0.346, allocations: 8 kB / 0.5694 GB, free: 11.1 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002886/0.3463, allocations: 263 kB / 0.5696 GB, free: 10.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3463, allocations: 4 kB / 0.5696 GB, free: 10.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002699/0.3466, allocations: 35.94 kB / 0.5696 GB, free: 10.8 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 (11): * Single equations (assignments): 7 * 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.002176/0.3487, allocations: 1.032 MB / 0.5707 GB, free: 9.887 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003107/0.3491, allocations: 87.89 kB / 0.5707 GB, free: 9.801 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3491, allocations: 4 kB / 0.5707 GB, free: 9.797 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.3492, allocations: 43.92 kB / 0.5708 GB, free: 9.754 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004483/0.3496, allocations: 68.3 kB / 0.5709 GB, free: 9.688 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003205/0.3528, allocations: 2.336 MB / 0.5731 GB, free: 7.238 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004097/0.3532, allocations: 0.7556 MB / 0.5739 GB, free: 6.457 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001147/0.3534, allocations: 33.94 kB / 0.5739 GB, free: 6.426 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.3535, allocations: 71.41 kB / 0.574 GB, free: 6.359 MB / 414.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3535, allocations: 0 / 0.574 GB, free: 6.359 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03293/0.3864, allocations: 5.989 MB / 0.5798 GB, free: 424 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.64, allocations: 11.61 kB / 0.5798 GB, free: 416 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.824761546995433]