Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.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.001589/0.001589, allocations: 111.1 kB / 20.44 MB, free: 1.199 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.001713/0.001713, allocations: 206.4 kB / 23.73 MB, free: 4.414 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.404/1.404, allocations: 230.5 MB / 257.4 MB, free: 7.77 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.2216/0.2216, allocations: 46.95 MB / 360.8 MB, free: 3.938 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.Test68,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002403/0.002403, allocations: 75.88 kB / 0.4962 GB, free: 7.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.314, allocations: 66.09 MB / 0.5607 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003461/0.3175, allocations: 1.786 MB / 0.5625 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001959/0.3195, allocations: 1.045 MB / 0.5635 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.532e-05/0.3195, allocations: 0 / 0.5635 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005763/0.3201, allocations: 299.3 kB / 0.5638 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004839/0.3206, allocations: 263.2 kB / 0.5641 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003034/0.3209, allocations: 107.6 kB / 0.5642 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003601/0.3213, allocations: 259.3 kB / 0.5644 GB, free: 260 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.393e-05/0.3213, allocations: 5.812 kB / 0.5644 GB, free: 252 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001853/0.3215, allocations: 131.6 kB / 0.5645 GB, free: 120 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002944/0.3218, allocations: 215.8 kB / 0.5647 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.913e-05/0.3218, allocations: 8 kB / 0.5647 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.322, allocations: 47.98 kB / 0.5648 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001511/0.3221, allocations: 136.5 kB / 0.5649 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001268/0.3222, allocations: 111 kB / 0.565 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004543/0.3227, allocations: 380.1 kB / 0.5654 GB, free: 15.24 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3227, allocations: 0 / 0.5654 GB, free: 15.24 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3227, allocations: 0 / 0.5654 GB, free: 15.24 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.3227, allocations: 0 / 0.5654 GB, free: 15.24 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.001026/0.3237, allocations: 0.6708 MB / 0.566 GB, free: 14.54 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.3238, allocations: 8.031 kB / 0.5661 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.263e-05/0.3238, allocations: 42.73 kB / 0.5661 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.756e-05/0.3239, allocations: 52.55 kB / 0.5661 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006594/0.3246, allocations: 394.5 kB / 0.5665 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.3246, allocations: 384 / 0.5665 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.3246, allocations: 4.375 kB / 0.5665 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002151/0.3248, allocations: 91.48 kB / 0.5666 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.3248, allocations: 0 / 0.5666 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.3248, allocations: 4 kB / 0.5666 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.3248, allocations: 0 / 0.5666 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.325, allocations: 39.91 kB / 0.5667 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004049/0.3254, allocations: 333.5 kB / 0.567 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002811/0.3256, allocations: 109.2 kB / 0.5671 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.3258, allocations: 37.7 kB / 0.5671 GB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.3258, allocations: 0 / 0.5671 GB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002547/0.326, allocations: 112.9 kB / 0.5672 GB, free: 13.2 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.326, allocations: 0 / 0.5672 GB, free: 13.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005225/0.3265, allocations: 213.2 kB / 0.5674 GB, free: 12.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.585e-05/0.3266, allocations: 85.05 kB / 0.5675 GB, free: 12.88 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/0.3278, allocations: 1.034 MB / 0.5685 GB, free: 11.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/0.3278, allocations: 33.7 kB / 0.5685 GB, free: 11.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002064/0.328, allocations: 232.1 kB / 0.5688 GB, free: 11.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.449e-05/0.3281, allocations: 19.86 kB / 0.5688 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.219e-05/0.3281, allocations: 29.7 kB / 0.5688 GB, free: 11.51 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002074/0.3283, allocations: 366.8 kB / 0.5692 GB, free: 11.14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.925e-05/0.3284, allocations: 27.98 kB / 0.5692 GB, free: 11.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.3286, allocations: 67.41 kB / 0.5693 GB, free: 11.04 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001977/0.3287, allocations: 95.34 kB / 0.5693 GB, free: 10.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.3288, allocations: 0 / 0.5693 GB, free: 10.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003603/0.3291, allocations: 181.7 kB / 0.5695 GB, free: 10.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.3291, allocations: 8 kB / 0.5695 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.3291, allocations: 0 / 0.5695 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.3292, allocations: 0 / 0.5695 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.3293, allocations: 27.92 kB / 0.5696 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/0.3293, allocations: 64 / 0.5696 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.3294, allocations: 23.95 kB / 0.5696 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.3294, allocations: 7.938 kB / 0.5696 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.0002432/0.3296, allocations: 218.7 kB / 0.5698 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.079e-05/0.3297, allocations: 59.59 kB / 0.5698 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004253/0.3301, allocations: 201.8 kB / 0.57 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.3301, allocations: 0 / 0.57 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3301, allocations: 0 / 0.57 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.3301, allocations: 0 / 0.57 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003424/0.3305, allocations: 292.6 kB / 0.5703 GB, free: 9.867 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.3305, allocations: 7.938 kB / 0.5703 GB, free: 9.859 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.115e-05/0.3305, allocations: 15.92 kB / 0.5703 GB, free: 9.844 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.3305, allocations: 4 kB / 0.5703 GB, free: 9.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.3306, allocations: 4 kB / 0.5704 GB, free: 9.836 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.3306, allocations: 4 kB / 0.5704 GB, free: 9.832 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3306, allocations: 0 / 0.5704 GB, free: 9.832 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003712/0.3309, allocations: 213.6 kB / 0.5706 GB, free: 9.602 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001578/0.3311, allocations: 71.53 kB / 0.5706 GB, free: 9.531 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.328e-05/0.3312, allocations: 4 kB / 0.5706 GB, free: 9.527 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.191e-05/0.3312, allocations: 11.88 kB / 0.5706 GB, free: 9.516 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.111e-05/0.3313, allocations: 19.92 kB / 0.5707 GB, free: 9.496 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.051e-05/0.3313, allocations: 7.984 kB / 0.5707 GB, free: 9.488 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009427/0.3322, allocations: 0.7643 MB / 0.5714 GB, free: 8.727 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3322, allocations: 0 / 0.5714 GB, free: 8.727 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002845/0.3325, allocations: 51.98 kB / 0.5715 GB, free: 8.676 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.00235/0.3349, allocations: 1.086 MB / 0.5725 GB, free: 7.711 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002774/0.3352, allocations: 87.83 kB / 0.5726 GB, free: 7.625 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3352, allocations: 4.125 kB / 0.5726 GB, free: 7.621 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.3353, allocations: 35.98 kB / 0.5726 GB, free: 7.586 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004521/0.3357, allocations: 70.75 kB / 0.5727 GB, free: 7.516 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005898/0.3416, allocations: 4.495 MB / 0.5771 GB, free: 2.914 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.3419, allocations: 241.8 kB / 0.5773 GB, free: 2.656 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001327/0.342, allocations: 54.95 kB / 0.5774 GB, free: 2.605 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002154/0.3422, allocations: 147.4 kB / 0.5775 GB, free: 2.465 MB / 414.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3422, allocations: 4 kB / 0.5775 GB, free: 2.461 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03826/0.3805, allocations: 9.842 MB / 0.5871 GB, free: 8.648 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.64, allocations: 2.344 kB / 0.5871 GB, free: 8.648 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68_fmu --startTime=0 --stopTime=8000 --stepSize=1.56403 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.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.559268907178193]