Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.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.001792/0.001792, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002424/0.002424, allocations: 203 kB / 23.72 MB, free: 4.391 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.429/1.429, allocations: 230.5 MB / 257.4 MB, free: 7.727 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.2264/0.2264, allocations: 46.95 MB / 360.8 MB, free: 3.906 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.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002345/0.002345, allocations: 79.86 kB / 0.4962 GB, free: 7.461 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.3004, allocations: 66.08 MB / 0.5608 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.00348/0.3039, allocations: 1.714 MB / 0.5624 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001818/0.3057, allocations: 0.9748 MB / 0.5634 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.81e-05/0.3058, allocations: 4 kB / 0.5634 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003161/0.3061, allocations: 51.75 kB / 0.5634 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003342/0.3064, allocations: 103.6 kB / 0.5635 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002041/0.3066, allocations: 79.67 kB / 0.5636 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001909/0.3068, allocations: 107.6 kB / 0.5637 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.3069, allocations: 13.81 kB / 0.5637 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.78e-05/0.307, allocations: 39.8 kB / 0.5638 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.728e-05/0.3071, allocations: 31.78 kB / 0.5638 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.3071, allocations: 8 kB / 0.5638 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.886e-05/0.3072, allocations: 39.98 kB / 0.5638 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.327e-05/0.3073, allocations: 27.91 kB / 0.5639 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.139e-05/0.3074, allocations: 39.69 kB / 0.5639 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002524/0.3076, allocations: 143.3 kB / 0.564 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.666e-06/0.3076, allocations: 4 kB / 0.564 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3076, allocations: 0 / 0.564 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.3076, allocations: 0 / 0.564 GB, free: 0.6094 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.0006739/0.3083, allocations: 377.3 kB / 0.5644 GB, free: 216 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.3084, allocations: 12.03 kB / 0.5644 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.639e-05/0.3084, allocations: 30.75 kB / 0.5644 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.885e-05/0.3085, allocations: 12.84 kB / 0.5645 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003847/0.3088, allocations: 172.4 kB / 0.5646 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.3089, allocations: 8.375 kB / 0.5646 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/0.3089, allocations: 4.312 kB / 0.5646 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.309, allocations: 59.3 kB / 0.5647 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.3091, allocations: 4 kB / 0.5647 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.3091, allocations: 0 / 0.5647 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.3091, allocations: 0 / 0.5647 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.37e-05/0.3092, allocations: 27.92 kB / 0.5647 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004454/0.3096, allocations: 268 kB / 0.565 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000185/0.3098, allocations: 58.61 kB / 0.565 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.807e-05/0.3098, allocations: 20.86 kB / 0.5651 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.069e-05/0.3099, allocations: 0 / 0.5651 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001803/0.31, allocations: 75.31 kB / 0.5651 GB, free: 15.37 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.31, allocations: 0 / 0.5651 GB, free: 15.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005742/0.3106, allocations: 193.2 kB / 0.5653 GB, free: 15.17 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/0.3107, allocations: 55.39 kB / 0.5654 GB, free: 15.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002931/0.3109, allocations: 289.3 kB / 0.5656 GB, free: 14.81 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.311, allocations: 29.7 kB / 0.5657 GB, free: 14.78 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.004e-05/0.3111, allocations: 120.1 kB / 0.5658 GB, free: 14.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.074e-05/0.3111, allocations: 31.8 kB / 0.5658 GB, free: 14.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-05/0.3111, allocations: 21.72 kB / 0.5658 GB, free: 14.6 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.3113, allocations: 330.8 kB / 0.5661 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.986e-05/0.3113, allocations: 15.98 kB / 0.5662 GB, free: 14.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.638e-05/0.3114, allocations: 45.64 kB / 0.5662 GB, free: 14.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.3115, allocations: 58.08 kB / 0.5663 GB, free: 14.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3115, allocations: 0 / 0.5663 GB, free: 14.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002005/0.3117, allocations: 113.5 kB / 0.5664 GB, free: 14.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.3118, allocations: 12.03 kB / 0.5664 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.3118, allocations: 4 kB / 0.5664 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.3118, allocations: 0 / 0.5664 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.511e-05/0.3119, allocations: 12 kB / 0.5664 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.3119, allocations: 4 kB / 0.5664 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.241e-05/0.3119, allocations: 7.922 kB / 0.5664 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.3119, allocations: 8 kB / 0.5664 GB, free: 13.97 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.0001198/0.3121, allocations: 139.1 kB / 0.5665 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.951e-05/0.3121, allocations: 19.84 kB / 0.5666 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002639/0.3124, allocations: 123.2 kB / 0.5667 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3124, allocations: 4 kB / 0.5667 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.3124, allocations: 3.938 kB / 0.5667 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.3124, allocations: 3.984 kB / 0.5667 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000492/0.3129, allocations: 390.3 kB / 0.5671 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3129, allocations: 0 / 0.5671 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.399e-05/0.3129, allocations: 15.98 kB / 0.5671 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.3129, allocations: 4 kB / 0.5671 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.3129, allocations: 0 / 0.5671 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3129, allocations: 0 / 0.5671 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.3129, allocations: 4.281 kB / 0.5671 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002618/0.3132, allocations: 224.1 kB / 0.5673 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.577e-05/0.3132, allocations: 11.91 kB / 0.5673 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.714e-05/0.3132, allocations: 7.984 kB / 0.5673 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.378e-05/0.3133, allocations: 4 kB / 0.5673 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.169e-05/0.3133, allocations: 7.984 kB / 0.5673 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.3134, allocations: 4 kB / 0.5673 GB, free: 12.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002044/0.3136, allocations: 219.5 kB / 0.5675 GB, free: 12.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3136, allocations: 0 / 0.5675 GB, free: 12.71 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002591/0.3138, allocations: 27.94 kB / 0.5676 GB, free: 12.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: 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 (9): * Single equations (assignments): 7 * 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.00228/0.3161, allocations: 1.132 MB / 0.5687 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001843/0.3163, allocations: 59.95 kB / 0.5687 GB, free: 11.65 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3163, allocations: 0 / 0.5687 GB, free: 11.65 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.021e-05/0.3164, allocations: 35.98 kB / 0.5688 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003391/0.3167, allocations: 31.98 kB / 0.5688 GB, free: 11.58 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00206/0.3188, allocations: 1.878 MB / 0.5706 GB, free: 9.609 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/0.3189, allocations: 117.1 kB / 0.5707 GB, free: 9.477 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.111e-05/0.3189, allocations: 17.28 kB / 0.5708 GB, free: 9.461 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.102e-05/0.319, allocations: 55.39 kB / 0.5708 GB, free: 9.406 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.319, allocations: 0 / 0.5708 GB, free: 9.406 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03072/0.3497, allocations: 4.515 MB / 0.5752 GB, free: 4.918 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.47, allocations: 3.938 kB / 0.5752 GB, free: 4.914 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00049781 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.50713847996667]