Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.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.0014/0.0014, allocations: 112.7 kB / 20.43 MB, free: 1.453 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.001517/0.001517, allocations: 214 kB / 23.74 MB, free: 4.66 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.474/1.474, allocations: 230.5 MB / 257.4 MB, free: 8 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.2659/0.2659, allocations: 46.92 MB / 360.8 MB, free: 4.281 MB / 286.1 MB " [Timeout remaining time 179] 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.Test71,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002294/0.002294, allocations: 79.88 kB / 0.4963 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.3272, allocations: 66.09 MB / 0.5608 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003527/0.3307, allocations: 1.831 MB / 0.5626 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001996/0.3327, allocations: 1.121 MB / 0.5637 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.825e-05/0.3328, allocations: 7.938 kB / 0.5637 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005314/0.3333, allocations: 307.3 kB / 0.564 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000486/0.3338, allocations: 263.2 kB / 0.5642 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000255/0.334, allocations: 111.6 kB / 0.5643 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003512/0.3344, allocations: 267.2 kB / 0.5646 GB, free: 364 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.528e-05/0.3345, allocations: 9.797 kB / 0.5646 GB, free: 352 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002184/0.3347, allocations: 135.5 kB / 0.5647 GB, free: 216 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002876/0.335, allocations: 219.6 kB / 0.5649 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.466e-05/0.335, allocations: 8 kB / 0.5649 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.3351, allocations: 43.98 kB / 0.565 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001638/0.3353, allocations: 143.4 kB / 0.5651 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001448/0.3354, allocations: 150.8 kB / 0.5653 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004666/0.3359, allocations: 387.9 kB / 0.5656 GB, free: 15.28 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3359, allocations: 0 / 0.5656 GB, free: 15.28 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3359, allocations: 0 / 0.5656 GB, free: 15.28 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.814e-06/0.3359, allocations: 0 / 0.5656 GB, free: 15.28 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001027/0.3369, allocations: 0.6863 MB / 0.5663 GB, free: 14.56 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.337, allocations: 12.03 kB / 0.5663 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.709e-05/0.337, allocations: 30.75 kB / 0.5663 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.03e-05/0.3371, allocations: 56.59 kB / 0.5664 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006655/0.3377, allocations: 402.5 kB / 0.5668 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.3378, allocations: 8.359 kB / 0.5668 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.3378, allocations: 8.359 kB / 0.5668 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000209/0.338, allocations: 91.44 kB / 0.5669 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.338, allocations: 0 / 0.5669 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.338, allocations: 0 / 0.5669 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.338, allocations: 0 / 0.5669 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.3381, allocations: 31.97 kB / 0.5669 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004271/0.3385, allocations: 353.4 kB / 0.5673 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002724/0.3388, allocations: 101.2 kB / 0.5674 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.619e-05/0.3389, allocations: 41.69 kB / 0.5674 GB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.3389, allocations: 4 kB / 0.5674 GB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002914/0.3392, allocations: 109 kB / 0.5675 GB, free: 13.2 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.3392, allocations: 4 kB / 0.5675 GB, free: 13.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.000496/0.3397, allocations: 201.2 kB / 0.5677 GB, free: 13 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.855e-05/0.3398, allocations: 81.09 kB / 0.5678 GB, free: 12.9 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001175/0.3409, allocations: 1.054 MB / 0.5688 GB, free: 11.83 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.341, allocations: 25.7 kB / 0.5688 GB, free: 11.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001873/0.3412, allocations: 240.1 kB / 0.5691 GB, free: 11.56 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.579e-05/0.3412, allocations: 27.8 kB / 0.5691 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.72e-05/0.3412, allocations: 25.72 kB / 0.5691 GB, free: 11.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001863/0.3414, allocations: 378.8 kB / 0.5695 GB, free: 11.12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.904e-05/0.3415, allocations: 31.98 kB / 0.5695 GB, free: 11.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.474e-05/0.3416, allocations: 51.42 kB / 0.5695 GB, free: 11.03 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000182/0.3418, allocations: 91.84 kB / 0.5696 GB, free: 10.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3418, allocations: 4 kB / 0.5696 GB, free: 10.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003071/0.3421, allocations: 181.1 kB / 0.5698 GB, free: 10.74 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.3421, allocations: 7.938 kB / 0.5698 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.3421, allocations: 7.938 kB / 0.5698 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.3421, allocations: 0 / 0.5698 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.3423, allocations: 19.98 kB / 0.5698 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.866e-05/0.3423, allocations: 4 kB / 0.5698 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.706e-05/0.3424, allocations: 11.92 kB / 0.5699 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.3424, allocations: 12.06 kB / 0.5699 GB, free: 10.68 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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.0002242/0.3426, allocations: 219.9 kB / 0.5701 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.076e-05/0.3427, allocations: 63.55 kB / 0.5701 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003887/0.3431, allocations: 197.8 kB / 0.5703 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3431, allocations: 0 / 0.5703 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.3431, allocations: 4 kB / 0.5703 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.3431, allocations: 0 / 0.5703 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003263/0.3434, allocations: 316.8 kB / 0.5706 GB, free: 9.836 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/0.3434, allocations: 11.94 kB / 0.5706 GB, free: 9.824 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.55e-05/0.3435, allocations: 11.98 kB / 0.5707 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3435, allocations: 0 / 0.5707 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.3435, allocations: 8 kB / 0.5707 GB, free: 9.805 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3435, allocations: 0 / 0.5707 GB, free: 9.805 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3435, allocations: 0 / 0.5707 GB, free: 9.805 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003433/0.3438, allocations: 217.4 kB / 0.5709 GB, free: 9.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001362/0.344, allocations: 75.53 kB / 0.5709 GB, free: 9.496 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.786e-05/0.344, allocations: 7.984 kB / 0.571 GB, free: 9.488 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.357e-05/0.3441, allocations: 8 kB / 0.571 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.964e-05/0.3441, allocations: 7.984 kB / 0.571 GB, free: 9.473 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.3441, allocations: 4 kB / 0.571 GB, free: 9.469 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008502/0.345, allocations: 0.7839 MB / 0.5717 GB, free: 8.688 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.345, allocations: 0 / 0.5717 GB, free: 8.688 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002656/0.3453, allocations: 47.98 kB / 0.5718 GB, free: 8.641 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.002063/0.3473, allocations: 1.056 MB / 0.5728 GB, free: 7.691 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002473/0.3476, allocations: 83.89 kB / 0.5729 GB, free: 7.609 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.3476, allocations: 4.125 kB / 0.5729 GB, free: 7.605 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.3477, allocations: 39.92 kB / 0.5729 GB, free: 7.566 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004093/0.3481, allocations: 68.95 kB / 0.573 GB, free: 7.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005593/0.3537, allocations: 4.567 MB / 0.5775 GB, free: 2.828 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004989/0.3542, allocations: 0.8546 MB / 0.5783 GB, free: 1.949 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001215/0.3543, allocations: 59.44 kB / 0.5784 GB, free: 1.887 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001959/0.3545, allocations: 151.4 kB / 0.5785 GB, free: 1.742 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3545, allocations: 0 / 0.5785 GB, free: 1.742 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03823/0.3927, allocations: 9.382 MB / 0.5877 GB, free: 8.395 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.09, allocations: 8 kB / 0.5877 GB, free: 8.387 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test71_fmu --startTime=0 --stopTime=8000 --stepSize=1.57542 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.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.186948238871992]