Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.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.001433/0.001433, allocations: 114 kB / 20.43 MB, free: 1.457 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.002159/0.002159, allocations: 214.9 kB / 23.74 MB, free: 4.672 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.533/1.533, allocations: 230.5 MB / 257.4 MB, free: 8.008 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.2658/0.2658, allocations: 46.93 MB / 360.8 MB, free: 4.18 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.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002485/0.002485, allocations: 79.86 kB / 0.4963 GB, free: 7.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3327, allocations: 66.09 MB / 0.5608 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003633/0.3363, allocations: 1.753 MB / 0.5625 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00202/0.3383, allocations: 1.053 MB / 0.5636 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.941e-05/0.3384, allocations: 3.938 kB / 0.5636 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004313/0.3389, allocations: 115.6 kB / 0.5637 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003825/0.3393, allocations: 123.5 kB / 0.5638 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002514/0.3395, allocations: 79.73 kB / 0.5639 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002334/0.3397, allocations: 131.6 kB / 0.564 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.3398, allocations: 21.8 kB / 0.564 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.34, allocations: 59.77 kB / 0.5641 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000136/0.3401, allocations: 79.72 kB / 0.5641 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.3401, allocations: 4 kB / 0.5641 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.3403, allocations: 59.98 kB / 0.5642 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.24e-05/0.3403, allocations: 35.84 kB / 0.5642 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.343e-05/0.3404, allocations: 47.61 kB / 0.5643 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002979/0.3407, allocations: 159.3 kB / 0.5644 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3407, allocations: 4 kB / 0.5644 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3407, allocations: 0 / 0.5644 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.278e-05/0.3407, allocations: 0 / 0.5644 GB, free: 0.5312 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007139/0.3414, allocations: 389.2 kB / 0.5648 GB, free: 124 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.3415, allocations: 8.031 kB / 0.5648 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.794e-05/0.3416, allocations: 34.75 kB / 0.5648 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.387e-05/0.3416, allocations: 20.78 kB / 0.5649 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004222/0.342, allocations: 167.2 kB / 0.565 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.3421, allocations: 8.375 kB / 0.565 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.922e-05/0.3421, allocations: 4.375 kB / 0.565 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002342/0.3423, allocations: 69.78 kB / 0.5651 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.3423, allocations: 0 / 0.5651 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.3424, allocations: 7.922 kB / 0.5651 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.3424, allocations: 4 kB / 0.5651 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.3425, allocations: 31.97 kB / 0.5651 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005567/0.343, allocations: 295.8 kB / 0.5654 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000302/0.3433, allocations: 70.58 kB / 0.5655 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.135e-05/0.3434, allocations: 20.86 kB / 0.5655 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.176e-05/0.3434, allocations: 7.984 kB / 0.5655 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001899/0.3436, allocations: 79.31 kB / 0.5656 GB, free: 15.2 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 2.144e-06/0.3436, allocations: 0 / 0.5656 GB, free: 15.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009169/0.3446, allocations: 281.2 kB / 0.5659 GB, free: 14.92 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.067e-05/0.3446, allocations: 51.41 kB / 0.5659 GB, free: 14.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003038/0.3449, allocations: 259.7 kB / 0.5662 GB, free: 14.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.3449, allocations: 25.7 kB / 0.5662 GB, free: 14.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.209e-05/0.345, allocations: 120.1 kB / 0.5663 GB, free: 14.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.927e-05/0.3451, allocations: 47.56 kB / 0.5663 GB, free: 14.39 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.617e-05/0.3452, allocations: 29.7 kB / 0.5664 GB, free: 14.35 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.3453, allocations: 326.8 kB / 0.5667 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.536e-05/0.3454, allocations: 31.98 kB / 0.5667 GB, free: 13.99 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.681e-05/0.3455, allocations: 56.94 kB / 0.5668 GB, free: 13.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001773/0.3457, allocations: 89.7 kB / 0.5669 GB, free: 13.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.3457, allocations: 0 / 0.5669 GB, free: 13.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002653/0.346, allocations: 141.5 kB / 0.567 GB, free: 13.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.346, allocations: 4 kB / 0.567 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.346, allocations: 4 kB / 0.567 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.346, allocations: 0 / 0.567 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.3461, allocations: 27.98 kB / 0.567 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.3461, allocations: 0 / 0.567 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.462e-05/0.3462, allocations: 11.83 kB / 0.567 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.3462, allocations: 8.031 kB / 0.567 GB, free: 13.64 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 (14): * Single equations (assignments): 14 * 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.0001268/0.3463, allocations: 140.2 kB / 0.5672 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.415e-05/0.3464, allocations: 15.91 kB / 0.5672 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003385/0.3467, allocations: 159.7 kB / 0.5673 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.3467, allocations: 0 / 0.5673 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.3467, allocations: 4 kB / 0.5674 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.3467, allocations: 7.875 kB / 0.5674 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006807/0.3474, allocations: 443.2 kB / 0.5678 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.3474, allocations: 4 kB / 0.5678 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.956e-05/0.3474, allocations: 23.86 kB / 0.5678 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.3475, allocations: 0 / 0.5678 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.3475, allocations: 8 kB / 0.5678 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.3475, allocations: 0 / 0.5678 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/0.3475, allocations: 8 kB / 0.5678 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003462/0.3478, allocations: 249.2 kB / 0.5681 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.869e-05/0.3479, allocations: 19.78 kB / 0.5681 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.015e-05/0.3479, allocations: 4 kB / 0.5681 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.859e-05/0.348, allocations: 7.984 kB / 0.5681 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.348, allocations: 7.984 kB / 0.5681 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.348, allocations: 8 kB / 0.5681 GB, free: 12.46 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001965/0.3482, allocations: 193.5 kB / 0.5683 GB, free: 12.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3482, allocations: 0 / 0.5683 GB, free: 12.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002954/0.3485, allocations: 35.92 kB / 0.5683 GB, free: 12.24 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.002592/0.3511, allocations: 1.177 MB / 0.5695 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002402/0.3513, allocations: 79.91 kB / 0.5696 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3513, allocations: 0 / 0.5696 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.3515, allocations: 47.86 kB / 0.5696 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003747/0.3518, allocations: 39 kB / 0.5696 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002509/0.3544, allocations: 1.961 MB / 0.5716 GB, free: 9 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003898/0.3547, allocations: 0.7162 MB / 0.5722 GB, free: 8.258 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.289e-05/0.3548, allocations: 33.06 kB / 0.5723 GB, free: 8.227 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.209e-05/0.3549, allocations: 51.41 kB / 0.5723 GB, free: 8.176 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3549, allocations: 0 / 0.5723 GB, free: 8.176 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03478/0.3897, allocations: 4.397 MB / 0.5766 GB, free: 3.828 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.46, allocations: 6.094 kB / 0.5766 GB, free: 3.824 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.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.575654062908143]