Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.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.001523/0.001523, allocations: 109 kB / 21.23 MB, free: 0.6641 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.001846/0.001846, allocations: 213.8 kB / 24.54 MB, free: 4.02 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.522/1.522, allocations: 230.3 MB / 258 MB, free: 8.199 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.2382/0.2382, allocations: 46.88 MB / 361.3 MB, free: 4.434 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.Test46,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002282/0.002282, allocations: 79.86 kB / 0.4966 GB, free: 8.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3475, allocations: 66.04 MB / 0.5611 GB, free: 4.641 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003343/0.3509, allocations: 1.735 MB / 0.5628 GB, free: 2.895 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001836/0.3527, allocations: 1.049 MB / 0.5638 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.816e-05/0.3528, allocations: 7.875 kB / 0.5639 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003014/0.3531, allocations: 51.77 kB / 0.5639 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003199/0.3534, allocations: 107.6 kB / 0.564 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001943/0.3536, allocations: 79.67 kB / 0.5641 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002262/0.3538, allocations: 103.7 kB / 0.5642 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.3539, allocations: 5.969 kB / 0.5642 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.354, allocations: 55.7 kB / 0.5642 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.783e-05/0.3541, allocations: 27.86 kB / 0.5643 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.3541, allocations: 4 kB / 0.5643 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.88e-05/0.3542, allocations: 39.98 kB / 0.5643 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.305e-05/0.3543, allocations: 35.83 kB / 0.5643 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.97e-05/0.3544, allocations: 43.62 kB / 0.5644 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002427/0.3546, allocations: 143.4 kB / 0.5645 GB, free: 1.148 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3546, allocations: 0 / 0.5645 GB, free: 1.148 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3546, allocations: 0 / 0.5645 GB, free: 1.148 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.3546, allocations: 0 / 0.5645 GB, free: 1.148 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.0006806/0.3553, allocations: 450.3 kB / 0.5649 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.3553, allocations: 12.03 kB / 0.565 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.205e-05/0.3554, allocations: 34.73 kB / 0.565 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.979e-05/0.3554, allocations: 24.84 kB / 0.565 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000385/0.3558, allocations: 221 kB / 0.5652 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.3558, allocations: 4.375 kB / 0.5652 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.3559, allocations: 384 / 0.5652 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.356, allocations: 61.78 kB / 0.5653 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.356, allocations: 3.938 kB / 0.5653 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.356, allocations: 4 kB / 0.5653 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.356, allocations: 0 / 0.5653 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.474e-05/0.3561, allocations: 19.98 kB / 0.5653 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004276/0.3565, allocations: 308.8 kB / 0.5656 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001796/0.3567, allocations: 58.61 kB / 0.5657 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.85e-05/0.3568, allocations: 12.86 kB / 0.5657 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.3568, allocations: 7.984 kB / 0.5657 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001517/0.3569, allocations: 63.39 kB / 0.5657 GB, free: 15.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.3569, allocations: 4 kB / 0.5658 GB, free: 15.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005807/0.3575, allocations: 181.3 kB / 0.5659 GB, free: 15.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.3576, allocations: 51.41 kB / 0.566 GB, free: 15.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002953/0.3578, allocations: 274.8 kB / 0.5662 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.3579, allocations: 33.69 kB / 0.5663 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.697e-05/0.3579, allocations: 112.1 kB / 0.5664 GB, free: 15.03 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.13e-05/0.358, allocations: 23.8 kB / 0.5664 GB, free: 15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.954e-05/0.358, allocations: 25.7 kB / 0.5664 GB, free: 14.97 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.3582, allocations: 338.7 kB / 0.5667 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.656e-05/0.3582, allocations: 19.98 kB / 0.5668 GB, free: 14.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.661e-05/0.3583, allocations: 33.72 kB / 0.5668 GB, free: 14.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001113/0.3584, allocations: 57.7 kB / 0.5669 GB, free: 14.51 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.3584, allocations: 0 / 0.5669 GB, free: 14.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002014/0.3586, allocations: 125.4 kB / 0.567 GB, free: 14.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.3586, allocations: 8 kB / 0.567 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.3586, allocations: 0 / 0.567 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.3587, allocations: 0 / 0.567 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.874e-05/0.3587, allocations: 12 kB / 0.567 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.3587, allocations: 4 kB / 0.567 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.671e-05/0.3588, allocations: 8.297 kB / 0.567 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.3588, allocations: 4 kB / 0.567 GB, free: 14.35 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.0001249/0.3589, allocations: 139.1 kB / 0.5671 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.506e-05/0.359, allocations: 15.91 kB / 0.5672 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002496/0.3592, allocations: 123.2 kB / 0.5673 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.3592, allocations: 4 kB / 0.5673 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.3592, allocations: 0 / 0.5673 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3592, allocations: 0 / 0.5673 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004727/0.3597, allocations: 407.4 kB / 0.5677 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.3597, allocations: 0 / 0.5677 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.423e-05/0.3597, allocations: 19.91 kB / 0.5677 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.205e-05/0.3597, allocations: 3.984 kB / 0.5677 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.3597, allocations: 4 kB / 0.5677 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.3597, allocations: 3.938 kB / 0.5677 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3597, allocations: 0 / 0.5677 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000235/0.36, allocations: 204.3 kB / 0.5679 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.661e-05/0.36, allocations: 89.02 kB / 0.568 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.3601, allocations: 4 kB / 0.568 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.612e-05/0.3601, allocations: 15.92 kB / 0.568 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.004e-05/0.3602, allocations: 0 / 0.568 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.3602, allocations: 7.984 kB / 0.568 GB, free: 13.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000187/0.3604, allocations: 204.5 kB / 0.5682 GB, free: 13.01 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3604, allocations: 0 / 0.5682 GB, free: 13.01 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002551/0.3606, allocations: 23.94 kB / 0.5682 GB, free: 12.98 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 (8): * Single equations (assignments): 6 * 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.002084/0.3627, allocations: 1.094 MB / 0.5693 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001886/0.3629, allocations: 59.86 kB / 0.5693 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.3629, allocations: 4 kB / 0.5693 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.091e-05/0.363, allocations: 23.92 kB / 0.5694 GB, free: 11.94 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003518/0.3633, allocations: 43.81 kB / 0.5694 GB, free: 11.9 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002253/0.3656, allocations: 1.827 MB / 0.5712 GB, free: 9.996 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003861/0.366, allocations: 0.7197 MB / 0.5719 GB, free: 9.25 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.463e-05/0.366, allocations: 16.97 kB / 0.5719 GB, free: 9.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.548e-05/0.3661, allocations: 43.42 kB / 0.572 GB, free: 9.188 MB / 414.1 MB Notification: Performance of SimCode: time 1.133e-06/0.3661, allocations: 3.938 kB / 0.572 GB, free: 9.184 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02483/0.391, allocations: 3.844 MB / 0.5757 GB, free: 5.344 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.005/8.395, allocations: 7.156 kB / 0.5757 GB, free: 5.34 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498604 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test46.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.559242049930617]