Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.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.001326/0.001326, allocations: 110.5 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.001477/0.001477, allocations: 216.6 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.416/1.416, allocations: 230.3 MB / 258 MB, free: 8.219 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.2405/0.2405, allocations: 46.89 MB / 361.3 MB, free: 4.465 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.Test49,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002218/0.002218, allocations: 75.88 kB / 0.4966 GB, free: 8.047 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3051, allocations: 66.03 MB / 0.5611 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003437/0.3085, allocations: 1.745 MB / 0.5628 GB, free: 2.918 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001766/0.3103, allocations: 1.049 MB / 0.5638 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.899e-05/0.3104, allocations: 4 kB / 0.5639 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002968/0.3107, allocations: 59.69 kB / 0.5639 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003312/0.311, allocations: 99.53 kB / 0.564 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000218/0.3113, allocations: 79.72 kB / 0.5641 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001888/0.3114, allocations: 107.7 kB / 0.5642 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.253e-05/0.3115, allocations: 9.969 kB / 0.5642 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.3116, allocations: 47.72 kB / 0.5642 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.09e-05/0.3117, allocations: 35.84 kB / 0.5643 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.3117, allocations: 4 kB / 0.5643 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.835e-05/0.3118, allocations: 43.92 kB / 0.5643 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.973e-05/0.3119, allocations: 31.84 kB / 0.5643 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.672e-05/0.312, allocations: 43.67 kB / 0.5644 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002259/0.3122, allocations: 135.4 kB / 0.5645 GB, free: 1.176 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3122, allocations: 0 / 0.5645 GB, free: 1.176 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.3122, allocations: 4 kB / 0.5645 GB, free: 1.172 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.3122, allocations: 4 kB / 0.5645 GB, free: 1.168 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.000601/0.3128, allocations: 450.3 kB / 0.565 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.3128, allocations: 8.031 kB / 0.565 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.739e-05/0.3129, allocations: 38.69 kB / 0.565 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.815e-05/0.3129, allocations: 12.84 kB / 0.565 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003153/0.3132, allocations: 225.1 kB / 0.5652 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.3133, allocations: 384 / 0.5652 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.3133, allocations: 4.375 kB / 0.5652 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.3134, allocations: 61.8 kB / 0.5653 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.3134, allocations: 0 / 0.5653 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.946e-06/0.3134, allocations: 0 / 0.5653 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.3134, allocations: 0 / 0.5653 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.798e-05/0.3135, allocations: 23.98 kB / 0.5653 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004153/0.3139, allocations: 308.7 kB / 0.5656 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001921/0.3141, allocations: 50.69 kB / 0.5657 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.818e-05/0.3142, allocations: 20.84 kB / 0.5657 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.3142, allocations: 0 / 0.5657 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001597/0.3144, allocations: 71.33 kB / 0.5657 GB, free: 15.74 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.3144, allocations: 0 / 0.5657 GB, free: 15.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005525/0.3149, allocations: 189.3 kB / 0.5659 GB, free: 15.55 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/0.315, allocations: 55.41 kB / 0.566 GB, free: 15.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002969/0.3153, allocations: 274.7 kB / 0.5662 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.3153, allocations: 33.7 kB / 0.5663 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.45e-05/0.3154, allocations: 108.1 kB / 0.5664 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.395e-05/0.3154, allocations: 27.78 kB / 0.5664 GB, free: 15.03 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.898e-05/0.3154, allocations: 21.72 kB / 0.5664 GB, free: 15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.3156, allocations: 334.8 kB / 0.5667 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.214e-05/0.3157, allocations: 24 kB / 0.5668 GB, free: 14.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.968e-05/0.3157, allocations: 38.08 kB / 0.5668 GB, free: 14.6 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.3159, allocations: 61.64 kB / 0.5669 GB, free: 14.53 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.3159, allocations: 0 / 0.5669 GB, free: 14.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002016/0.3161, allocations: 113.5 kB / 0.567 GB, free: 14.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.3161, allocations: 7.938 kB / 0.567 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.3161, allocations: 3.984 kB / 0.567 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.3161, allocations: 8.031 kB / 0.567 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.913e-05/0.3162, allocations: 15.94 kB / 0.567 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.3162, allocations: 0 / 0.567 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.755e-05/0.3162, allocations: 4 kB / 0.567 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.3162, allocations: 0 / 0.567 GB, free: 14.38 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.0001258/0.3164, allocations: 143.1 kB / 0.5671 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.751e-05/0.3164, allocations: 15.91 kB / 0.5672 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002528/0.3166, allocations: 119 kB / 0.5673 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.3166, allocations: 4 kB / 0.5673 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.3167, allocations: 0 / 0.5673 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.738e-06/0.3167, allocations: 4 kB / 0.5673 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004791/0.3171, allocations: 407.2 kB / 0.5677 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.3171, allocations: 3.984 kB / 0.5677 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.341e-05/0.3172, allocations: 8 kB / 0.5677 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3172, allocations: 0 / 0.5677 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.3172, allocations: 4 kB / 0.5677 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.3172, allocations: 7.969 kB / 0.5677 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.3172, allocations: 3.984 kB / 0.5677 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002379/0.3174, allocations: 208.5 kB / 0.5679 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.743e-05/0.3175, allocations: 89.02 kB / 0.568 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.181e-05/0.3175, allocations: 4 kB / 0.568 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.428e-05/0.3176, allocations: 7.938 kB / 0.568 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/0.3176, allocations: 11.98 kB / 0.568 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.3176, allocations: 4.188 kB / 0.568 GB, free: 13.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002026/0.3178, allocations: 204.6 kB / 0.5682 GB, free: 13.03 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3178, allocations: 3.938 kB / 0.5682 GB, free: 13.03 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002649/0.3181, allocations: 23.94 kB / 0.5682 GB, free: 13 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.002101/0.3202, allocations: 1.094 MB / 0.5693 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001986/0.3204, allocations: 55.86 kB / 0.5693 GB, free: 11.99 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3204, allocations: 4.062 kB / 0.5694 GB, free: 11.99 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.283e-05/0.3205, allocations: 27.92 kB / 0.5694 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/0.3208, allocations: 31.36 kB / 0.5694 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002103/0.3229, allocations: 1.826 MB / 0.5712 GB, free: 10.03 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.3233, allocations: 0.7197 MB / 0.5719 GB, free: 9.281 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.962e-05/0.3233, allocations: 21.27 kB / 0.5719 GB, free: 9.258 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.696e-05/0.3234, allocations: 43.42 kB / 0.572 GB, free: 9.215 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3234, allocations: 0 / 0.572 GB, free: 9.215 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02511/0.3485, allocations: 3.842 MB / 0.5757 GB, free: 5.375 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.064/8.413, allocations: 10.31 kB / 0.5757 GB, free: 5.371 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000499301 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test49.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.461389347910881]