Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.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.001237/0.001237, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001427/0.001427, allocations: 209.5 kB / 24.52 MB, free: 3.941 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.43/1.43, allocations: 230.5 MB / 258.2 MB, free: 7.793 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.2165/0.2165, allocations: 46.95 MB / 361.6 MB, free: 3.926 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.Test78,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002169/0.002169, allocations: 79.81 kB / 0.497 GB, free: 7.484 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.305, allocations: 66.08 MB / 0.5615 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003229/0.3082, allocations: 1.876 MB / 0.5633 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001805/0.31, allocations: 1.069 MB / 0.5644 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.52e-05/0.3101, allocations: 3.938 kB / 0.5644 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004474/0.3105, allocations: 255.4 kB / 0.5646 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004434/0.311, allocations: 243.1 kB / 0.5649 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002333/0.3112, allocations: 111.7 kB / 0.565 GB, free: 468 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003223/0.3115, allocations: 275.2 kB / 0.5652 GB, free: 192 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.3116, allocations: 19.78 kB / 0.5652 GB, free: 172 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001576/0.3118, allocations: 139.5 kB / 0.5654 GB, free: 32 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002575/0.3121, allocations: 211.4 kB / 0.5656 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.841e-05/0.3121, allocations: 8 kB / 0.5656 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.3122, allocations: 67.92 kB / 0.5657 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.161e-05/0.3123, allocations: 63.75 kB / 0.5657 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.933e-05/0.3124, allocations: 71.42 kB / 0.5658 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003224/0.3127, allocations: 262.7 kB / 0.566 GB, free: 15.36 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.3127, allocations: 0 / 0.566 GB, free: 15.36 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3127, allocations: 0 / 0.566 GB, free: 15.36 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.3127, allocations: 7.938 kB / 0.566 GB, free: 15.35 MB / 414.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.0007279/0.3135, allocations: 0.5196 MB / 0.5665 GB, free: 14.8 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.3135, allocations: 12.03 kB / 0.5666 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.108e-05/0.3135, allocations: 192 / 0.5666 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.69e-05/0.3135, allocations: 38.75 kB / 0.5666 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.495e-05/0.3136, allocations: 32.75 kB / 0.5666 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000339/0.3139, allocations: 228.8 kB / 0.5668 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.314, allocations: 12.36 kB / 0.5669 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.006e-05/0.314, allocations: 8.375 kB / 0.5669 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002411/0.3142, allocations: 119.2 kB / 0.567 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.3142, allocations: 4 kB / 0.567 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.3143, allocations: 4 kB / 0.567 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.3143, allocations: 4 kB / 0.567 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001405/0.3144, allocations: 51.89 kB / 0.567 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000565/0.315, allocations: 447.9 kB / 0.5675 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000367/0.3153, allocations: 117.2 kB / 0.5676 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.3154, allocations: 41.81 kB / 0.5676 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.3154, allocations: 8 kB / 0.5676 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002439/0.3157, allocations: 140.4 kB / 0.5678 GB, free: 13.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.323e-06/0.3157, allocations: 0 / 0.5678 GB, free: 13.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001333/0.317, allocations: 0.5247 MB / 0.5683 GB, free: 12.89 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.505e-05/0.3171, allocations: 85.05 kB / 0.5684 GB, free: 12.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005287/0.3176, allocations: 0.4938 MB / 0.5688 GB, free: 12.29 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.3176, allocations: 37.7 kB / 0.5689 GB, free: 12.24 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.3178, allocations: 176.5 kB / 0.569 GB, free: 12.06 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.453e-05/0.3178, allocations: 67.44 kB / 0.5691 GB, free: 12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.06e-05/0.3179, allocations: 41.7 kB / 0.5691 GB, free: 11.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.3181, allocations: 350.8 kB / 0.5695 GB, free: 11.6 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000131/0.3182, allocations: 63.91 kB / 0.5695 GB, free: 11.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001545/0.3183, allocations: 92.7 kB / 0.5696 GB, free: 11.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002791/0.3186, allocations: 159.4 kB / 0.5698 GB, free: 11.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.3186, allocations: 4 kB / 0.5698 GB, free: 11.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004151/0.319, allocations: 241.4 kB / 0.57 GB, free: 11.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.3191, allocations: 7.938 kB / 0.57 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.3191, allocations: 4 kB / 0.57 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.3191, allocations: 0 / 0.57 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.3192, allocations: 51.91 kB / 0.5701 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.3192, allocations: 0 / 0.5701 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.51e-05/0.3193, allocations: 8 kB / 0.5701 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/0.3193, allocations: 8 kB / 0.5701 GB, free: 10.94 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.000171/0.3195, allocations: 186.2 kB / 0.5703 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.296e-05/0.3196, allocations: 39.7 kB / 0.5703 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005413/0.3201, allocations: 284.3 kB / 0.5706 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.3201, allocations: 4 kB / 0.5706 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.3201, allocations: 4 kB / 0.5706 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3201, allocations: 0 / 0.5706 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000958/0.3211, allocations: 0.7185 MB / 0.5713 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.3211, allocations: 4 kB / 0.5713 GB, free: 9.633 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.3212, allocations: 31.92 kB / 0.5713 GB, free: 9.602 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/0.3212, allocations: 4 kB / 0.5713 GB, free: 9.598 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/0.3212, allocations: 16.11 kB / 0.5713 GB, free: 9.582 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.3212, allocations: 0 / 0.5713 GB, free: 9.582 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3212, allocations: 7.938 kB / 0.5713 GB, free: 9.574 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000541/0.3218, allocations: 449.7 kB / 0.5718 GB, free: 9.105 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.468e-05/0.3218, allocations: 31.81 kB / 0.5718 GB, free: 9.074 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.434e-05/0.3219, allocations: 16.08 kB / 0.5718 GB, free: 9.059 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.322, allocations: 4 kB / 0.5718 GB, free: 9.055 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.835e-05/0.3221, allocations: 23.91 kB / 0.5718 GB, free: 9.031 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.352e-05/0.3221, allocations: 8 kB / 0.5719 GB, free: 9.023 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003934/0.3225, allocations: 387.1 kB / 0.5722 GB, free: 8.648 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3225, allocations: 0 / 0.5722 GB, free: 8.648 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003492/0.3228, allocations: 51.94 kB / 0.5723 GB, free: 8.598 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 (24): * Single equations (assignments): 20 * 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.002772/0.3256, allocations: 1.431 MB / 0.5737 GB, free: 7.332 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003568/0.326, allocations: 148.2 kB / 0.5738 GB, free: 7.188 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.326, allocations: 4 kB / 0.5738 GB, free: 7.184 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001674/0.3261, allocations: 79.83 kB / 0.5739 GB, free: 7.105 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005668/0.3267, allocations: 73.06 kB / 0.574 GB, free: 7.039 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003801/0.3305, allocations: 3.018 MB / 0.5769 GB, free: 3.895 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001904/0.3307, allocations: 186.4 kB / 0.5771 GB, free: 3.691 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001048/0.3308, allocations: 33.92 kB / 0.5771 GB, free: 3.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001704/0.331, allocations: 111.4 kB / 0.5772 GB, free: 3.551 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.331, allocations: 3.938 kB / 0.5772 GB, free: 3.547 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03008/0.361, allocations: 7.206 MB / 0.5843 GB, free: 12.39 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.38, allocations: 3.938 kB / 0.5843 GB, free: 12.38 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test78_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 14.377776384004392]