Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 112.2 kB / 21.22 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 212.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 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.447/1.447, allocations: 230.6 MB / 258.3 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2152/0.2152, allocations: 44.91 MB / 359.6 MB, free: 6.258 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 63.91 kB / 0.4939 GB, free: 10.62 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3066, allocations: 65.47 MB / 0.5579 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.00329/0.3099, allocations: 1.946 MB / 0.5598 GB, free: 5.781 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002/0.3119, allocations: 1.151 MB / 0.5609 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.68e-05/0.312, allocations: 4 kB / 0.5609 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004839/0.3125, allocations: 259.3 kB / 0.5611 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004477/0.3129, allocations: 235.1 kB / 0.5614 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000264/0.3132, allocations: 115.6 kB / 0.5615 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003398/0.3136, allocations: 275.3 kB / 0.5617 GB, free: 3.754 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.3137, allocations: 19.92 kB / 0.5618 GB, free: 3.734 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002041/0.3139, allocations: 147.4 kB / 0.5619 GB, free: 3.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002518/0.3141, allocations: 207.4 kB / 0.5621 GB, free: 3.387 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.365e-05/0.3141, allocations: 8 kB / 0.5621 GB, free: 3.379 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000139/0.3143, allocations: 67.92 kB / 0.5622 GB, free: 3.312 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.394e-05/0.3144, allocations: 67.69 kB / 0.5622 GB, free: 3.246 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001551/0.3145, allocations: 95.23 kB / 0.5623 GB, free: 3.152 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003429/0.3149, allocations: 254.7 kB / 0.5626 GB, free: 2.902 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.3149, allocations: 0 / 0.5626 GB, free: 2.902 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.3149, allocations: 0 / 0.5626 GB, free: 2.902 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.3149, allocations: 8 kB / 0.5626 GB, free: 2.895 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007565/0.3156, allocations: 0.5196 MB / 0.5631 GB, free: 2.344 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.3157, allocations: 12.03 kB / 0.5631 GB, free: 2.332 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.366e-05/0.3157, allocations: 192 / 0.5631 GB, free: 2.332 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.627e-05/0.3157, allocations: 38.75 kB / 0.5631 GB, free: 2.285 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.409e-05/0.3158, allocations: 32.73 kB / 0.5632 GB, free: 2.254 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000398/0.3162, allocations: 240.8 kB / 0.5634 GB, free: 1.992 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.3162, allocations: 12.12 kB / 0.5634 GB, free: 1.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.928e-05/0.3163, allocations: 11.98 kB / 0.5634 GB, free: 1.969 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00024/0.3165, allocations: 106.2 kB / 0.5635 GB, free: 1.855 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.3165, allocations: 3.984 kB / 0.5635 GB, free: 1.852 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.3165, allocations: 8 kB / 0.5635 GB, free: 1.844 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.3165, allocations: 0 / 0.5635 GB, free: 1.844 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000139/0.3167, allocations: 43.91 kB / 0.5636 GB, free: 1.801 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000595/0.3173, allocations: 459.9 kB / 0.564 GB, free: 1.305 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003684/0.3176, allocations: 113.2 kB / 0.5641 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.3177, allocations: 45.81 kB / 0.5642 GB, free: 1.125 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.694e-05/0.3178, allocations: 7.938 kB / 0.5642 GB, free: 1.117 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002326/0.318, allocations: 117 kB / 0.5643 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.363e-06/0.318, allocations: 0 / 0.5643 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001377/0.3194, allocations: 0.5282 MB / 0.5648 GB, free: 460 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.725e-05/0.3194, allocations: 85.05 kB / 0.5649 GB, free: 356 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005183/0.32, allocations: 497.7 kB / 0.5653 GB, free: 15.85 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.32, allocations: 33.64 kB / 0.5654 GB, free: 15.81 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.3201, allocations: 168.5 kB / 0.5655 GB, free: 15.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.15e-05/0.3202, allocations: 75.33 kB / 0.5656 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.537e-05/0.3203, allocations: 45.7 kB / 0.5657 GB, free: 15.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.3204, allocations: 346.8 kB / 0.566 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.3206, allocations: 55.97 kB / 0.566 GB, free: 15.11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.3207, allocations: 95.33 kB / 0.5661 GB, free: 15.01 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002744/0.321, allocations: 159.3 kB / 0.5663 GB, free: 14.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.321, allocations: 0 / 0.5663 GB, free: 14.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004074/0.3214, allocations: 241.4 kB / 0.5665 GB, free: 14.6 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.3214, allocations: 7.984 kB / 0.5665 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3214, allocations: 4 kB / 0.5665 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.3214, allocations: 3.938 kB / 0.5665 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.3216, allocations: 43.98 kB / 0.5666 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.3216, allocations: 0 / 0.5666 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.051e-05/0.3217, allocations: 16.05 kB / 0.5666 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.3217, allocations: 8 kB / 0.5666 GB, free: 14.52 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: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001851/0.3219, allocations: 178.3 kB / 0.5668 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.042e-05/0.3219, allocations: 39.7 kB / 0.5668 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005191/0.3225, allocations: 265.1 kB / 0.5671 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.3225, allocations: 4 kB / 0.5671 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.3225, allocations: 0 / 0.5671 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.3225, allocations: 3.984 kB / 0.5671 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001034/0.3235, allocations: 0.7145 MB / 0.5678 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/0.3235, allocations: 7.984 kB / 0.5678 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.949e-05/0.3236, allocations: 24 kB / 0.5678 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.3236, allocations: 0 / 0.5678 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/0.3236, allocations: 12.11 kB / 0.5678 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.3236, allocations: 11.94 kB / 0.5678 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.3236, allocations: 3.938 kB / 0.5678 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005006/0.3241, allocations: 435.3 kB / 0.5682 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.221e-05/0.3242, allocations: 27.81 kB / 0.5683 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.158e-05/0.3242, allocations: 11.94 kB / 0.5683 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.3244, allocations: 11.98 kB / 0.5683 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.664e-05/0.3244, allocations: 23.91 kB / 0.5683 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.541e-05/0.3245, allocations: 12 kB / 0.5683 GB, free: 12.64 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003722/0.3248, allocations: 367.1 kB / 0.5687 GB, free: 12.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3248, allocations: 0 / 0.5687 GB, free: 12.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003533/0.3252, allocations: 59.92 kB / 0.5687 GB, free: 12.23 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.002636/0.3278, allocations: 1.358 MB / 0.57 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003438/0.3282, allocations: 155.7 kB / 0.5702 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3282, allocations: 0 / 0.5702 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001676/0.3283, allocations: 72.27 kB / 0.5703 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005624/0.3289, allocations: 73.66 kB / 0.5703 GB, free: 10.76 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003731/0.3326, allocations: 2.999 MB / 0.5733 GB, free: 7.633 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004538/0.3331, allocations: 0.7819 MB / 0.574 GB, free: 6.828 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001168/0.3332, allocations: 49.91 kB / 0.5741 GB, free: 6.781 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/0.3333, allocations: 107.3 kB / 0.5742 GB, free: 6.676 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3333, allocations: 0 / 0.5742 GB, free: 6.676 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02727/0.3606, allocations: 6.93 MB / 0.5809 GB, free: 15.84 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.08, allocations: 14.7 kB / 0.581 GB, free: 15.82 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test78_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.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: 15.108338407007977]