Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.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.001218/0.001218, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001397/0.001397, allocations: 210.2 kB / 24.53 MB, free: 4.07 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.394/1.394, allocations: 230.5 MB / 258.2 MB, free: 8.02 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.2278/0.2278, allocations: 46.93 MB / 361.6 MB, free: 4.188 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.Test76,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002267/0.002267, allocations: 79.88 kB / 0.497 GB, free: 7.691 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2998, allocations: 66.08 MB / 0.5616 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.003129/0.303, allocations: 1.768 MB / 0.5633 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00177/0.3047, allocations: 1.053 MB / 0.5643 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.056e-05/0.3048, allocations: 0 / 0.5643 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002961/0.3051, allocations: 51.75 kB / 0.5644 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003324/0.3054, allocations: 107.5 kB / 0.5645 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002182/0.3057, allocations: 75.69 kB / 0.5645 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002158/0.3059, allocations: 135.7 kB / 0.5647 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.306, allocations: 13.94 kB / 0.5647 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.3061, allocations: 55.78 kB / 0.5647 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.3062, allocations: 59.69 kB / 0.5648 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.3062, allocations: 4 kB / 0.5648 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.3063, allocations: 63.97 kB / 0.5649 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.226e-05/0.3064, allocations: 27.92 kB / 0.5649 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.942e-05/0.3065, allocations: 43.67 kB / 0.5649 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002516/0.3067, allocations: 151.3 kB / 0.5651 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3067, allocations: 0 / 0.5651 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3067, allocations: 4 kB / 0.5651 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.3067, allocations: 3.938 kB / 0.5651 GB, free: 0.6523 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005821/0.3073, allocations: 365.4 kB / 0.5654 GB, free: 272 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.3074, allocations: 8.031 kB / 0.5654 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.255e-05/0.3074, allocations: 192 / 0.5654 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.058e-05/0.3074, allocations: 42.73 kB / 0.5655 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.326e-05/0.3074, allocations: 12.84 kB / 0.5655 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003228/0.3078, allocations: 174.3 kB / 0.5657 GB, free: 0 / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.3078, allocations: 8.422 kB / 0.5657 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.954e-05/0.3078, allocations: 8.312 kB / 0.5657 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.308, allocations: 81.53 kB / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.308, allocations: 0 / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.308, allocations: 0 / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.308, allocations: 0 / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.3081, allocations: 47.95 kB / 0.5658 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004203/0.3086, allocations: 291.8 kB / 0.5661 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002694/0.3088, allocations: 82.48 kB / 0.5662 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.048e-05/0.3089, allocations: 24.84 kB / 0.5662 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.3089, allocations: 0 / 0.5662 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001776/0.3091, allocations: 83.41 kB / 0.5663 GB, free: 15.31 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.333e-06/0.3091, allocations: 4 kB / 0.5663 GB, free: 15.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.000861/0.3099, allocations: 313.8 kB / 0.5666 GB, free: 15 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/0.31, allocations: 51.41 kB / 0.5666 GB, free: 14.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002048/0.3102, allocations: 198.1 kB / 0.5668 GB, free: 14.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.3102, allocations: 33.7 kB / 0.5668 GB, free: 14.69 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.052e-05/0.3103, allocations: 100.4 kB / 0.5669 GB, free: 14.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.774e-05/0.3104, allocations: 51.58 kB / 0.567 GB, free: 14.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-05/0.3104, allocations: 29.7 kB / 0.567 GB, free: 14.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.3106, allocations: 330.8 kB / 0.5673 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.199e-05/0.3107, allocations: 39.98 kB / 0.5674 GB, free: 14.13 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.971e-05/0.3108, allocations: 53.7 kB / 0.5674 GB, free: 14.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001781/0.311, allocations: 93.7 kB / 0.5675 GB, free: 13.97 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.311, allocations: 0 / 0.5675 GB, free: 13.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002827/0.3112, allocations: 160.8 kB / 0.5677 GB, free: 13.81 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3113, allocations: 8 kB / 0.5677 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.3113, allocations: 0 / 0.5677 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.3113, allocations: 0 / 0.5677 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.571e-05/0.3114, allocations: 27.92 kB / 0.5677 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.3114, allocations: 3.938 kB / 0.5677 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.626e-05/0.3114, allocations: 8 kB / 0.5677 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.3114, allocations: 4 kB / 0.5677 GB, free: 13.76 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 (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.0001508/0.3116, allocations: 133.2 kB / 0.5678 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.82e-05/0.3116, allocations: 19.88 kB / 0.5679 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003605/0.312, allocations: 175 kB / 0.568 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.312, allocations: 0 / 0.568 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.312, allocations: 7.922 kB / 0.568 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.312, allocations: 4 kB / 0.568 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006048/0.3126, allocations: 455.2 kB / 0.5685 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.3126, allocations: 4 kB / 0.5685 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.773e-05/0.3127, allocations: 23.94 kB / 0.5685 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.291e-06/0.3127, allocations: 3.984 kB / 0.5685 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.3127, allocations: 4 kB / 0.5685 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.3127, allocations: 0 / 0.5685 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3127, allocations: 0 / 0.5685 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003222/0.313, allocations: 257.1 kB / 0.5687 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.08e-05/0.313, allocations: 11.89 kB / 0.5688 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.233e-05/0.3131, allocations: 8 kB / 0.5688 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.623e-05/0.3131, allocations: 7.984 kB / 0.5688 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.988e-05/0.3132, allocations: 16.14 kB / 0.5688 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.368e-05/0.3132, allocations: 8 kB / 0.5688 GB, free: 12.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001258/0.3133, allocations: 144.3 kB / 0.5689 GB, free: 12.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3133, allocations: 3.938 kB / 0.5689 GB, free: 12.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002764/0.3136, allocations: 31.89 kB / 0.569 GB, free: 12.38 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 11 * 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.002412/0.316, allocations: 1.187 MB / 0.5701 GB, free: 11.35 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002614/0.3163, allocations: 99.84 kB / 0.5702 GB, free: 11.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3163, allocations: 0 / 0.5702 GB, free: 11.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.3164, allocations: 51.91 kB / 0.5703 GB, free: 11.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003908/0.3168, allocations: 32.14 kB / 0.5703 GB, free: 11.17 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002248/0.319, allocations: 1.863 MB / 0.5721 GB, free: 9.203 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.3194, allocations: 0.7123 MB / 0.5728 GB, free: 8.465 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.81e-05/0.3195, allocations: 37.33 kB / 0.5729 GB, free: 8.43 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.425e-05/0.3195, allocations: 47.42 kB / 0.5729 GB, free: 8.383 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3195, allocations: 0 / 0.5729 GB, free: 8.383 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02405/0.3436, allocations: 4.278 MB / 0.5771 GB, free: 4.164 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.58/10.92, allocations: 4.062 kB / 0.5771 GB, free: 4.16 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test76_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.8981142170378]