Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.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.001337/0.001337, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001384/0.001384, allocations: 214.2 kB / 24.52 MB, free: 3.918 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.382/1.382, allocations: 230.5 MB / 258.2 MB, free: 7.75 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.2189/0.2189, allocations: 46.95 MB / 361.6 MB, free: 3.902 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.Test36,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002188/0.002188, allocations: 75.88 kB / 0.497 GB, free: 7.453 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3312, allocations: 66.09 MB / 0.5615 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003258/0.3344, allocations: 1.72 MB / 0.5632 GB, free: 2.242 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001996/0.3364, allocations: 0.971 MB / 0.5641 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.913e-05/0.3365, allocations: 3.938 kB / 0.5641 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004073/0.3369, allocations: 87.69 kB / 0.5642 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003979/0.3373, allocations: 115.6 kB / 0.5643 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002339/0.3376, allocations: 91.66 kB / 0.5644 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002299/0.3378, allocations: 127.6 kB / 0.5645 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.3379, allocations: 17.8 kB / 0.5646 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.338, allocations: 59.72 kB / 0.5646 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/0.3382, allocations: 63.8 kB / 0.5647 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.415e-05/0.3382, allocations: 8 kB / 0.5647 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001301/0.3383, allocations: 59.97 kB / 0.5647 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.768e-05/0.3384, allocations: 35.84 kB / 0.5648 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.473e-05/0.3385, allocations: 27.75 kB / 0.5648 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002633/0.3387, allocations: 143.4 kB / 0.5649 GB, free: 452 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3387, allocations: 4 kB / 0.5649 GB, free: 448 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3387, allocations: 0 / 0.5649 GB, free: 448 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.3388, allocations: 0 / 0.5649 GB, free: 448 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006502/0.3394, allocations: 381.3 kB / 0.5653 GB, free: 36 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.3394, allocations: 8.031 kB / 0.5653 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.768e-05/0.3395, allocations: 4.188 kB / 0.5653 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.18e-05/0.3395, allocations: 34.75 kB / 0.5654 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.301e-05/0.3396, allocations: 12.84 kB / 0.5654 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002751/0.3398, allocations: 171 kB / 0.5655 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.3398, allocations: 8.344 kB / 0.5655 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.194e-05/0.3399, allocations: 8.375 kB / 0.5655 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.34, allocations: 61.61 kB / 0.5656 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.34, allocations: 0 / 0.5656 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.34, allocations: 4 kB / 0.5656 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.3401, allocations: 0 / 0.5656 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.777e-05/0.3401, allocations: 23.98 kB / 0.5656 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004148/0.3406, allocations: 267.9 kB / 0.5659 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002591/0.3408, allocations: 66.48 kB / 0.566 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.76e-05/0.3409, allocations: 24.97 kB / 0.566 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.3409, allocations: 0 / 0.566 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001678/0.3411, allocations: 79.44 kB / 0.5661 GB, free: 15.17 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.3411, allocations: 3.938 kB / 0.5661 GB, free: 15.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008098/0.3419, allocations: 257.5 kB / 0.5663 GB, free: 14.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.893e-05/0.3419, allocations: 51.41 kB / 0.5663 GB, free: 14.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002784/0.3422, allocations: 242.9 kB / 0.5666 GB, free: 14.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/0.3422, allocations: 33.7 kB / 0.5666 GB, free: 14.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.272e-05/0.3423, allocations: 108.1 kB / 0.5667 GB, free: 14.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.524e-05/0.3424, allocations: 47.72 kB / 0.5668 GB, free: 14.4 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.852e-05/0.3424, allocations: 21.72 kB / 0.5668 GB, free: 14.37 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.3426, allocations: 330.8 kB / 0.5671 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.145e-05/0.3427, allocations: 24 kB / 0.5671 GB, free: 14.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.772e-05/0.3427, allocations: 53.06 kB / 0.5672 GB, free: 13.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.3429, allocations: 85.64 kB / 0.5673 GB, free: 13.87 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.3429, allocations: 0 / 0.5673 GB, free: 13.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002459/0.3432, allocations: 133.6 kB / 0.5674 GB, free: 13.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.3432, allocations: 8.031 kB / 0.5674 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.3432, allocations: 0 / 0.5674 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.3432, allocations: 0 / 0.5674 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.909e-05/0.3433, allocations: 31.92 kB / 0.5674 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.3433, allocations: 3.938 kB / 0.5674 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.661e-05/0.3433, allocations: 4 kB / 0.5674 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.3433, allocations: 0 / 0.5674 GB, free: 13.69 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 (13): * Single equations (assignments): 13 * 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.0001219/0.3435, allocations: 135.1 kB / 0.5676 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.708e-05/0.3435, allocations: 11.91 kB / 0.5676 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003364/0.3438, allocations: 158.9 kB / 0.5677 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3438, allocations: 4 kB / 0.5677 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.3438, allocations: 7.875 kB / 0.5677 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.3438, allocations: 0 / 0.5677 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000574/0.3444, allocations: 419.2 kB / 0.5681 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.3444, allocations: 3.938 kB / 0.5681 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.253e-05/0.3445, allocations: 16 kB / 0.5681 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.3445, allocations: 3.984 kB / 0.5682 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.3445, allocations: 8 kB / 0.5682 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.3445, allocations: 4 kB / 0.5682 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3445, allocations: 4.062 kB / 0.5682 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002979/0.3448, allocations: 241.2 kB / 0.5684 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.482e-05/0.3448, allocations: 23.78 kB / 0.5684 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.464e-05/0.3448, allocations: 0 / 0.5684 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.605e-05/0.3449, allocations: 8 kB / 0.5684 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.691e-05/0.345, allocations: 7.984 kB / 0.5684 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.965e-05/0.345, allocations: 7.984 kB / 0.5684 GB, free: 12.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001555/0.3451, allocations: 179.2 kB / 0.5686 GB, free: 12.37 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3451, allocations: 0 / 0.5686 GB, free: 12.37 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00027/0.3454, allocations: 31.92 kB / 0.5686 GB, free: 12.34 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 (12): * Single equations (assignments): 10 * 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.002523/0.3479, allocations: 1.204 MB / 0.5698 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002187/0.3482, allocations: 79.91 kB / 0.5699 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.3482, allocations: 0 / 0.5699 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.611e-05/0.3483, allocations: 43.86 kB / 0.5699 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003717/0.3486, allocations: 39.3 kB / 0.57 GB, free: 11.15 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002218/0.3508, allocations: 1.874 MB / 0.5718 GB, free: 9.176 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.351, allocations: 105.8 kB / 0.5719 GB, free: 9.051 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.031e-05/0.351, allocations: 20.64 kB / 0.5719 GB, free: 9.031 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.196e-05/0.3511, allocations: 47.42 kB / 0.572 GB, free: 8.984 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.3511, allocations: 0 / 0.572 GB, free: 8.984 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02303/0.3741, allocations: 4.308 MB / 0.5762 GB, free: 4.719 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/11.06, allocations: 13.58 kB / 0.5762 GB, free: 4.715 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test36_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.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: 14.00859337800648]